From 3829a704150a06b2767d542b39179377a592da0f Mon Sep 17 00:00:00 2001 From: Flavian Kaufmann Date: Tue, 20 May 2025 10:29:33 +0200 Subject: folder structure --- include/hash_map.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/hash_map.h (limited to 'include/hash_map.h') diff --git a/include/hash_map.h b/include/hash_map.h new file mode 100644 index 0000000..ad873f8 --- /dev/null +++ b/include/hash_map.h @@ -0,0 +1,12 @@ +#ifndef HASH_MAP_H +#define HASH_MAP_H + +typedef void *hashmap_t; + +hashmap_t hashmap_create(void); +void hashmap_insert(hashmap_t map, const char *key, int value); +int *hashmap_get(hashmap_t map, const char *key); +void hashmap_delete(hashmap_t map, const char *key); +void hashmap_free(hashmap_t map); + +#endif \ No newline at end of file -- cgit v1.2.3