]> git.saurik.com Git - redis.git/blame - src/util.h
Now HINCRBY can detect overflows too. Fix for issue #330.
[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);
8int string2ll(char *s, size_t slen, long long *value);
9int string2l(char *s, size_t slen, long *value);
10int d2string(char *buf, size_t len, double value);
11
12#endif