From 8358505b6daec39a5bf0937a8524488a4e284912 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 27 Apr 2002 13:07:51 +0000 Subject: Now uses Curl_ as prefix for internal global symbols. curl_ should only be used for "exported" globals. --- lib/hash.h | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'lib/hash.h') 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 -- cgit v1.2.3