summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-11 16:29:43 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-09-11 16:29:43 +0200
commitf782148ef2be32343f13b033c0df04a56fb9c38e (patch)
tree285da65c13fc389d963664f9bcb58ead5f205611 /proto.h
parent0b29011386305b9364ed25609b0dcfe351c610c5 (diff)
downloadnetifd-f782148ef2be32343f13b033c0df04a56fb9c38e.tar.gz
add an interface for notifying protocol handlers of state changes via ubus
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index e066b43..c1b97b2 100644
--- a/proto.h
+++ b/proto.h
@@ -28,6 +28,7 @@ struct interface_proto_state {
void (*proto_event)(struct interface_proto_state *, enum interface_proto_event ev);
/* filled in by the protocol handler */
+ int (*notify)(struct interface_proto_state *, struct blob_attr *data);
int (*cb)(struct interface_proto_state *, enum interface_proto_cmd cmd, bool force);
void (*free)(struct interface_proto_state *);
};