|
|
@ -24,6 +24,7 @@ bool hashmap_oom(struct hashmap *map);
|
|
|
|
void *hashmap_get(struct hashmap *map, void *item);
|
|
|
|
void *hashmap_get(struct hashmap *map, void *item);
|
|
|
|
void *hashmap_set(struct hashmap *map, void *item);
|
|
|
|
void *hashmap_set(struct hashmap *map, void *item);
|
|
|
|
void *hashmap_delete(struct hashmap *map, void *item);
|
|
|
|
void *hashmap_delete(struct hashmap *map, void *item);
|
|
|
|
|
|
|
|
void *hashmap_probe(struct hashmap *map, uint64_t position);
|
|
|
|
bool hashmap_scan(struct hashmap *map,
|
|
|
|
bool hashmap_scan(struct hashmap *map,
|
|
|
|
bool (*iter)(const void *item, void *udata), void *udata);
|
|
|
|
bool (*iter)(const void *item, void *udata), void *udata);
|
|
|
|
void hashmap_set_allocator(void *(*malloc)(size_t), void (*free)(void*));
|
|
|
|
void hashmap_set_allocator(void *(*malloc)(size_t), void (*free)(void*));
|
|
|
|