diff options
Diffstat (limited to 'server/spice.h')
-rw-r--r-- | server/spice.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/server/spice.h b/server/spice.h index cda462f4..1f9d8eff 100644 --- a/server/spice.h +++ b/server/spice.h @@ -63,4 +63,20 @@ int spice_server_set_image_compression(SpiceServer *s, spice_image_compression_t comp); spice_image_compression_t spice_server_get_image_compression(SpiceServer *s); +/* numbers should match the upstream spice-protocol ones */ +typedef enum { + SPICE_CHANNEL_INVALID = 0, + SPICE_CHANNEL_MAIN = 1, + SPICE_CHANNEL_DISPLAY, + SPICE_CHANNEL_INPUTS, + SPICE_CHANNEL_CURSOR, + SPICE_CHANNEL_PLAYBACK, + SPICE_CHANNEL_RECORD, + SPICE_CHANNEL_TUNNEL, + SPICE_CHANNEL_ALL = 999, +} spice_channel_t; + +#define SPICE_CHANNEL_SECURITY_NON (1 << 0) +#define SPICE_CHANNEL_SECURITY_SSL (1 << 1) + #endif |