summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/odhcpd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index 95dcb00..1ada4aa 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -204,6 +204,13 @@ void odhcpd_bmemcpy(void *av, const void *bv, size_t bits);
int config_parse_interface(void *data, size_t len, const char *iname, bool overwrite);
+#ifdef WITH_UBUS
+int init_ubus(void);
+const char* ubus_get_ifname(const char *name);
+void ubus_apply_network(void);
+bool ubus_has_prefix(const char *name, const char *ifname);
+#endif
+
// Exported module initializers
int init_router(void);