38 #define Curl_global_host_cache_use(__p) ((__p)->set.global_dns_cache)
84 void curl_freeaddrinfo(
struct addrinfo *freethis,
85 int line,
const char *
source);
86 int curl_getaddrinfo(
char *hostname,
char *service,
87 struct addrinfo *hints,
89 int line,
const char *
source);
93 #define CURL_INADDR_NONE (in_addr_t) ~0
95 #define CURL_INADDR_NONE INADDR_NONE
void Curl_freeaddrinfo(Curl_addrinfo *freeaddr)
CURLcode Curl_wait_for_resolv(struct connectdata *conn, struct Curl_dns_entry **dnsentry)
int Curl_resolv(struct connectdata *conn, char *hostname, int port, struct Curl_dns_entry **dnsentry)
void Curl_hostcache_prune(struct SessionHandle *data)
GLsizei GLsizei GLcharARB * source
void Curl_global_host_cache_init(void)
void Curl_global_host_cache_dtor(void)
CURLcode Curl_is_resolved(struct connectdata *conn, struct Curl_dns_entry **dns)
GLsizei GLsizei GLenum GLenum const GLvoid * data
void Curl_freednsinfo(void *freethis)
void Curl_scan_cache_used(void *user, void *ptr)
struct hostent Curl_addrinfo
CURLcode Curl_multi_ares_fdset(struct connectdata *conn, fd_set *read_fd_set, fd_set *write_fd_set, int *max_fdp)
void Curl_resolv_unlock(struct SessionHandle *data, struct Curl_dns_entry *dns)
curl_hash * Curl_global_host_cache_get(void)