diff options
author | antirez <antirez@gmail.com> | 2011-02-28 09:56:48 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-02-28 09:56:48 +0100 |
commit | 2cc993655f2c7da5f893e6f628f6c34f6204c3d3 (patch) | |
tree | 24008bc469d815740a8fa7935f57d424cd359b4e /src/zipmap.h | |
parent | 419e1cca74102440d5ce174fbbf36d81a9b8956a (diff) | |
download | redis-2cc993655f2c7da5f893e6f628f6c34f6204c3d3.tar.gz |
save zipmap encoded hashes as blobs. Work in progress.
Diffstat (limited to 'src/zipmap.h')
-rw-r--r-- | src/zipmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zipmap.h b/src/zipmap.h index e5f6c9f28..acb25d67a 100644 --- a/src/zipmap.h +++ b/src/zipmap.h @@ -43,6 +43,7 @@ unsigned char *zipmapNext(unsigned char *zm, unsigned char **key, unsigned int * int zipmapGet(unsigned char *zm, unsigned char *key, unsigned int klen, unsigned char **value, unsigned int *vlen); int zipmapExists(unsigned char *zm, unsigned char *key, unsigned int klen); unsigned int zipmapLen(unsigned char *zm); +size_t zipmapBlobLen(unsigned char *zm); void zipmapRepr(unsigned char *p); #endif |