diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-01-03 10:22:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-01-03 10:22:59 +0000 |
commit | 6de7dc5879b3605a180dafa05f792f132eafdcaa (patch) | |
tree | 9684f8c2427082965204ee5589a2ee1e5dc6191d /lib/hostip.h | |
parent | 6aaee5f23bdc75826a733e40335078b97bfe1967 (diff) |
Sterling Hughes' provided initial DNS cache source code.
Diffstat (limited to 'lib/hostip.h')
-rw-r--r-- | lib/hostip.h | 8 |
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, |