projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eliminate costly tricks to avoid TLS access for current locale state
[musl]
/
include
/
netinet
/
ether.h
diff --git
a/include/netinet/ether.h
b/include/netinet/ether.h
index
c5179d5
..
eec7e53
100644
(file)
--- a/
include/netinet/ether.h
+++ b/
include/netinet/ether.h
@@
-1,14
+1,22
@@
#ifndef _NETINET_ETHER_H
#define _NETINET_ETHER_H
#ifndef _NETINET_ETHER_H
#define _NETINET_ETHER_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <netinet/if_ether.h>
char *ether_ntoa (const struct ether_addr *);
#include <netinet/if_ether.h>
char *ether_ntoa (const struct ether_addr *);
-
struct ether_addr *ether_aton (const char *);
struct ether_addr *ether_aton (const char *);
-
char *ether_ntoa_r (const struct ether_addr *, char *);
char *ether_ntoa_r (const struct ether_addr *, char *);
-
struct ether_addr *ether_aton_r (const char *, struct ether_addr *);
struct ether_addr *ether_aton_r (const char *, struct ether_addr *);
+int ether_line(const char *, struct ether_addr *, char *);
+int ether_ntohost(char *, const struct ether_addr *);
+int ether_hostton(const char *, struct ether_addr *);
+
+#ifdef __cplusplus
+}
+#endif
#endif
#endif