diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-11 16:29:43 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-09-11 16:29:43 +0200 |
commit | f782148ef2be32343f13b033c0df04a56fb9c38e (patch) | |
tree | 285da65c13fc389d963664f9bcb58ead5f205611 /proto.h | |
parent | 0b29011386305b9364ed25609b0dcfe351c610c5 (diff) |
add an interface for notifying protocol handlers of state changes via ubus
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 *); }; |