From f782148ef2be32343f13b033c0df04a56fb9c38e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 11 Sep 2011 16:29:43 +0200 Subject: add an interface for notifying protocol handlers of state changes via ubus --- proto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'proto.h') 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 *); }; -- cgit v1.2.1