chiark / gitweb /
audit,utmp: implement audit logic and rip utmp stuff out of the main daemon and into...
[elogind.git] / src / hashmap.h
index 3ff3efe8d158c694bc64a25ddc6e80a801d0f859..8fb7f82357abf76dabd32aa4dc3c8ee26bdc8ee7 100644 (file)
@@ -56,6 +56,7 @@ 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_remove_and_put(Hashmap *h, const void *old_key, const void *new_key, void *value);
+int hashmap_remove_and_replace(Hashmap *h, const void *old_key, const void *new_key, void *value);
 
 int hashmap_merge(Hashmap *h, Hashmap *other);
 void hashmap_move(Hashmap *h, Hashmap *other);