]> git.saurik.com Git - redis.git/blame_incremental - src/util.h
MIGRATE now let the client distinguish I/O errors and timeouts from other erros.
[redis.git] / src / util.h
... / ...
CommitLineData
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(const char *s, size_t slen, long long *value);
9int string2l(const char *s, size_t slen, long *value);
10int d2string(char *buf, size_t len, double value);
11
12#endif