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