aboutsummaryrefslogtreecommitdiff
path: root/hashmap.h
blob: a37d3d655ce4bc0eae3ebddf5023f2c2803239fd (plain)
1
2
3
4
5
6
7
8
9
10
struct hashmap {
    struct node *buckets[26];
};

void hashmap_insert(struct hashmap *hm, char *key, void *value);
void *hashmap_get(struct hashmap *hm, char *key);
void hashmap_remove(char *key);
struct hashmap *hashmap_new();
void hashmap_free(struct hashmap *hm);