summaryrefslogtreecommitdiff
path: root/lib/hostip.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-01-25 00:06:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-01-25 00:06:29 +0000
commit043d70fcdfa50c93dc826069aa5836206f8e3e2d (patch)
treeaf76e68933639c821d1e632ae54b34215ac73945 /lib/hostip.h
parent4f7e95896934df81df2a7f49e0a4f6b775fcb308 (diff)
downloadcurl-043d70fcdfa50c93dc826069aa5836206f8e3e2d.tar.gz
Use plain structs and not typedef'ed ones in the hash and linked-list code.
Diffstat (limited to 'lib/hostip.h')
-rw-r--r--lib/hostip.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index ea9d0803c..75ad10b90 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -112,7 +112,7 @@ struct connectdata;
void Curl_global_host_cache_init(void);
void Curl_global_host_cache_dtor(void);
-curl_hash *Curl_global_host_cache_get(void);
+struct curl_hash *Curl_global_host_cache_get(void);
#define Curl_global_host_cache_use(__p) ((__p)->set.global_dns_cache)
@@ -176,7 +176,7 @@ void Curl_scan_cache_used(void *user, void *ptr);
void Curl_freeaddrinfo(Curl_addrinfo *freeaddr);
/* make a new dns cache and return the handle */
-curl_hash *Curl_mk_dnscache(void);
+struct curl_hash *Curl_mk_dnscache(void);
/* prune old entries from the DNS cache */
void Curl_hostcache_prune(struct SessionHandle *data);