summaryrefslogtreecommitdiff
path: root/lib/hash.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-04-27 13:07:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-04-27 13:07:51 +0000
commit8358505b6daec39a5bf0937a8524488a4e284912 (patch)
tree50dc687e19579e9668fe75d5ca8c96af56c40739 /lib/hash.h
parent1c427798452dc4fd68bfa888dc12383777faae33 (diff)
downloadcurl-8358505b6daec39a5bf0937a8524488a4e284912.tar.gz
Now uses Curl_ as prefix for internal global symbols. curl_ should only be
used for "exported" globals.
Diffstat (limited to 'lib/hash.h')
-rw-r--r--lib/hash.h23
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