projects
/
oweals
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add linux system library
[oweals/netifd.git]
/
netifd.h
diff --git
a/netifd.h
b/netifd.h
index fabf4d9d21a4f419d131f263f0d8b87806ef655f..be29b3cc8c213e5cb984b4c63197f81c9910b89a 100644
(file)
--- a/
netifd.h
+++ b/
netifd.h
@@
-7,23
+7,16
@@
#include <stdbool.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdio.h>
-#include <libubox/list.h>
#include <libubox/uloop.h>
#include <libubus.h>
#include <libubox/uloop.h>
#include <libubus.h>
-#include <uci.h>
-#include "device.h"
-#include "interface.h"
+#include "utils.h"
-#ifdef DEBUG
-#define DPRINTF(format, ...) fprintf(stderr, "%s(%d): " format, __func__, __LINE__, ## __VA_ARGS__)
-#else
-#define DPRINTF(...) do {} while(0)
-#endif
-
-extern struct uci_context *uci_ctx;
+struct device;
+struct interface;
-void config_init_interfaces(const char *name);
+extern const char *main_path;
+void netifd_restart(void);
#endif
#endif