mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
Now uses Curl_ as prefix for internal global symbols. curl_ should only be
used for "exported" globals.
This commit is contained in:
parent
1c42779845
commit
8358505b6d
5 changed files with 47 additions and 48 deletions
23
lib/hash.h
23
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue