mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:03:39 +03:00
Sterling Hughes' provided initial DNS cache source code.
This commit is contained in:
parent
6aaee5f23b
commit
6de7dc5879
11 changed files with 648 additions and 29 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue