projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proto-shell: remove the device user before issuing the protocol down event
[project/netifd.git]
/
netifd.h
diff --git
a/netifd.h
b/netifd.h
index
17b839b
..
be29b3c
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>
-#ifdef DEBUG
-#define DPRINTF(format, ...) fprintf(stderr, "%s(%d): " format, __func__, __LINE__, ## __VA_ARGS__)
-#else
-#define DPRINTF(...) do {} while(0)
-#endif
+#include "utils.h"
struct device;
struct interface;
struct device;
struct interface;
-extern struct uci_context *uci_ctx;
-
-void config_init_interfaces(const char *name);
+extern const char *main_path;
+void netifd_restart(void);
#endif
#endif