Lines Matching refs:Curl_addrinfo
62 * This is used to free a linked list of Curl_addrinfo structs along
65 * any function call which actually allocates a Curl_addrinfo struct.
77 Curl_freeaddrinfo(Curl_addrinfo *cahead)
79 Curl_addrinfo *vqualifier canext;
80 Curl_addrinfo *ca;
103 * addrinfo structs this one returns a linked list of Curl_addrinfo
116 Curl_addrinfo **result)
120 Curl_addrinfo *cafirst = NULL;
121 Curl_addrinfo *calast = NULL;
122 Curl_addrinfo *ca;
155 if((ca = malloc(sizeof(Curl_addrinfo))) == NULL) {
203 /* if we failed, also destroy the Curl_addrinfo list */
233 * Curl_addrinfo struct linked list filled with the data of a given hostent.
234 * Curl_addrinfo is meant to work like the addrinfo struct does for a IPv6
241 * Curl_addrinfo defined in "lib/curl_addrinfo.h"
243 * struct Curl_addrinfo {
251 * struct Curl_addrinfo *ai_next;
253 * typedef struct Curl_addrinfo Curl_addrinfo;
270 Curl_addrinfo *
273 Curl_addrinfo *ai;
274 Curl_addrinfo *prevai = NULL;
275 Curl_addrinfo *firstai = NULL;
300 if((ai = calloc(1, sizeof(Curl_addrinfo))) == NULL) {
383 * returns a Curl_addrinfo chain filled in correctly with information for the
387 Curl_addrinfo *
390 Curl_addrinfo *ai;
461 * allocated Curl_addrinfo struct and returns it.
463 Curl_addrinfo *Curl_str2addr(char *address, int port)