doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Functions
hostip.h File Reference
#include "setup.h"
#include "hash.h"

Go to the source code of this file.

Classes

struct  Curl_dns_entry
 

Macros

#define Curl_global_host_cache_use(__p)   ((__p)->set.global_dns_cache)
 
#define CURL_INADDR_NONE   (in_addr_t) ~0
 

Functions

void Curl_global_host_cache_init (void)
 
void Curl_global_host_cache_dtor (void)
 
curl_hashCurl_global_host_cache_get (void)
 
int Curl_resolv (struct connectdata *conn, char *hostname, int port, struct Curl_dns_entry **dnsentry)
 
CURLcode Curl_is_resolved (struct connectdata *conn, struct Curl_dns_entry **dns)
 
CURLcode Curl_wait_for_resolv (struct connectdata *conn, struct Curl_dns_entry **dnsentry)
 
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)
 
void Curl_scan_cache_used (void *user, void *ptr)
 
void Curl_freeaddrinfo (Curl_addrinfo *freeaddr)
 
void Curl_freednsinfo (void *freethis)
 
void Curl_hostcache_prune (struct SessionHandle *data)
 

Macro Definition Documentation

#define Curl_global_host_cache_use (   __p)    ((__p)->set.global_dns_cache)

Definition at line 38 of file hostip.h.

#define CURL_INADDR_NONE   (in_addr_t) ~0

Definition at line 93 of file hostip.h.

Function Documentation

void Curl_freeaddrinfo ( Curl_addrinfo freeaddr)

Definition at line 431 of file hostip.c.

void Curl_freednsinfo ( void freethis)

Definition at line 443 of file hostip.c.

void Curl_global_host_cache_dtor ( void  )

Definition at line 139 of file hostip.c.

curl_hash* Curl_global_host_cache_get ( void  )

Definition at line 134 of file hostip.c.

void Curl_global_host_cache_init ( void  )

Definition at line 126 of file hostip.c.

void Curl_hostcache_prune ( struct SessionHandle data)

Definition at line 225 of file hostip.c.

CURLcode Curl_is_resolved ( struct connectdata conn,
struct Curl_dns_entry **  dns 
)

Definition at line 684 of file hostip.c.

CURLcode Curl_multi_ares_fdset ( struct connectdata conn,
fd_set *  read_fd_set,
fd_set *  write_fd_set,
int max_fdp 
)

Definition at line 695 of file hostip.c.

int Curl_resolv ( struct connectdata conn,
char *  hostname,
int  port,
struct Curl_dns_entry **  dnsentry 
)

Definition at line 315 of file hostip.c.

void Curl_resolv_unlock ( struct SessionHandle data,
struct Curl_dns_entry dns 
)

Definition at line 408 of file hostip.c.

void Curl_scan_cache_used ( void user,
void ptr 
)
CURLcode Curl_wait_for_resolv ( struct connectdata conn,
struct Curl_dns_entry **  dnsentry 
)

Definition at line 676 of file hostip.c.