]> git.saurik.com Git - redis.git/blame - src/util.h
popcount() optimization for speed.
[redis.git] / src / util.h
CommitLineData
5d081931
PN
1#ifndef __REDIS_UTIL_H
2#define __REDIS_UTIL_H
3
4int stringmatchlen(const char *p, int plen, const char *s, int slen, int nocase);
5int stringmatch(const char *p, const char *s, int nocase);
6long long memtoll(const char *p, int *err);
7int ll2string(char *s, size_t len, long long value);
9ea54fee
PN
8int string2ll(const char *s, size_t slen, long long *value);
9int string2l(const char *s, size_t slen, long *value);
5d081931
PN
10int d2string(char *buf, size_t len, double value);
11
12#endif