Go to the source code of this file.
|
void | mhash_init (mhash_t *h, uword n_value_bytes, uword n_key_bytes) |
|
static void | mhash_init_c_string (mhash_t *h, uword n_value_bytes) |
|
static void | mhash_init_vec_string (mhash_t *h, uword n_value_bytes) |
|
static void * | mhash_key_to_mem (mhash_t *h, uword key) |
|
hash_pair_t * | mhash_get_pair (mhash_t *h, void *key) |
|
uword | mhash_set_mem (mhash_t *h, void *key, uword *new_value, uword *old_value) |
|
uword | mhash_unset (mhash_t *h, void *key, uword *old_value) |
|
static uword * | mhash_get (mhash_t *h, void *key) |
|
static uword | mhash_set (mhash_t *h, void *key, uword new_value, uword *old_value) |
|
static uword | mhash_unset_key (mhash_t *h, uword key, uword *old_value) |
|
static uword | mhash_value_bytes (mhash_t *m) |
|
static uword | mhash_elts (mhash_t *m) |
|
static uword | mhash_key_vector_is_heap (mhash_t *h) |
|
static void | mhash_free (mhash_t *h) |
|
#define MHASH_C_STRING_KEY 1 |
#define mhash_foreach |
( |
|
k, |
|
|
|
v, |
|
|
|
mh, |
|
|
|
body |
|
) |
| |
Value:do { \
hash_pair_t * _mhash_foreach_p;
\ (v) = &_mhash_foreach_p->value[0]; \
body; \
})); \
} while (0)
#define hash_foreach_pair(p, v, body)
static void * mhash_key_to_mem(mhash_t *h, uword key)
Definition at line 159 of file mhash.h.
#define MHASH_VEC_STRING_KEY 0 |
static void mhash_free |
( |
mhash_t * |
h | ) |
|
|
inlinestatic |
static void mhash_init_c_string |
( |
mhash_t * |
h, |
|
|
uword |
n_value_bytes |
|
) |
| |
|
inlinestatic |
static void mhash_init_vec_string |
( |
mhash_t * |
h, |
|
|
uword |
n_value_bytes |
|
) |
| |
|
inlinestatic |