From 020e77fbdf6b40b714bd97c34e3cd0b0dd036be2 Mon Sep 17 00:00:00 2001 From: Diadlo Date: Sat, 5 Aug 2017 11:10:43 +0300 Subject: Remove 'in_addr' and 'addrinfo' mention from network.h --- toxcore/network.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'toxcore/network.h') diff --git a/toxcore/network.h b/toxcore/network.h index f57c6897..3c98c168 100644 --- a/toxcore/network.h +++ b/toxcore/network.h @@ -63,10 +63,6 @@ #endif -struct in_addr; -struct in6_addr; -struct addrinfo; - typedef short Family; typedef int Socket; @@ -165,14 +161,6 @@ typedef struct { } IP_Port; -/* Convert in_addr to IP */ -void get_ip4(IP4 *ip, const struct in_addr *addr); -void get_ip6(IP6 *ip, const struct in6_addr *addr); - -/* Conevrt IP to in_addr */ -void fill_addr4(IP4 ip, struct in_addr *addr); -void fill_addr6(IP6 ip, struct in6_addr *addr); - /* Convert values between host and network byte order. */ uint32_t net_htonl(uint32_t hostlong); -- cgit v1.2.3