mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-26 22:55:30 +00:00
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.
This commit is contained in:
parent
36ea49b686
commit
7220080972
10
spice.proto
10
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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user