aboutsummaryrefslogtreecommitdiff
path: root/lib/hash.h
diff options
context:
space:
mode:
authorAnthony Avina <aavina2@gmail.com>2015-05-02 13:49:55 -0500
committerDaniel Stenberg <daniel@haxx.se>2015-05-18 11:15:43 +0200
commit4883f7019d3f8a50b2f94e8e6c2e6123840e5a14 (patch)
tree89255e69e5d052255d215a8da7718113a723944b /lib/hash.h
parent39b9bf60d13ff7cb62a6a031c210d27a32113c4f (diff)
hostip: fix unintended destruction of hash table
.. and added unit1602 for hash.c
Diffstat (limited to 'lib/hash.h')
-rw-r--r--lib/hash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hash.h b/lib/hash.h
index bc7c20dec..b13a236bb 100644
--- a/lib/hash.h
+++ b/lib/hash.h
@@ -80,6 +80,7 @@ void *Curl_hash_pick(struct curl_hash *, void * key, size_t key_len);
void Curl_hash_apply(struct curl_hash *h, void *user,
void (*cb)(void *user, void *ptr));
int Curl_hash_count(struct curl_hash *h);
+void Curl_hash_destroy(struct curl_hash *h);
void Curl_hash_clean(struct curl_hash *h);
void Curl_hash_clean_with_criterium(struct curl_hash *h, void *user,
int (*comp)(void *, void *));