summaryrefslogtreecommitdiff
path: root/lib/hash.h
diff options
context:
space:
mode:
authorSterling Hughes <sterling@bumblebury.com>2002-04-17 20:13:55 +0000
committerSterling Hughes <sterling@bumblebury.com>2002-04-17 20:13:55 +0000
commita386562d9a3a351abd567a620a93e4926ce68944 (patch)
treea22f2cc7bc41e848006b61392ab4e538e89e85dd /lib/hash.h
parent2bc84fb1639aef24e5c883976dc36c50647a22ff (diff)
downloadcurl-a386562d9a3a351abd567a620a93e4926ce68944.tar.gz
Prune old hostcache entries with each call...
This can be optimized a tidbit, but this is a start.
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 6c74ed2d3..9f4557639 100644
--- a/lib/hash.h
+++ b/lib/hash.h
@@ -53,6 +53,7 @@ int curl_hash_find(curl_hash *, char *, size_t, void **p);
void curl_hash_apply(curl_hash *h, void *user, void (*cb)(void *, curl_hash_element *));
int curl_hash_count(curl_hash *h);
void curl_hash_clean(curl_hash *h);
+void curl_hash_clean_with_criterium(curl_hash *h, void *user, int (*comp)(void *, void *));
void curl_hash_destroy(curl_hash *h);
#define curl_hash_update curl_hash_add