Data Fields | |
size_t | size |
size_t | max |
u_hmap_type_t | type |
u_hmap_pcy_type_t | policy |
int | options |
size_t(* | f_hash )(void *key, size_t buckets) |
int(* | f_comp )(void *k1, void *k2) |
void(* | f_free )(u_hmap_o_t *obj) |
u_string_t *(* | f_str )(u_hmap_o_t *obj) |
Definition at line 62 of file hmap.h.
|
function for key comparison Referenced by u_hmap_opts_init(). |
|
function for freeing an object Referenced by u_hmap_opts_dbg(), and u_hmap_opts_init(). |
|
hash function to be used in hashhmap Referenced by u_hmap_opts_init(). |
|
function to get a string representation of a (key, val) object Referenced by u_hmap_opts_init(). |
|
approximate size of hashhmap array maximum number of elements in hmap - only applies to hmaps with discard policy Definition at line 64 of file hmap.h. Referenced by u_hmap_opts_dbg(), and u_hmap_opts_init(). |
|
see definitions for U_HMAP_OPTS_* Definition at line 72 of file hmap.h. Referenced by u_hmap_opts_dbg(), and u_hmap_opts_init(). |
|
discard policy (disabled by default) Definition at line 70 of file hmap.h. Referenced by u_hmap_opts_dbg(), and u_hmap_opts_init(). |
|
approximate size of hashhmap array Definition at line 64 of file hmap.h. Referenced by u_hmap_opts_dbg(), and u_hmap_opts_init(). |
|
type of hashmap Definition at line 68 of file hmap.h. Referenced by u_hmap_opts_init(). |