summaryrefslogtreecommitdiff
path: root/src/leap/common/ipc/notification.proto
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/common/ipc/notification.proto')
-rw-r--r--src/leap/common/ipc/notification.proto23
1 files changed, 23 insertions, 0 deletions
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;
+}