diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-24 18:25:09 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-24 18:25:09 -0700 |
commit | 05b6aa32a5f1633797f7eae390b3a8048b29ca69 (patch) | |
tree | 43543261bb5485b1c109e0e9f93dcb2f7bcd227d /system/include/net/arpa/inet.h | |
parent | 6010666be99cd0322babba1174cfbc65c776deb5 (diff) | |
parent | 8e2d812b49f7de9487e1c816229106af0cf39d0d (diff) |
Merge branch 'incoming'
Diffstat (limited to 'system/include/net/arpa/inet.h')
-rw-r--r-- | system/include/net/arpa/inet.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/system/include/net/arpa/inet.h b/system/include/net/arpa/inet.h deleted file mode 100644 index 2b701c15..00000000 --- a/system/include/net/arpa/inet.h +++ /dev/null @@ -1,32 +0,0 @@ - -#ifndef _NET_ARPA_INET_H -#define _NET_ARPA_INET_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include <stdint.h> -#include <netdb.h> -#include <netinet/in.h> - -uint32_t htonl(uint32_t hostlong); -uint16_t htons(uint16_t hostshort); -uint32_t ntohl(uint32_t netlong); -uint16_t ntohs(uint16_t netshort); - -int inet_aton(const char *cp, struct in_addr *addr); -char *inet_ntoa(struct in_addr in); - -int inet_pton(int af, const char *src, void *dst); -const char *inet_ntop(int af, const void *src, char *dst, socklen_t size); - -typedef long in_addr_t; -in_addr_t inet_addr(const char *cp); - -#ifdef __cplusplus -} -#endif - -#endif - |