remove obsolete /opt/local prefix on Mac OS X
[project/netifd.git] / ubus.h
diff --git a/ubus.h b/ubus.h
index 05bf391..5419622 100644 (file)
--- a/ubus.h
+++ b/ubus.h
 #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