X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/3ea204e1031a94dafca7f7e4eed2f79ec3bd7fd0..69298a05eb23cbbf60f9008faa2e11866ab4352a:/src/redis.h diff --git a/src/redis.h b/src/redis.h index 9f53583e..8ed7216d 100644 --- a/src/redis.h +++ b/src/redis.h @@ -799,6 +799,9 @@ void backgroundRewriteDoneHandler(int exitcode, int bysignal); zskiplist *zslCreate(void); void zslFree(zskiplist *zsl); zskiplistNode *zslInsert(zskiplist *zsl, double score, robj *obj); +unsigned char *zzlInsert(unsigned char *zl, robj *ele, double score); +unsigned int zsetLength(robj *zobj); +void zsetConvert(robj *zobj, int encoding); /* Core functions */ void freeMemoryIfNeeded(void); @@ -894,6 +897,7 @@ int stringmatchlen(const char *pattern, int patternLen, int stringmatch(const char *pattern, const char *string, int nocase); long long memtoll(const char *p, int *err); int ll2string(char *s, size_t len, long long value); +int string2ll(char *s, size_t len, long long *value); int d2string(char *s, size_t len, double value); int isStringRepresentableAsLong(sds s, long *longval); int isStringRepresentableAsLongLong(sds s, long long *longval);