[spice-common PATCH 1/2] add SPICE_MSG_MAIN_AGENT_CONNECTED_TOKENS

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

 



The msg is used for setting the number of allocated client tokens when
we notify the client that the agent is attached.
---
 common/messages.h |    2 ++
 spice-protocol    |    2 +-
 spice.proto       |    4 ++++
 3 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/common/messages.h b/common/messages.h
index 2b6d68a..6ab435d 100644
--- a/common/messages.h
+++ b/common/messages.h
@@ -189,6 +189,8 @@ typedef struct SpiceMsgMainAgentTokens {
     uint32_t num_tokens;
 } SpiceMsgMainAgentTokens, SpiceMsgcMainAgentTokens, SpiceMsgcMainAgentStart;
 
+typedef struct SpiceMsgMainAgentTokens SpiceMsgMainAgentConnectedTokens;
+
 typedef struct SpiceMsgcClientInfo {
     uint64_t cache_size;
 } SpiceMsgcClientInfo;
diff --git a/spice-protocol b/spice-protocol
index da908f8..f6907ba 160000
--- a/spice-protocol
+++ b/spice-protocol
@@ -1 +1 @@
-Subproject commit da908f89b581fd4725da997fdaea209f8e6548f6
+Subproject commit f6907ba2846134cb65104dd412eaf753b943c123
diff --git a/spice.proto b/spice.proto
index 1fdead9..ecce4ef 100644
--- a/spice.proto
+++ b/spice.proto
@@ -232,6 +232,10 @@ channel MainChannel : BaseChannel {
        uint8 uuid[16];
     } uuid;
 
+    message {
+        uint32 num_tokens;
+    } agent_connected_tokens;
+
  client:
     message {
 	uint64 cache_size;
-- 
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]