getaddrinfo.cc File Reference
#include "squid.h"
Include dependency graph for getaddrinfo.cc:

Go to the source code of this file.

Functions

static struct addrinfodup_addrinfo (struct addrinfo *info, void *addr, size_t addrlen)
 
int xgetaddrinfo (const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res)
 
void xfreeaddrinfo (struct addrinfo *ai)
 
const char * xgai_strerror (int ecode)
 

Function Documentation

static struct addrinfo* dup_addrinfo ( struct addrinfo info,
void *  addr,
size_t  addrlen 
)
static

Definition at line 83 of file getaddrinfo.cc.

References addrinfo::ai_addr, addrinfo::ai_addrlen, free, and NULL.

Referenced by xgetaddrinfo().

void xfreeaddrinfo ( struct addrinfo ai)

Definition at line 295 of file getaddrinfo.cc.

References addrinfo::ai_addr, addrinfo::ai_canonname, addrinfo::ai_next, free, and NULL.

Referenced by xgetaddrinfo().

const char* xgai_strerror ( int  ecode)

Definition at line 311 of file getaddrinfo.cc.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors