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 96b5ae9001fe86d8ebf4adba3278e64d58e9783b..800eef65971ff2075c77209aeabc1dd930cca85d 100644 (file)
@@ -23,6 +23,9 @@ struct ifaddrs {
 #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