X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fhash.h;h=30a15fb270ca0e5bc8eaedee620bc3abf9cf0cf0;hb=9d48d5b7d48ad23e23eae02feae69bdc5ae80c8e;hp=83ed6afff9e3b714991af3c63176984ca3403ef8;hpb=6062df4a0fa6214d21ac83d885087e9dbdac3f39;p=tinc diff --git a/src/hash.h b/src/hash.h index 83ed6aff..30a15fb2 100644 --- a/src/hash.h +++ b/src/hash.h @@ -31,6 +31,7 @@ extern hash_t *hash_alloc(size_t n, size_t size) __attribute__ ((__malloc__)); extern void hash_free(hash_t *); extern void hash_insert(hash_t *, const void *key, const void *value); +extern void hash_delete(hash_t *, const void *key); extern void *hash_search(const hash_t *, const void *key); extern void *hash_search_or_insert(hash_t *, const void *key, const void *value);