From a517d7bf98b1a30106e980a3952f106908739048 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 30 Mar 2015 10:08:51 +0200 Subject: [PATCH] Readd missing ubus function definitions --- src/odhcpd.h | 7 +++++++ 1 file changed, 7 insertions(+) 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); -- 2.11.0