mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-29 08:47:11 +00:00
Add port channel enum values
The channel is based on Spicevmc which simply tunnels data between client and server. A few messages have been added: SPICE_MSG_PORT_INIT: Describes the port state and fqdn name, should be sent only once when the client connects. SPICE_MSG_PORT_EVENT: Server port event. SPICE_PORT_EVENT_OPENED and SPICE_PORT_EVENT_CLOSED are typical values when the chardev is opened or closed. SPICE_MSGC_PORT_EVENT: Client port event. (See related spice.proto change in spice-common)
This commit is contained in:
parent
5b6127b207
commit
52ac6053a7
@ -375,6 +375,7 @@ enum {
|
||||
SPICE_CHANNEL_TUNNEL,
|
||||
SPICE_CHANNEL_SMARTCARD,
|
||||
SPICE_CHANNEL_USBREDIR,
|
||||
SPICE_CHANNEL_PORT,
|
||||
|
||||
SPICE_END_CHANNEL
|
||||
};
|
||||
@ -596,4 +597,17 @@ enum {
|
||||
SPICE_MSGC_END_SPICEVMC
|
||||
};
|
||||
|
||||
enum {
|
||||
SPICE_MSG_PORT_INIT = 201,
|
||||
SPICE_MSG_PORT_EVENT,
|
||||
|
||||
SPICE_MSG_END_PORT
|
||||
};
|
||||
|
||||
enum {
|
||||
SPICE_MSGC_PORT_EVENT = 201,
|
||||
|
||||
SPICE_MSGC_END_PORT
|
||||
};
|
||||
|
||||
#endif /* _H_SPICE_ENUMS */
|
||||
|
||||
@ -135,6 +135,12 @@ enum {
|
||||
SPICE_INPUTS_CAP_KEY_SCANCODE,
|
||||
};
|
||||
|
||||
enum {
|
||||
SPICE_PORT_EVENT_OPENED,
|
||||
SPICE_PORT_EVENT_CLOSED,
|
||||
SPICE_PORT_EVENT_BREAK,
|
||||
};
|
||||
|
||||
#include <spice/end-packed.h>
|
||||
|
||||
#endif /* _H_SPICE_PROTOCOL */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user