#include "curl_setup.h"
#include "urldata.h"
#include "sendf.h"
#include "hostip.h"
#include "hash.h"
#include "share.h"
#include "strerror.h"
#include "url.h"
#include "inet_ntop.h"
#include "warnless.h"
#include "curl_printf.h"
#include "curl_memory.h"
#include "memdebug.h"
Go to the source code of this file.
Classes |
struct | hostcache_prune_data |
Functions |
static char * | create_hostcache_id (const char *name, int port) |
struct Curl_dns_entry * | Curl_cache_addr (struct Curl_easy *data, Curl_addrinfo *addr, const char *hostname, int port) |
struct Curl_dns_entry * | Curl_fetch_addr (struct connectdata *conn, const char *hostname, int port) |
void | Curl_global_host_cache_dtor (void) |
struct curl_hash * | Curl_global_host_cache_init (void) |
void | Curl_hostcache_clean (struct Curl_easy *data, struct curl_hash *hash) |
void | Curl_hostcache_prune (struct Curl_easy *data) |
CURLcode | Curl_loadhostpairs (struct Curl_easy *data) |
int | Curl_mk_dnscache (struct curl_hash *hash) |
int | Curl_num_addresses (const Curl_addrinfo *addr) |
const char * | Curl_printable_address (const Curl_addrinfo *ai, char *buf, size_t bufsize) |
int | Curl_resolv (struct connectdata *conn, const char *hostname, int port, struct Curl_dns_entry **entry) |
int | Curl_resolv_timeout (struct connectdata *conn, const char *hostname, int port, struct Curl_dns_entry **entry, time_t timeoutms) |
void | Curl_resolv_unlock (struct Curl_easy *data, struct Curl_dns_entry *dns) |
static struct Curl_dns_entry * | fetch_addr (struct connectdata *conn, const char *hostname, int port) |
static void | freednsentry (void *freethis) |
static void | hostcache_prune (struct curl_hash *hostcache, long cache_timeout, time_t now) |
static int | hostcache_timestamp_remove (void *datap, void *hc) |
Variables |
static int | host_cache_initialized |
static struct curl_hash | hostname_cache |
Function Documentation
Variable Documentation