include/ifaddrs.h: add prototypes for get/freeifaddrs
authorrofl0r <retnyg@gmx.net>
Fri, 5 Apr 2013 17:59:40 +0000 (19:59 +0200)
committerrofl0r <retnyg@gmx.net>
Fri, 5 Apr 2013 17:59:40 +0000 (19:59 +0200)
include/ifaddrs.h

index 96b5ae9..800eef6 100644 (file)
@@ -23,6 +23,9 @@ struct ifaddrs {
 #define ifa_broadaddr ifa_ifu.ifu_broadaddr
 #define ifa_dstaddr ifa_ifu.ifu_dstaddr
 
 #define ifa_broadaddr ifa_ifu.ifu_broadaddr
 #define ifa_dstaddr ifa_ifu.ifu_dstaddr
 
+void freeifaddrs(struct ifaddrs *ifp);
+int getifaddrs(struct ifaddrs **ifap);
+
 #ifdef __cplusplus
 }
 #endif
 #ifdef __cplusplus
 }
 #endif