diff options
author | Anthony Avina <aavina2@gmail.com> | 2015-05-02 13:49:55 -0500 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-18 11:15:43 +0200 |
commit | 4883f7019d3f8a50b2f94e8e6c2e6123840e5a14 (patch) | |
tree | 89255e69e5d052255d215a8da7718113a723944b /lib/hash.h | |
parent | 39b9bf60d13ff7cb62a6a031c210d27a32113c4f (diff) | |
download | curl-4883f7019d3f8a50b2f94e8e6c2e6123840e5a14.tar.gz |
hostip: fix unintended destruction of hash table
.. and added unit1602 for hash.c
Diffstat (limited to 'lib/hash.h')
-rw-r--r-- | lib/hash.h | 1 |
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 *)); |