diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-03-04 10:57:07 +0100 |
---|---|---|
committer | Uri Lublin <uril@redhat.com> | 2010-03-08 04:15:36 +0200 |
commit | 4820656a1b6e6b82466ba9ed354a29289ec925ab (patch) | |
tree | fed20ef7fa5a757bcf306bf78b0422628c5434a5 /server/spice.h | |
parent | 79e2461c73a79557b47f9cf29f6f602196306c38 (diff) | |
download | spice-4820656a1b6e6b82466ba9ed354a29289ec925ab.tar.gz spice-4820656a1b6e6b82466ba9ed354a29289ec925ab.tar.xz spice-4820656a1b6e6b82466ba9ed354a29289ec925ab.zip |
new libspice api: make spice_channel_t part of the public api.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
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 |