diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-09-02 12:07:44 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-02 22:41:58 +0200 |
commit | 9e90ff0839a2ad750faad0d8176cd7cc01c1dae2 (patch) | |
tree | c952a9703e63631fbb8c81250c96888b39da3f5b /lib/hostip.h | |
parent | 9b3f888a00fe0c796e8ef7f00d03bb2adc2baa4e (diff) | |
download | curl-9e90ff0839a2ad750faad0d8176cd7cc01c1dae2.tar.gz |
hash: make it 'struct Curl_hash'
As internal global names should use captical C.
Closes #5906
Diffstat (limited to 'lib/hostip.h')
-rw-r--r-- | lib/hostip.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/hostip.h b/lib/hostip.h index 374b06c85..fb782d563 100644 --- a/lib/hostip.h +++ b/lib/hostip.h @@ -59,9 +59,9 @@ struct connectdata; * Global DNS cache is general badness. Do not use. This will be removed in * a future version. Use the share interface instead! * - * Returns a struct curl_hash pointer on success, NULL on failure. + * Returns a struct Curl_hash pointer on success, NULL on failure. */ -struct curl_hash *Curl_global_host_cache_init(void); +struct Curl_hash *Curl_global_host_cache_init(void); struct Curl_dns_entry { struct Curl_addrinfo *addr; @@ -128,7 +128,7 @@ void Curl_resolv_unlock(struct Curl_easy *data, struct Curl_dns_entry *dns); /* init a new dns cache and return success */ -int Curl_mk_dnscache(struct curl_hash *hash); +int Curl_mk_dnscache(struct Curl_hash *hash); /* prune old entries from the DNS cache */ void Curl_hostcache_prune(struct Curl_easy *data); @@ -234,7 +234,7 @@ CURLcode Curl_set_dns_local_ip6(struct Curl_easy *data, /* * Clean off entries from the cache */ -void Curl_hostcache_clean(struct Curl_easy *data, struct curl_hash *hash); +void Curl_hostcache_clean(struct Curl_easy *data, struct Curl_hash *hash); /* * Populate the cache with specified entries from CURLOPT_RESOLVE. |