diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-08-08 11:06:40 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-08-27 09:02:05 +0300 |
commit | c6bd210ad0b6eb485fda25426ab9d75253439f54 (patch) | |
tree | de203cff8a0064821eae2ed76a0f45adca40a99f | |
parent | c0b048ebef41b3a79d42e96c0ecaef65e1bb7599 (diff) |
add SPICE_MSG_MAIN_AGENT_CONNECTED_TOKENS
The msg is used for setting the number of allocated client tokens when
we notify the client that the agent is attached.
-rw-r--r-- | common/messages.h | 2 | ||||
m--------- | spice-protocol | 0 | ||||
-rw-r--r-- | spice.proto | 4 |
3 files changed, 6 insertions, 0 deletions
diff --git a/common/messages.h b/common/messages.h index b5f3368..6df0fc3 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 -Subproject 473a14b39fd7568e50456c61c95d89c742427ca +Subproject c20bc58c4e44b6403b7e7a9efc4f12dee0fc100 diff --git a/spice.proto b/spice.proto index 29d6a8b..271e35d 100644 --- a/spice.proto +++ b/spice.proto @@ -263,6 +263,10 @@ channel MainChannel : BaseChannel { uint8 uuid[16]; } uuid; + message { + uint32 num_tokens; + } agent_connected_tokens; + client: message { uint64 cache_size; |