interface: Trigger interface update event when interface data is updated via ubus
[project/netifd.git] / interface.h
index 6f9112c..c2049f1 100644 (file)
@@ -193,6 +193,7 @@ void interface_add_error(struct interface *iface, const char *subsystem,
                         const char *code, const char **data, int n_data);
 
 int interface_add_data(struct interface *iface, const struct blob_attr *data);
+int interface_parse_data(struct interface *iface, const struct blob_attr *attr);
 
 void interface_update_start(struct interface *iface);
 void interface_update_complete(struct interface *iface);