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 60 of file getaddrinfo.h.


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

Definition at line 56 of file getaddrinfo.h.

◆ freeaddrinfo

#define freeaddrinfo   xfreeaddrinfo

Definition at line 75 of file getaddrinfo.h.

◆ gai_strerror

#define gai_strerror   xgai_strerror

Definition at line 80 of file getaddrinfo.h.

◆ getaddrinfo

#define getaddrinfo   xgetaddrinfo

Definition at line 71 of file getaddrinfo.h.


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

Definition at line 64 of file getaddrinfo.h.

Function Documentation

◆ xfreeaddrinfo()

SQUIDCEXTERN void xfreeaddrinfo ( struct addrinfo ai)

Definition at line 295 of file

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

Referenced by xgetaddrinfo().

◆ xgai_strerror()

SQUIDCEXTERN const char * xgai_strerror ( int  code)

Definition at line 311 of file

◆ xgetaddrinfo()






Web Site Translations