From a386562d9a3a351abd567a620a93e4926ce68944 Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Wed, 17 Apr 2002 20:13:55 +0000 Subject: Prune old hostcache entries with each call... This can be optimized a tidbit, but this is a start. --- lib/hash.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/hash.h') 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 -- cgit v1.2.3