mirror of git://git.musl-libc.org/musl
include/ifaddrs.h: add prototypes for get/freeifaddrs
This commit is contained in:
parent
202db37a6f
commit
b3792c8891
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue