diff options
Diffstat (limited to 'lib/hash.h')
-rw-r--r-- | lib/hash.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/lib/hash.h b/lib/hash.h index 9f4557639..8e4264df8 100644 --- a/lib/hash.h +++ b/lib/hash.h @@ -45,19 +45,18 @@ typedef struct _curl_hash_element { } curl_hash_element; -void curl_hash_init(curl_hash *, int, curl_hash_dtor); -curl_hash *curl_hash_alloc(int, curl_hash_dtor); -int curl_hash_add(curl_hash *, char *, size_t, const void *); -int curl_hash_delete(curl_hash *h, char *key, size_t key_len); -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 +void Curl_hash_init(curl_hash *, int, curl_hash_dtor); +curl_hash *Curl_hash_alloc(int, curl_hash_dtor); +int Curl_hash_add(curl_hash *, char *, size_t, const void *); +int Curl_hash_delete(curl_hash *h, char *key, size_t key_len); +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 #endif |