[spice-protocol PATCH 1/2] add SPICE_MSG_MAIN_AGENT_CONNECTED_TOKENS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]