posix: arpa_inet
[m6w6/ext-psi] / m4 / posix / arpa_inet.m4
1 PSI_CHECK_ARPA_INET() {
2 PSI_DECL(uint32_t htonl, [(uint32_t l)])
3 PSI_DECL(uint16_t htons, [(uint16_t s)])
4 PSI_DECL(uint32_t ntohl, [(uint32_t l)])
5 PSI_DECL(uint16_t ntohs, [(uint16_t s)])
6
7 PSI_DECL(in_addr_t inet_addr, [(const char *cp)])
8 PSI_DECL(char *inet_ntoa, [(struct in_addr in)])
9 PSI_DECL(const char *inet_ntop, [(int af, const void *src, char *dst, socklen_t size)])
10 PSI_DECL(int inet_pton, [(int af, const char *src, void *dst)])
11 }