diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-20 02:12:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-20 02:12:12 +0100 |
commit | 3158713e0094fd32f58ee80c50ff54210c2dc411 (patch) | |
tree | 85f3a6590e030992c8f04cad230585cbf82d217b /hashmap.h | |
parent | 11dd41ce4b465f6260ce68aa050a488f88f694eb (diff) |
implement hashmap_replace() and hashmap_remove_value()
Diffstat (limited to 'hashmap.h')
-rw-r--r-- | hashmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,8 +26,10 @@ void hashmap_free(Hashmap *h); Hashmap *hashmap_copy(Hashmap *h); int hashmap_put(Hashmap *h, const void *key, void *value); +int hashmap_replace(Hashmap *h, const void *key, void *value); void* hashmap_get(Hashmap *h, const void *key); void* hashmap_remove(Hashmap *h, const void *key); +void* hashmap_remove_value(Hashmap *h, const void *key, void *value); int hashmap_merge(Hashmap *h, Hashmap *other); |