14# define PRIV_HASHMAP_H
bool hashmap_resize(t_hashmap *map)
Doubles the bucket capacity and rehashes every stored pair.
Definition resize.c:58
bool hashmap_insert(t_hashmap *map, t_key_value *new)
Inserts a pair into the map, or replaces an existing one.
Definition insert.c:16
size_t hash_string(const char *key)
Default string hash function (djb2).
Definition hash_function.c:15
bool hashmap_need_resize(t_hashmap *map, const char *key)
Definition resize.c:17
Separate-chaining hash map keyed by NUL-terminated strings.
Definition libft.h:216
Key/value pair stored inside a hashmap bucket.
Definition libft.h:192