]> git.saurik.com Git - redis.git/blob - src/util.h
Merge pull request #449 from ErikDubbelboer/unstable
[redis.git] / src / util.h
1 #ifndef __REDIS_UTIL_H
2 #define __REDIS_UTIL_H
3
4 int stringmatchlen(const char *p, int plen, const char *s, int slen, int nocase);
5 int stringmatch(const char *p, const char *s, int nocase);
6 long long memtoll(const char *p, int *err);
7 int ll2string(char *s, size_t len, long long value);
8 int string2ll(const char *s, size_t slen, long long *value);
9 int string2l(const char *s, size_t slen, long *value);
10 int d2string(char *buf, size_t len, double value);
11
12 #endif