]> git.saurik.com Git - redis.git/blob - src/util.h
Protections against protocol desyncs, leading to infinite query buffer growing, due...
[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(char *s, size_t slen, long long *value);
9 int string2l(char *s, size_t slen, long *value);
10 int d2string(char *buf, size_t len, double value);
11
12 #endif