32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2
[glibc.git] / conform / data / netdb.h-data
blob254ea65027e49100044a73fb5958bc8a5a20edbd
1 #ifndef ISO
2 optional-type in_port_t
3 optional-type in_addr_t
5 type {struct hostent}
7 element {struct hostent} {char*} h_name
8 element {struct hostent} {char**} h_aliases
9 element {struct hostent} int h_addrtype
10 element {struct hostent} int h_length
11 element {struct hostent} {char**} h_addr_list
13 type {struct netent}
15 element {struct netent} {char*} n_name
16 element {struct netent} {char**} n_aliases
17 element {struct netent} int n_addrtype
18 element {struct netent} uint32_t n_net
20 type uint32_t
22 type {struct protoent}
24 element {struct protoent} {char*} p_name
25 element {struct protoent} {char**} p_aliases
26 element {struct protoent} int p_proto
28 type {struct servent}
30 element {struct servent} {char*} s_name
31 element {struct servent} {char**} s_aliases
32 element {struct servent} int s_port
33 element {struct servent} {char*} s_proto
35 macro IPPORT_RESERVED
37 #if !defined XOPEN2K8 && !defined POSIX2008
38 // variable int h_errno
39 allow h_errno
41 macro HOST_NOT_FOUND
42 macro NO_DATA
43 macro NO_RECOVERY
44 macro TRY_AGAIN
45 #endif
47 type {struct addrinfo}
48 element {struct addrinfo} int ai_flags
49 element {struct addrinfo} int ai_family
50 element {struct addrinfo} int ai_socktype
51 element {struct addrinfo} int ai_protocol
52 element {struct addrinfo} socklen_t ai_addrlen
53 element {struct addrinfo} {struct sockaddr*} ai_addr
54 element {struct addrinfo} {char*} ai_canonname
55 element {struct addrinfo} {struct addrinfo*} ai_next
57 macro AI_PASSIVE
58 macro AI_CANONNAME
59 macro AI_NUMERICHOST
60 macro AI_V4MAPPED
61 macro AI_ALL
62 macro AI_ADDRCONFIG
63 macro AI_NUMERICSERV
65 macro NI_NOFQDN
66 macro NI_NUMERICHOST
67 macro NI_NAMEREQD
68 macro NI_NUMERICSERV
69 macro NI_DGRAM
71 macro EAI_AGAIN
72 macro EAI_BADFLAGS
73 macro EAI_FAIL
74 macro EAI_FAMILY
75 macro EAI_MEMORY
76 macro EAI_NONAME
77 macro EAI_SERVICE
78 macro EAI_SOCKTYPE
79 macro EAI_SYSTEM
80 macro EAI_OVERFLOW
82 function void endhostent (void)
83 function void endnetent (void)
84 function void endprotoent (void)
85 function void endservent (void)
86 function void freeaddrinfo (struct addrinfo*)
87 function {const char*} gai_strerror (int)
88 function int getaddrinfo (const char*, const char*, const struct addrinfo*, struct addrinfo**)
89 function {struct hostent*} gethostbyaddr (const void*, socklen_t, int)
90 function {struct hostent*} gethostbyname (const char*)
91 function {struct hostent*} gethostent (void)
92 function int getnameinfo (const struct sockaddr*, socklen_t, char*, socklen_t, char*, socklen_t, unsigned)
93 function {struct netent*} getnetbyaddr (uint32_t, int)
94 function {struct netent*} getnetbyname (const char*)
95 function {struct netent*} getnetent (void)
96 function {struct protoent*} getprotobyname (const char *)
97 function {struct protoent*} getprotobynumber (int)
98 function {struct protoent*} getprotoent (void)
99 function {struct servent*} getservbyname (const char*, const char*)
100 function {struct servent*} getservbyport (int, const char*)
101 function {struct servent*} getservent (void)
102 function void sethostent (int)
103 function void setnetent (int)
104 function void setprotoent (int)
105 function void setservent (int)
107 type socklen_t
109 allow-header netinet/in.h
110 allow-header inttypes.h
111 #endif