X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/e2641e09cc0daf44f63f654230f72d22acf3a9af..1858da2faae3b6a8becf4f7eef3f712d6e4b986b:/src/ziplist.h?ds=sidebyside diff --git a/src/ziplist.h b/src/ziplist.h index 31125725..865b38b4 100644 --- a/src/ziplist.h +++ b/src/ziplist.h @@ -11,5 +11,6 @@ unsigned char *ziplistInsert(unsigned char *zl, unsigned char *p, unsigned char unsigned char *ziplistDelete(unsigned char *zl, unsigned char **p); unsigned char *ziplistDeleteRange(unsigned char *zl, unsigned int index, unsigned int num); unsigned int ziplistCompare(unsigned char *p, unsigned char *s, unsigned int slen); +unsigned char *ziplistFind(unsigned char *p, unsigned char *vstr, unsigned int vlen, unsigned int skip); unsigned int ziplistLen(unsigned char *zl); -unsigned int ziplistSize(unsigned char *zl); +size_t ziplistBlobLen(unsigned char *zl);