summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2012-08-08 10:44:27 +0300
committerYonit Halperin <yhalperi@redhat.com>2012-08-27 08:59:46 +0300
commitc20bc58c4e44b6403b7e7a9efc4f12dee0fc100e (patch)
tree1896e410952083300d6a35994d6aefae1bd02cb2
parent473a14b39fd7568e50456c61c95d89c742427ca1 (diff)
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.
-rw-r--r--spice/enums.h1
-rw-r--r--spice/protocol.h1
2 files changed, 2 insertions, 0 deletions
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 {