projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add code to set ip addresses when an interface with the static proto is brought up
[project/netifd.git]
/
netifd.h
diff --git
a/netifd.h
b/netifd.h
index
17b839b
..
b70b73c
100644
(file)
--- a/
netifd.h
+++ b/
netifd.h
@@
-19,11
+19,15
@@
#define DPRINTF(...) do {} while(0)
#endif
#define DPRINTF(...) do {} while(0)
#endif
+#define __init __attribute__((constructor))
+
struct device;
struct interface;
extern struct uci_context *uci_ctx;
struct device;
struct interface;
extern struct uci_context *uci_ctx;
+extern bool config_init;
+int avl_strcmp(const void *k1, const void *k2, void *ptr);
void config_init_interfaces(const char *name);
#endif
void config_init_interfaces(const char *name);
#endif