From: Steven Barth Date: Mon, 30 Mar 2015 08:08:51 +0000 (+0200) Subject: Readd missing ubus function definitions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a517d7bf98b1a30106e980a3952f106908739048;p=project%2Fodhcpd.git Readd missing ubus function definitions --- 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);