Usermode/libpsocket - Header wrapping, byte ordering functions
[tpg/acess2.git] / Usermode / Libraries / libpsocket.so_src / include_exp / arpa / inet.h
index effc288..ea303dd 100644 (file)
 #include <netinet/in.h>
 #include <stdint.h>    // Should be inttypes.h?
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 extern uint32_t htonl(uint32_t hostlong);
 extern uint16_t htons(uint16_t hostshort);
 extern uint32_t ntohl(uint32_t netlong);
@@ -23,5 +27,9 @@ extern in_addr_t      inet_netof(struct in_addr in);
 extern in_addr_t       inet_network(const char *cp);
 extern char    *inet_ntoa(struct in_addr in);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif
 

UCC git Repository :: git.ucc.asn.au