]>
git.saurik.com Git - redis.git/blob - ziplist.h
4 unsigned char *ziplistNew(void);
5 unsigned char *ziplistPush(unsigned char *zl
, unsigned char *entry
, unsigned int elen
, int where
);
6 unsigned char *ziplistPop(unsigned char *zl
, sds
*target
, int where
);
7 unsigned char *ziplistIndex(unsigned char *zl
, unsigned int index
);
8 unsigned char *ziplistNext(unsigned char *p
);
9 unsigned int ziplistGet(unsigned char *p
, unsigned char **e
, unsigned int *elen
, long long *v
);
10 unsigned char *ziplistDelete(unsigned char *zl
, unsigned char **p
);
11 unsigned char *ziplistDeleteRange(unsigned char *zl
, unsigned int index
, unsigned int num
);
12 unsigned int ziplistCompare(unsigned char *p
, unsigned char *entry
, unsigned int elen
);
13 unsigned int ziplistLen(unsigned char *zl
);
14 unsigned int ziplistSize(unsigned char *zl
);