aboutsummaryrefslogtreecommitdiff
path: root/libcmix-protobuf
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-11-07 12:53:59 +0100
committerDennis Brentjes <d.brentjes@gmail.com>2016-11-07 12:53:59 +0100
commit46f22621759d388f7cef4bf0d2ac03667a5d611e (patch)
treeb26cd49fe2552680eb16d9008695c8f56e757ded /libcmix-protobuf
parent7e21069bea9e8e6276591eee98f22cb07d67392d (diff)
downloadcmix-46f22621759d388f7cef4bf0d2ac03667a5d611e.tar.gz
cmix-46f22621759d388f7cef4bf0d2ac03667a5d611e.tar.bz2
cmix-46f22621759d388f7cef4bf0d2ac03667a5d611e.zip
prepares the api for sending and mixing messages in the realtime phase.
Diffstat (limited to 'libcmix-protobuf')
-rw-r--r--libcmix-protobuf/cmix.proto12
1 files changed, 9 insertions, 3 deletions
diff --git a/libcmix-protobuf/cmix.proto b/libcmix-protobuf/cmix.proto
index e048fef..9ff5bb2 100644
--- a/libcmix-protobuf/cmix.proto
+++ b/libcmix-protobuf/cmix.proto
@@ -29,6 +29,11 @@ message NodeReady {
}
+message UserMessage {
+ required bytes r_M = 1;
+ required bytes m_M = 2;
+}
+
message PrePre {
repeated bytes r_ER = 1;
repeated bytes m_ER = 2;
@@ -53,8 +58,9 @@ message CMixMessage {
Bye bye = 5;
KeyExchange keyexchange = 6;
NodeReady nodeready = 7;
- PrePre prepre = 8;
- PreMix premix = 9;
- PrePost prepost = 10;
+ UserMessage usermessage = 8;
+ PrePre prepre = 9;
+ PreMix premix = 10;
+ PrePost prepost = 11;
}
}