X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fhashmap.h;h=c48d6b31f66dad5beffd95e07f6db2fd782f1677;hp=8fb7f82357abf76dabd32aa4dc3c8ee26bdc8ee7;hb=449ddb2d23a63ca4c8cd70d13a070fba87c1fb30;hpb=8fe914ec81d9f57bcc083036f528b00119ed2e3b diff --git a/src/hashmap.h b/src/hashmap.h index 8fb7f8235..c48d6b31f 100644 --- a/src/hashmap.h +++ b/src/hashmap.h @@ -1,4 +1,4 @@ -/*-*- Mode: C; c-basic-offset: 8 -*-*/ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ #ifndef foohashmaphfoo #define foohashmaphfoo @@ -47,6 +47,7 @@ int trivial_compare_func(const void *a, const void *b); Hashmap *hashmap_new(hash_func_t hash_func, compare_func_t compare_func); void hashmap_free(Hashmap *h); +void hashmap_free_free(Hashmap *h); Hashmap *hashmap_copy(Hashmap *h); int hashmap_ensure_allocated(Hashmap **h, hash_func_t hash_func, compare_func_t compare_func);