From 36d8da628380e7a63df893846f96ee608b2e1af8 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Fri, 2 Mar 2012 13:45:15 +0100 Subject: Send name & uuid to capable clients Add spice_server_set_name() and spice_server_set_uuid() that allows the client to identify a Spice server (useful to associate settings with a particular server) The SPICE_MSG_MAIN_NAME and SPICE_MSG_MAIN_UUID messages are only sent to capable clients, announcing SPICE_MAIN_CAP_NAME_AND_UUID. --- spice.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'spice.proto') diff --git a/spice.proto b/spice.proto index 0e15fe72..ae27c8d0 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; -- cgit