#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.
|
| 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) |
| |
◆ create_hostcache_id()
| static char* create_hostcache_id |
( |
const char * |
name, |
|
|
int |
port |
|
) |
| |
|
static |
◆ Curl_cache_addr()
◆ Curl_fetch_addr()
◆ Curl_global_host_cache_dtor()
| void Curl_global_host_cache_dtor |
( |
void |
| ) |
|
◆ Curl_global_host_cache_init()
| struct curl_hash* Curl_global_host_cache_init |
( |
void |
| ) |
|
◆ Curl_hostcache_clean()
◆ Curl_hostcache_prune()
| void Curl_hostcache_prune |
( |
struct Curl_easy * |
data | ) |
|
◆ Curl_loadhostpairs()
◆ Curl_mk_dnscache()
| int Curl_mk_dnscache |
( |
struct curl_hash * |
hash | ) |
|
◆ Curl_num_addresses()
◆ Curl_printable_address()
◆ Curl_resolv()
◆ Curl_resolv_timeout()
| int Curl_resolv_timeout |
( |
struct connectdata * |
conn, |
|
|
const char * |
hostname, |
|
|
int |
port, |
|
|
struct Curl_dns_entry ** |
entry, |
|
|
time_t |
timeoutms |
|
) |
| |
◆ Curl_resolv_unlock()
◆ fetch_addr()
◆ freednsentry()
| static void freednsentry |
( |
void * |
freethis | ) |
|
|
static |
◆ hostcache_prune()
| static void hostcache_prune |
( |
struct curl_hash * |
hostcache, |
|
|
long |
cache_timeout, |
|
|
time_t |
now |
|
) |
| |
|
static |
◆ hostcache_timestamp_remove()
| static int hostcache_timestamp_remove |
( |
void * |
datap, |
|
|
void * |
hc |
|
) |
| |
|
static |
◆ host_cache_initialized
| int host_cache_initialized |
|
static |
◆ hostname_cache