78 uint32_t(*hash)(
const void *a),
79 int(*equals)(
const void *a,
const void *b));
164 int zhash_put(
zhash_t *
zh,
const void *key,
const void *value,
void *oldkey,
void *oldvalue);
389 char *oldkey, *oldval;
390 if (
zhash_put(zh, &key, &value, &oldkey, &oldval)) {
415 uint32_t a = *((
int*) _a);
424 int a = *((
int*) _a);
425 int b = *((
int*) _b);
zarray_t * zhash_values(const zhash_t *zh)
int zhash_get_volatile(const zhash_t *zh, const void *key, void *out_p)
int zhash_str_equals(const void *a, const void *b)
zarray_t * zhash_keys(const zhash_t *zh)
void zhash_iterator_init_const(const zhash_t *zh, zhash_iterator_t *zit)
void zhash_vmap_values(zhash_t *vh, void(*f)())
uint32_t zhash_ptr_hash(const void *a)
int zhash_contains(const zhash_t *zh, const void *key)
int zhash_uint32_equals(const void *a, const void *b)
void zhash_iterator_remove(zhash_iterator_t *zit)
void zhash_clear(zhash_t *zh)
int zhash_size(const zhash_t *zh)
void zhash_destroy(zhash_t *zh)
void zhash_map_keys(zhash_t *zh, void(*f)())
static zhash_t * zhash_str_str_create(void)
uint32_t zhash_str_hash(const void *a)
void zhash_debug(zhash_t *zh)
int zhash_iterator_next(zhash_iterator_t *zit, void *outkey, void *outvalue)
int zhash_put(zhash_t *zh, const void *key, const void *value, void *oldkey, void *oldvalue)
int zhash_iterator_next_volatile(zhash_iterator_t *zit, void *outkey, void *outvalue)
int zhash_remove(zhash_t *zh, const void *key, void *oldkey, void *oldvalue)
static int zhash_int_equals(const void *_a, const void *_b)
void zhash_map_values(zhash_t *zh, void(*f)())
int zhash_get(const zhash_t *zh, const void *key, void *out_value)
static void zhash_str_str_put(zhash_t *zh, char *key, char *value)
static char * zhash_str_str_get(zhash_t *zh, const char *key)
int zhash_uint64_equals(const void *a, const void *b)
void zhash_vmap_keys(zhash_t *vh, void(*f)())
static void zhash_str_str_destroy(zhash_t *zh)
static uint32_t zhash_int_hash(const void *_a)
uint32_t zhash_uint64_hash(const void *a)
zhash_t * zhash_copy(const zhash_t *other)
uint32_t zhash_uint32_hash(const void *a)
void zhash_iterator_init(zhash_t *zh, zhash_iterator_t *zit)
zhash_t * zhash_create(size_t keysz, size_t valuesz, uint32_t(*hash)(const void *a), int(*equals)(const void *a, const void *b))
int zhash_ptr_equals(const void *a, const void *b)