"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ziplist.h" between
redis-6.2-rc3.tar.gz and redis-6.2.0.tar.gz

About: redis is an advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

ziplist.h  (redis-6.2-rc3):ziplist.h  (redis-6.2.0)
skipping to change at line 56 skipping to change at line 56
unsigned char *ziplistNew(void); unsigned char *ziplistNew(void);
unsigned char *ziplistMerge(unsigned char **first, unsigned char **second); unsigned char *ziplistMerge(unsigned char **first, unsigned char **second);
unsigned char *ziplistPush(unsigned char *zl, unsigned char *s, unsigned int sle n, int where); unsigned char *ziplistPush(unsigned char *zl, unsigned char *s, unsigned int sle n, int where);
unsigned char *ziplistIndex(unsigned char *zl, int index); unsigned char *ziplistIndex(unsigned char *zl, int index);
unsigned char *ziplistNext(unsigned char *zl, unsigned char *p); unsigned char *ziplistNext(unsigned char *zl, unsigned char *p);
unsigned char *ziplistPrev(unsigned char *zl, unsigned char *p); unsigned char *ziplistPrev(unsigned char *zl, unsigned char *p);
unsigned int ziplistGet(unsigned char *p, unsigned char **sval, unsigned int *sl en, long long *lval); unsigned int ziplistGet(unsigned char *p, unsigned char **sval, unsigned int *sl en, long long *lval);
unsigned char *ziplistInsert(unsigned char *zl, unsigned char *p, unsigned char *s, unsigned int slen); unsigned char *ziplistInsert(unsigned char *zl, unsigned char *p, unsigned char *s, unsigned int slen);
unsigned char *ziplistDelete(unsigned char *zl, unsigned char **p); unsigned char *ziplistDelete(unsigned char *zl, unsigned char **p);
unsigned char *ziplistDeleteRange(unsigned char *zl, int index, unsigned int num ); unsigned char *ziplistDeleteRange(unsigned char *zl, int index, unsigned int num );
unsigned char *ziplistReplace(unsigned char *zl, unsigned char *p, unsigned char *s, unsigned int slen);
unsigned int ziplistCompare(unsigned char *p, unsigned char *s, unsigned int sle n); unsigned int ziplistCompare(unsigned char *p, unsigned char *s, unsigned int sle n);
unsigned char *ziplistFind(unsigned char *zl, unsigned char *p, unsigned char *v str, unsigned int vlen, unsigned int skip); unsigned char *ziplistFind(unsigned char *zl, unsigned char *p, unsigned char *v str, unsigned int vlen, unsigned int skip);
unsigned int ziplistLen(unsigned char *zl); unsigned int ziplistLen(unsigned char *zl);
size_t ziplistBlobLen(unsigned char *zl); size_t ziplistBlobLen(unsigned char *zl);
void ziplistRepr(unsigned char *zl); void ziplistRepr(unsigned char *zl);
typedef int (*ziplistValidateEntryCB)(unsigned char* p, void* userdata); typedef int (*ziplistValidateEntryCB)(unsigned char* p, void* userdata);
int ziplistValidateIntegrity(unsigned char *zl, size_t size, int deep, int ziplistValidateIntegrity(unsigned char *zl, size_t size, int deep,
ziplistValidateEntryCB entry_cb, void *cb_userdata) ; ziplistValidateEntryCB entry_cb, void *cb_userdata) ;
void ziplistRandomPair(unsigned char *zl, unsigned long total_count, ziplistEntr y *key, ziplistEntry *val); void ziplistRandomPair(unsigned char *zl, unsigned long total_count, ziplistEntr y *key, ziplistEntry *val);
void ziplistRandomPairs(unsigned char *zl, int count, ziplistEntry *keys, ziplis void ziplistRandomPairs(unsigned char *zl, unsigned int count, ziplistEntry *key
tEntry *vals); s, ziplistEntry *vals);
unsigned int ziplistRandomPairsUnique(unsigned char *zl, unsigned int count, zip
listEntry *keys, ziplistEntry *vals);
#ifdef REDIS_TEST #ifdef REDIS_TEST
int ziplistTest(int argc, char *argv[]); int ziplistTest(int argc, char *argv[]);
#endif #endif
#endif /* _ZIPLIST_H */ #endif /* _ZIPLIST_H */
 End of changes. 2 change blocks. 
2 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)