[Spice-devel] [PATCH spice-gtk] proto: add fake last message in base channel

Marc-André Lureau marcandre.lureau at gmail.com
Tue Sep 10 14:13:01 PDT 2013


Make it explicit that 100 is the last value of the base channel
messages. This allows clients to use the generated enum value too.
---
 spice.proto | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/spice.proto b/spice.proto
index 8aa35c1..acd5155 100644
--- a/spice.proto
+++ b/spice.proto
@@ -166,6 +166,8 @@ channel BaseChannel {
 
     Data list; /* the msg body is SpiceSubMessageList */
 
+    Empty base_last = 100;
+
  client:
     message {
 	uint32 generation;
-- 
1.8.3.1



More information about the Spice-devel mailing list