summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2015-12-17 15:02:06 +0100
committerFelix Fietkau <nbd@openwrt.org>2015-12-19 12:28:27 +0100
commit6a84e770ed9f4ea0ffe9b20625f8f15868f5424b (patch)
tree76b0a4e871ff0f595e3e087b68d47315b21b1cbc /interface.h
parent245527193e90906451be35c2b8e972b8712ea6ab (diff)
downloadnetifd-6a84e770ed9f4ea0ffe9b20625f8f15868f5424b.tar.gz
interface: Trigger interface update event when interface data is updated via ubus
Interface update event will trigger an interface hotplug event and an ubus notify event which will inform subscribers about the updated interface data field Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface.h b/interface.h
index 6f9112c..c2049f1 100644
--- a/interface.h
+++ b/interface.h
@@ -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);