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

Go to the source code of this file.

Macros

#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
 

Functions

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().

#define freeaddrinfo   xfreeaddrinfo

Definition at line 107 of file getaddrinfo.h.

#define gai_strerror   xgai_strerror

Definition at line 112 of file getaddrinfo.h.

#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

SQUIDCEXTERN 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().

SQUIDCEXTERN const char* xgai_strerror ( int  code)

Definition at line 311 of file getaddrinfo.cc.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors