From c20bc58c4e44b6403b7e7a9efc4f12dee0fc100e Mon Sep 17 00:00:00 2001 From: Yonit Halperin Date: Wed, 8 Aug 2012 10:44:27 +0300 Subject: [PATCH] add SPICE_MSG_MAIN_AGENT_CONNECTED_TOKENS 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(+) diff --git a/spice/enums.h b/spice/enums.h index 7691dd3..57d8f3b 100644 --- a/spice/enums.h +++ b/spice/enums.h @@ -414,6 +414,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 a0b3004..108f044 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 {