summaryrefslogtreecommitdiff
path: root/rushs/evalexpr/hash_map/hash_map.h
diff options
context:
space:
mode:
authorMartial Simon <msimon_fr@hotmail.com>2025-10-11 22:19:00 +0200
committerMartial Simon <msimon_fr@hotmail.com>2025-10-11 22:19:00 +0200
commit73c2b00a10c5786ddeeacc915e233fd4df1c9321 (patch)
treee299ea4e8ac161b2b21170172ff8f182c1c3fe1a /rushs/evalexpr/hash_map/hash_map.h
parentc9b6b9a5ca082fe7c1b6f58d7713f785a9eb6a5c (diff)
fix: evalexpr & tinyprintf contenaient toute la piscine
Diffstat (limited to 'rushs/evalexpr/hash_map/hash_map.h')
-rw-r--r--rushs/evalexpr/hash_map/hash_map.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/rushs/evalexpr/hash_map/hash_map.h b/rushs/evalexpr/hash_map/hash_map.h
deleted file mode 100644
index c731eab..0000000
--- a/rushs/evalexpr/hash_map/hash_map.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef HASH_MAP_H
-#define HASH_MAP_H
-
-#include <stdbool.h>
-#include <stddef.h>
-
-struct pair_list
-{
- const char *key;
- char *value;
- struct pair_list *next;
-};
-
-struct hash_map
-{
- struct pair_list **data;
- size_t size;
-};
-
-size_t hash(const char *str);
-struct hash_map *hash_map_init(size_t size);
-bool hash_map_insert(struct hash_map *hash_map, const char *key, char *value,
- bool *updated);
-void hash_map_free(struct hash_map *hash_map);
-void hash_map_dump(struct hash_map *hash_map);
-const char *hash_map_get(const struct hash_map *hash_map, const char *key);
-bool hash_map_remove(struct hash_map *hash_map, const char *key);
-
-#endif /* ! HASH_MAP_H */