Sterling Hughes' provided initial DNS cache source code.

This commit is contained in:
Daniel Stenberg 2002-01-03 10:22:59 +00:00
parent 6aaee5f23b
commit 6de7dc5879
11 changed files with 648 additions and 29 deletions

View file

@ -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,