add an ubus call for restarting netifd
[project/netifd.git] / netifd.h
index 2535972..916b79e 100644 (file)
--- a/netifd.h
+++ b/netifd.h
 #include <libubox/uloop.h>
 
 #include <libubus.h>
-#include <uci.h>
 
 #include "utils.h"
 
 struct device;
 struct interface;
 
-extern struct uci_context *uci_ctx;
-extern bool config_init;
-
-void config_init_interfaces(const char *name);
+void netifd_restart(void);
 
 #endif