-unsigned int ziplistGet(unsigned char *p, unsigned char **e, unsigned int *elen, long long *v);
-unsigned char *ziplistDelete(unsigned char *zl, unsigned char **p);
+unsigned char *ziplistPrev(unsigned char *p);
+unsigned int ziplistGet(unsigned char *p, char **sstr, unsigned int *slen, long long *sval);
+unsigned char *ziplistInsert(unsigned char *zl, unsigned char *p, char *s, unsigned int slen);
+unsigned char *ziplistDelete(unsigned char *zl, unsigned char **p, int direction);