aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-01-03 10:22:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-01-03 10:22:59 +0000
commit6de7dc5879b3605a180dafa05f792f132eafdcaa (patch)
tree9684f8c2427082965204ee5589a2ee1e5dc6191d /lib/hostip.h
parent6aaee5f23bdc75826a733e40335078b97bfe1967 (diff)
Sterling Hughes' provided initial DNS cache source code.
Diffstat (limited to 'lib/hostip.h')
-rw-r--r--lib/hostip.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index 291b9cc71..97b50ae9d 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -27,6 +27,14 @@ struct addrinfo;
struct hostent;
struct SessionHandle;
+void Curl_host_cache_init(void);
+void Curl_host_cache_dtor(void);
+
+Curl_addrinfo *Curl_resolv(struct SessionHandle *data,
+ char *hostname,
+ int port,
+ char **bufp);
+
/* Get name info */
Curl_addrinfo *Curl_getaddrinfo(struct SessionHandle *data,
char *hostname,