From ad101705ae1a16036404092848789472cd70e006 Mon Sep 17 00:00:00 2001 From: drebs Date: Tue, 19 Mar 2013 11:23:58 -0300 Subject: Add notification .proto file. --- src/leap/common/ipc/notification.proto | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/leap/common/ipc/notification.proto (limited to 'src/leap/common/ipc/notification.proto') diff --git a/src/leap/common/ipc/notification.proto b/src/leap/common/ipc/notification.proto new file mode 100644 index 0000000..4ae0406 --- /dev/null +++ b/src/leap/common/ipc/notification.proto @@ -0,0 +1,23 @@ +// https://developers.google.com/protocol-buffers/docs/pythontutorial +// https://developers.google.com/protocol-buffers/docs/reference/python-generated + +package leap.common; + +message Notification { + + enum Component { + client = 0; + soledad = 1; + eip = 2; + smtp_relay = 3; + mx = 4; + } + + required int32 id = 1; + required Component component = 2; + required string content = 3; + required string mac_method = 4; + required bytes mac = 5; + optional string enc_method = 6; + optional bool error_occurred = 7; +} -- cgit v1.2.3