summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/messages.h9
-rw-r--r--spice.proto10
2 files changed, 19 insertions, 0 deletions
diff --git a/common/messages.h b/common/messages.h
index a54190f..ec58da5 100644
--- a/common/messages.h
+++ b/common/messages.h
@@ -149,6 +149,15 @@ typedef struct SpiceMsgChannels {
SpiceChannelId channels[0];
} SpiceMsgChannels;
+typedef struct SpiceMsgMainName {
+ uint32_t name_len;
+ uint8_t name[0];
+} SpiceMsgMainName;
+
+typedef struct SpiceMsgMainUuid {
+ uint8_t uuid[16];
+} SpiceMsgMainUuid;
+
typedef struct SpiceMsgMainMouseMode {
uint32_t supported_modes;
uint32_t current_mode;
diff --git a/spice.proto b/spice.proto
index 0e15fe7..ae27c8d 100644
--- a/spice.proto
+++ b/spice.proto
@@ -134,6 +134,7 @@ channel BaseChannel {
} notify;
Data list; /* the msg body is SpiceSubMessageList */
+
client:
message {
uint32 generation;
@@ -222,6 +223,15 @@ channel MainChannel : BaseChannel {
Empty migrate_end;
+ message {
+ uint32 name_len;
+ uint8 name[name_len];
+ } name;
+
+ message {
+ uint8 uuid[16];
+ } uuid;
+
client:
message {
uint64 cache_size;