diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-12-22 18:07:28 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-12-22 18:07:28 -0500 |
commit | 7bbd6bbbe126cd002320a9ddb4123aa703f8c966 (patch) | |
tree | 8132b7c1258e3ad8d998ef89eeefdebecf666122 | |
parent | 7f3667ad0026f94aab0828d464b2c35b3b5a28bc (diff) | |
download | deheader-7bbd6bbbe126cd002320a9ddb4123aa703f8c966.tar.gz deheader-7bbd6bbbe126cd002320a9ddb4123aa703f8c966.tar.bz2 deheader-7bbd6bbbe126cd002320a9ddb4123aa703f8c966.tar.xz deheader-7bbd6bbbe126cd002320a9ddb4123aa703f8c966.zip |
Include network services headers.
-rwxr-xr-x | deheader | 64 |
1 files changed, 59 insertions, 5 deletions
@@ -42,7 +42,7 @@ version = "0.5" # because they're required in order to satify dependencies on other platforms. # Note: This table is not yet complete. requirements = ( - # Headers mandated by SuS Version 2. + # Headers mandated by SuS Version 2 System Interfaces. # a64l, l64a - convert between a 32-bit integer and a radix-64 ASCII string (r"a64l()", ["<stdlib.h>"]), (r"l64a()", ["<stdlib.h>"]), @@ -256,10 +256,10 @@ requirements = ( # expm1 - compute exponential functions (r"expm1()", ["<math.h>"]), # FD_CLR - macros for synchronous I/O multiplexing - (r"FD_CLR()", ["<time.h>"]), - (r"FD_ISSET()", ["<time.h>"]), - (r"FD_SET()", ["<time.h>"]), - (r"FD_ZERO()", ["<time.h>"]), + (r"FD_CLR()", ["<sys/time.h>"]), + (r"FD_ISSET()", ["<sys/time.h>"]), + (r"FD_SET()", ["<sys/time.h>"]), + (r"FD_ZERO()", ["<sys/time.h>"]), # fabs - absolute value function (r"fabs()", ["<math.h>"]), # fattach - attach a STREAMS-based file descriptor to a file in the file system name space @@ -1108,6 +1108,60 @@ requirements = ( (r"y0()", ["<math.h>"]), (r"y1()", ["<math.h>"]), (r"yn()", ["<math.h>"]), + + # Headers mandated by SuS Version 2 Network Services. + # sys/socket.h - Internet Protocol family + (r"accept()", ["<sys/socket.h>"]), + (r"bind()", ["<sys/socket.h>"]), + (r"connect()", ["<sys/socket.h>"]), + (r"getpeername()", ["<sys/socket.h>"]), + (r"getsockname()", ["<sys/socket.h>"]), + (r"getsockopt()", ["<sys/socket.h>"]), + (r"listen()", ["<sys/socket.h>"]), + (r"recv()", ["<sys/socket.h>"]), + (r"recvfrom()", ["<sys/socket.h>"]), + (r"recvmsg()", ["<sys/socket.h>"]), + (r"send()", ["<sys/socket.h>"]), + (r"sendmsg()", ["<sys/socket.h>"]), + (r"sendto()", ["<sys/socket.h>"]), + (r"setsockopt()", ["<sys/socket.h>"]), + (r"shutdown()", ["<sys/socket.h>"]), + (r"socket()", ["<sys/socket.h>"]), + (r"socketpair()", ["<sys/socket.h>"]), + # arpa/inet.h - definitions for internet operations + (r"inet_addr()", ["<arpa/inet.h>"]), + (r"inet_lnaof()", ["<arpa/inet.h>"]), + (r"inet_makeaddr()", ["<arpa/inet.h>"]), + (r"inet_netof()", ["<arpa/inet.h>"]), + (r"inet_network()", ["<arpa/inet.h>"]), + (r"inet_ntoa()", ["<arpa/inet.h>"]), + (r"htonl()", ["<arpa/inet.h>"]), + (r"htons()", ["<arpa/inet.h>"]), + (r"ntohl()", ["<arpa/inet.h>"]), + (r"ntohs()", ["<arpa/inet.h>"]), + # netdb.h - definitions for network database operations + (r"endhostent()", ["<netdb.h>"]), + (r"endnetent()", ["<netdb.h>"]), + (r"endprotoent()", ["<netdb.h>"]), + (r"endservent()", ["<netdb.h>"]), + (r"gethostbyaddr()", ["<netdb.h>"]), + (r"gethostbyname()", ["<netdb.h>"]), + (r"gethostent()", ["<netdb.h>"]), + (r"getnetbyaddr()", ["<netdb.h>"]), + (r"getnetbyname()", ["<netdb.h>"]), + (r"getnetent()", ["<netdb.h>"]), + (r"getprotobyname()", ["<netdb.h>"]), + (r"getprotobynumber()",["<netdb.h>"]), + (r"getprotoent()", ["<netdb.h>"]), + (r"getservbyname()", ["<netdb.h>"]), + (r"getservbyport()", ["<netdb.h>"]), + (r"getservent()", ["<netdb.h>"]), + (r"sethostent()", ["<netdb.h>"]), + (r"setnetent()", ["<netdb.h>"]), + (r"setprotoent()", ["<netdb.h>"]), + (r"setservent()", ["<netdb.h>"]), + # unistd.h - standard symbolic constants and types + (r"gethostname()", ["<unistd.h>"]), # Dependencies observed on systems other than the Linux this was # developed under. |