summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-03-30 10:08:51 +0200
committerSteven Barth <steven@midlink.org>2015-03-30 10:08:51 +0200
commita517d7bf98b1a30106e980a3952f106908739048 (patch)
tree2cecbc883c57f118461e5be6aa271055ecf93726
parentef74d8ae3d22dc3acba6d583c0de2983ada57f13 (diff)
Readd missing ubus function definitions
-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);