getaddrinfo.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define EAI_SYSTEM   11 /* System error returned in `errno'. */
#define EAI_OVERFLOW   12 /* Argument buffer overflow. */
#define IN_EXPERIMENTAL(a)   ((((long int) (a)) & 0xf0000000) == 0xf0000000)
#define getaddrinfo   xgetaddrinfo
#define freeaddrinfo   xfreeaddrinfo
#define gai_strerror   xgai_strerror


SQUIDCEXTERN int xgetaddrinfo (const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res)
SQUIDCEXTERN void xfreeaddrinfo (struct addrinfo *ai)
SQUIDCEXTERN const char * xgai_strerror (int code)

Macro Definition Documentation


#define EAI_OVERFLOW   12 /* Argument buffer overflow. */

Definition at line 92 of file getaddrinfo.h.

Referenced by xgetnameinfo().


#define EAI_SYSTEM   11 /* System error returned in `errno'. */

Definition at line 88 of file getaddrinfo.h.

Referenced by xgetaddrinfo(), and xgetnameinfo().

◆ freeaddrinfo

#define freeaddrinfo   xfreeaddrinfo

Definition at line 107 of file getaddrinfo.h.

◆ gai_strerror

#define gai_strerror   xgai_strerror

Definition at line 112 of file getaddrinfo.h.

◆ getaddrinfo

#define getaddrinfo   xgetaddrinfo

Definition at line 103 of file getaddrinfo.h.


#define IN_EXPERIMENTAL (   a)    ((((long int) (a)) & 0xf0000000) == 0xf0000000)

Definition at line 96 of file getaddrinfo.h.

Referenced by xgetnameinfo().

Function Documentation

◆ xfreeaddrinfo()

SQUIDCEXTERN void xfreeaddrinfo ( struct addrinfo ai)

Definition at line 295 of file

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

Referenced by xgetaddrinfo().

◆ xgai_strerror()

SQUIDCEXTERN const char* xgai_strerror ( int  code)

Definition at line 311 of file

◆ xgetaddrinfo()






Web Site Translations