Return 1 if the key exists, otherwise 0 is returned. */
| 347 | |
| 348 | /* Return 1 if the key exists, otherwise 0 is returned. */ |
| 349 | int zipmapExists(unsigned char *zm, unsigned char *key, unsigned int klen) { |
| 350 | return zipmapLookupRaw(zm,key,klen,NULL) != NULL; |
| 351 | } |
| 352 | |
| 353 | /* Return the number of entries inside a zipmap */ |
| 354 | unsigned int zipmapLen(unsigned char *zm) { |
nothing calls this directly
no test coverage detected