24 #ifdef HAVE_NETINET_IN_H 25 # include <netinet/in.h> 30 #ifdef HAVE_ARPA_INET_H 31 # include <arpa/inet.h> 34 #define ENABLE_CURLX_PRINTF 127 if(strcmp(arg,
"1305") != 0) {
132 data_node->
inuse = 1;
UNITTEST_START struct Curl_dns_entry * nodep
void Curl_freeaddrinfo(Curl_addrinfo *cahead)
void Curl_hash_destroy(struct curl_hash *h)
static Curl_addrinfo * fake_ai(void)
static CURLcode unit_setup(void)
static CURLcode create_node(void)
#define abort_unless(expr, msg)
struct sockaddr * ai_addr
int Curl_mk_dnscache(struct curl_hash *hash)
CURL_EXTERN CURL * curl_easy_init(void)
CURL_EXTERN void curl_easy_cleanup(CURL *curl)
static struct Curl_dns_entry * data_node
static struct curl_hash hp
static struct Curl_easy * data
curl_socklen_t ai_addrlen
void * Curl_hash_add(struct curl_hash *h, void *key, size_t key_len, void *p)
CURL_EXTERN void curl_global_cleanup(void)
curl_global_cleanup() globally cleanups curl, uses the value of "init_flags" to determine what needs ...
#define calloc(nbelem, size)
static void unit_stop(void)