82 |
# endif |
# endif |
83 |
# endif |
# endif |
84 |
|
|
85 |
# ifndef HAVE_DECL_GETADDRINFO |
# if !HAVE_DECL_GETADDRINFO |
86 |
/* Translate name of a service location and/or a service name to set of |
/* Translate name of a service location and/or a service name to set of |
87 |
socket addresses. |
socket addresses. |
88 |
For more details, see the POSIX:2001 specification |
For more details, see the POSIX:2001 specification |
93 |
struct addrinfo **restrict res); |
struct addrinfo **restrict res); |
94 |
# endif |
# endif |
95 |
|
|
96 |
# ifndef HAVE_DECL_FREEADDRINFO |
# if !HAVE_DECL_FREEADDRINFO |
97 |
/* Free `addrinfo' structure AI including associated storage. |
/* Free `addrinfo' structure AI including associated storage. |
98 |
For more details, see the POSIX:2001 specification |
For more details, see the POSIX:2001 specification |
99 |
<http://www.opengroup.org/susv3xsh/getaddrinfo.html>. */ |
<http://www.opengroup.org/susv3xsh/getaddrinfo.html>. */ |
100 |
extern void freeaddrinfo (struct addrinfo *ai); |
extern void freeaddrinfo (struct addrinfo *ai); |
101 |
# endif |
# endif |
102 |
|
|
103 |
# ifndef HAVE_DECL_GAI_STRERROR |
# if !HAVE_DECL_GAI_STRERROR |
104 |
/* Convert error return from getaddrinfo() to a string. |
/* Convert error return from getaddrinfo() to a string. |
105 |
For more details, see the POSIX:2001 specification |
For more details, see the POSIX:2001 specification |
106 |
<http://www.opengroup.org/susv3xsh/gai_strerror.html>. */ |
<http://www.opengroup.org/susv3xsh/gai_strerror.html>. */ |