Blame conform/data/netdb.h-data

Packit 6c4009
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
Packit 6c4009
optional-type in_port_t
Packit 6c4009
optional-type in_addr_t
Packit 6c4009
Packit 6c4009
type {struct hostent}
Packit 6c4009
Packit 6c4009
element {struct hostent} {char*} h_name
Packit 6c4009
element {struct hostent} {char**} h_aliases
Packit 6c4009
element {struct hostent} int h_addrtype
Packit 6c4009
element {struct hostent} int h_length
Packit 6c4009
element {struct hostent} {char**} h_addr_list
Packit 6c4009
Packit 6c4009
type {struct netent}
Packit 6c4009
Packit 6c4009
element {struct netent} {char*} n_name
Packit 6c4009
element {struct netent} {char**} n_aliases
Packit 6c4009
element {struct netent} int n_addrtype
Packit 6c4009
// Bug 21260: n_net has wrong type.
Packit 6c4009
xfail[alpha-linux]-element {struct netent} uint32_t n_net
Packit 6c4009
Packit 6c4009
type uint32_t
Packit 6c4009
Packit 6c4009
type {struct protoent}
Packit 6c4009
Packit 6c4009
element {struct protoent} {char*} p_name
Packit 6c4009
element {struct protoent} {char**} p_aliases
Packit 6c4009
element {struct protoent} int p_proto
Packit 6c4009
Packit 6c4009
type {struct servent}
Packit 6c4009
Packit 6c4009
element {struct servent} {char*} s_name
Packit 6c4009
element {struct servent} {char**} s_aliases
Packit 6c4009
element {struct servent} int s_port
Packit 6c4009
element {struct servent} {char*} s_proto
Packit 6c4009
Packit 6c4009
macro IPPORT_RESERVED
Packit 6c4009
Packit 6c4009
#if !defined XOPEN2K8 && !defined POSIX2008
Packit 6c4009
// variable int h_errno
Packit 6c4009
allow h_errno
Packit 6c4009
Packit 6c4009
macro HOST_NOT_FOUND
Packit 6c4009
macro NO_DATA
Packit 6c4009
macro NO_RECOVERY
Packit 6c4009
macro TRY_AGAIN
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#if !defined XPG42 && !defined UNIX98
Packit 6c4009
type {struct addrinfo}
Packit 6c4009
element {struct addrinfo} int ai_flags
Packit 6c4009
element {struct addrinfo} int ai_family
Packit 6c4009
element {struct addrinfo} int ai_socktype
Packit 6c4009
element {struct addrinfo} int ai_protocol
Packit 6c4009
element {struct addrinfo} socklen_t ai_addrlen
Packit 6c4009
element {struct addrinfo} {struct sockaddr*} ai_addr
Packit 6c4009
element {struct addrinfo} {char*} ai_canonname
Packit 6c4009
element {struct addrinfo} {struct addrinfo*} ai_next
Packit 6c4009
Packit 6c4009
macro AI_PASSIVE
Packit 6c4009
macro AI_CANONNAME
Packit 6c4009
macro AI_NUMERICHOST
Packit 6c4009
macro AI_V4MAPPED
Packit 6c4009
macro AI_ALL
Packit 6c4009
macro AI_ADDRCONFIG
Packit 6c4009
macro AI_NUMERICSERV
Packit 6c4009
Packit 6c4009
macro NI_NOFQDN
Packit 6c4009
macro NI_NUMERICHOST
Packit 6c4009
macro NI_NAMEREQD
Packit 6c4009
macro NI_NUMERICSERV
Packit 6c4009
macro NI_DGRAM
Packit 6c4009
Packit 6c4009
macro EAI_AGAIN
Packit 6c4009
macro EAI_BADFLAGS
Packit 6c4009
macro EAI_FAIL
Packit 6c4009
macro EAI_FAMILY
Packit 6c4009
macro EAI_MEMORY
Packit 6c4009
macro EAI_NONAME
Packit 6c4009
macro EAI_SERVICE
Packit 6c4009
macro EAI_SOCKTYPE
Packit 6c4009
macro EAI_SYSTEM
Packit 6c4009
macro EAI_OVERFLOW
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
function void endhostent (void)
Packit 6c4009
function void endnetent (void)
Packit 6c4009
function void endprotoent (void)
Packit 6c4009
function void endservent (void)
Packit 6c4009
#if !defined XPG42 && !defined UNIX98
Packit 6c4009
function void freeaddrinfo (struct addrinfo*)
Packit 6c4009
function {const char*} gai_strerror (int)
Packit 6c4009
function int getaddrinfo (const char*, const char*, const struct addrinfo*, struct addrinfo**)
Packit 6c4009
#endif
Packit 6c4009
function {struct hostent*} gethostbyaddr (const void*, socklen_t, int)
Packit 6c4009
function {struct hostent*} gethostbyname (const char*)
Packit 6c4009
function {struct hostent*} gethostent (void)
Packit 6c4009
#if !defined XPG42 && !defined UNIX98
Packit 6c4009
function int getnameinfo (const struct sockaddr*, socklen_t, char*, socklen_t, char*, socklen_t, int)
Packit 6c4009
#endif
Packit 6c4009
function {struct netent*} getnetbyaddr (uint32_t, int)
Packit 6c4009
function {struct netent*} getnetbyname (const char*)
Packit 6c4009
function {struct netent*} getnetent (void)
Packit 6c4009
function {struct protoent*} getprotobyname (const char *)
Packit 6c4009
function {struct protoent*} getprotobynumber (int)
Packit 6c4009
function {struct protoent*} getprotoent (void)
Packit 6c4009
function {struct servent*} getservbyname (const char*, const char*)
Packit 6c4009
function {struct servent*} getservbyport (int, const char*)
Packit 6c4009
function {struct servent*} getservent (void)
Packit 6c4009
function void sethostent (int)
Packit 6c4009
function void setnetent (int)
Packit 6c4009
function void setprotoent (int)
Packit 6c4009
function void setservent (int)
Packit 6c4009
Packit 6c4009
type socklen_t
Packit 6c4009
Packit 6c4009
allow-header netinet/in.h
Packit 6c4009
allow-header inttypes.h
Packit 6c4009
#endif