A simple uint64_t key to a void pointer hashmap.
Definition: u_hashmap.cpp:22
int u_hashmap_int_insert(struct u_hashmap_int *hmi, uint64_t key, void *value)
Definition: u_hashmap.cpp:63
void u_hashmap_int_clear_and_call_for_each(struct u_hashmap_int *hmi, u_hashmap_int_callback cb, void *priv)
First clear the hashmap and then call the given callback with each item that was in the hashmap...
Definition: u_hashmap.cpp:77
int u_hashmap_int_destroy(struct u_hashmap_int **hmi)
Definition: u_hashmap.cpp:43
int u_hashmap_int_erase(struct u_hashmap_int *hmi, uint64_t key)
Definition: u_hashmap.cpp:70
int u_hashmap_int_find(struct u_hashmap_int *hmi, uint64_t key, void **out_item)
Definition: u_hashmap.cpp:51
Header holding common defines.
void(* u_hashmap_int_callback)(void *item, void *priv)
Definition: u_hashmap.h:27
int u_hashmap_int_create(struct u_hashmap_int **out_hashmap)
Definition: u_hashmap.cpp:35