From 46f22621759d388f7cef4bf0d2ac03667a5d611e Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Mon, 7 Nov 2016 12:53:59 +0100 Subject: prepares the api for sending and mixing messages in the realtime phase. --- libcmix-protobuf/cmix.proto | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'libcmix-protobuf/cmix.proto') 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; } } -- cgit v1.2.3-70-g09d2