projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
202db37
)
include/ifaddrs.h: add prototypes for get/freeifaddrs
author
rofl0r
<retnyg@gmx.net>
Fri, 5 Apr 2013 17:59:40 +0000
(19:59 +0200)
committer
rofl0r
<retnyg@gmx.net>
Fri, 5 Apr 2013 17:59:40 +0000
(19:59 +0200)
include/ifaddrs.h
patch
|
blob
|
history
diff --git
a/include/ifaddrs.h
b/include/ifaddrs.h
index 96b5ae9001fe86d8ebf4adba3278e64d58e9783b..800eef65971ff2075c77209aeabc1dd930cca85d 100644
(file)
--- a/
include/ifaddrs.h
+++ b/
include/ifaddrs.h
@@
-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