Add OpenWRT ubus patch

Originally written by John Crispin <john@phrozen.org>
This commit is contained in:
Julian Kornberger
2018-07-21 21:45:03 +01:00
committed by Simon Kelley
parent 3b6eb197a8
commit caf4d571e6
6 changed files with 32 additions and 6 deletions

View File

@@ -1445,6 +1445,13 @@ void emit_dbus_signal(int action, struct dhcp_lease *lease, char *hostname);
# endif
#endif
/* ubus.c */
#ifdef HAVE_UBUS
void set_ubus_listeners(void);
void check_ubus_listeners(void);
void ubus_event_bcast(const char *type, const char *mac, const char *ip, const char *name, const char *interface);
#endif
/* ipset.c */
#ifdef HAVE_IPSET
void ipset_init(void);