[Spice-devel] [spice-protocol PATCH 1/2] add SPICE_MSG_MAIN_AGENT_CONNECTED_TOKENS

Yonit Halperin yhalperi at redhat.com
Wed Aug 15 00:55:37 PDT 2012


Similarly to SPICE_MSG_AGENT_CONNECTED, the msg notifies the main
channel about attaching an agent. In addition the msg also contains the
number of tokens allocated to the client.
---
 spice/enums.h    |    1 +
 spice/protocol.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/spice/enums.h b/spice/enums.h
index c4e38aa..2cc7e93 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -383,6 +383,7 @@ enum {
     SPICE_MSG_MAIN_MIGRATE_END,
     SPICE_MSG_MAIN_NAME,
     SPICE_MSG_MAIN_UUID,
+    SPICE_MSG_MAIN_AGENT_CONNECTED_TOKENS,
 
     SPICE_MSG_END_MAIN
 };
diff --git a/spice/protocol.h b/spice/protocol.h
index c0d33e6..0408962 100644
--- a/spice/protocol.h
+++ b/spice/protocol.h
@@ -120,6 +120,7 @@ enum {
 enum {
     SPICE_MAIN_CAP_SEMI_SEAMLESS_MIGRATE,
     SPICE_MAIN_CAP_NAME_AND_UUID,
+    SPICE_MAIN_CAP_AGENT_CONNECTED_TOKENS,
 };
 
 enum {
-- 
1.7.7.6



More information about the Spice-devel mailing list