diff --git a/hashmap.h b/hashmap.h index fa4a129..b5c146e 100644 --- a/hashmap.h +++ b/hashmap.h @@ -36,7 +36,9 @@ void hashmap_clear(struct hashmap *map, bool update_cap); size_t hashmap_count(struct hashmap *map); bool hashmap_oom(struct hashmap *map); void *hashmap_get(struct hashmap *map, const void *item); +void *hashmap_get_by_hash(struct hashmap *map, const void *item); void *hashmap_set(struct hashmap *map, const void *item); +void *hashmap_set_by_hash(struct hashmap *map, const void *key, const 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,