X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=ubus.h;h=541962258bb186429d5cf6386b363779e9938c24;hb=7335c3e19ea09674245dda3653d3f40705e68d6b;hp=05bf39110c18fb2dd4e33c5a36e14c7060cb056d;hpb=bfe5db1ea8018aaa940dc6e991110fac62b85516;p=project%2Fnetifd.git diff --git a/ubus.h b/ubus.h index 05bf391..5419622 100644 --- a/ubus.h +++ b/ubus.h @@ -14,10 +14,13 @@ #ifndef __NETIFD_UBUS_H #define __NETIFD_UBUS_H +extern struct ubus_context *ubus_ctx; + int netifd_ubus_init(const char *path); void netifd_ubus_done(void); void netifd_ubus_add_interface(struct interface *iface); void netifd_ubus_remove_interface(struct interface *iface); void netifd_ubus_interface_event(struct interface *iface, bool up); +void netifd_ubus_interface_notify(struct interface *iface, bool up); #endif