include/ifaddrs.h: add prototypes for get/freeifaddrs

This commit is contained in:
rofl0r 2013-04-05 19:59:40 +02:00
parent 202db37a6f
commit b3792c8891
1 changed files with 3 additions and 0 deletions

View File

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