summaryrefslogtreecommitdiff
path: root/src/leap/common/events/events.proto
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/common/events/events.proto')
-rw-r--r--src/leap/common/events/events.proto8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/leap/common/events/events.proto b/src/leap/common/events/events.proto
index 447b038..a813ed1 100644
--- a/src/leap/common/events/events.proto
+++ b/src/leap/common/events/events.proto
@@ -49,6 +49,13 @@ message RegisterRequest {
required bytes mac = 4;
}
+message UnregisterRequest {
+ required Event event = 1;
+ required int32 port = 2;
+ required string mac_method = 3;
+ required bytes mac = 4;
+}
+
message EventResponse {
enum Status {
@@ -63,6 +70,7 @@ message EventResponse {
service EventsServerService {
rpc register(RegisterRequest) returns (EventResponse);
+ rpc unregister(UnregisterRequest) returns (EventResponse);
rpc signal(SignalRequest) returns (EventResponse);
}