summaryrefslogtreecommitdiffstats
path: root/server/spice.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-03-09 14:51:40 +0100
committerAlexander Larsson <alexl@redhat.com>2010-03-09 14:51:40 +0100
commit0c23da34c569540480bac86a124f1ee3ac0ad341 (patch)
tree8d48a023c85e20f9ecfc90ec7ecb5a3174a4aea2 /server/spice.h
parentd60d3eda889756e080ebe3271cae73488442ca2c (diff)
downloadspice-0c23da34c569540480bac86a124f1ee3ac0ad341.tar.gz
spice-0c23da34c569540480bac86a124f1ee3ac0ad341.tar.xz
spice-0c23da34c569540480bac86a124f1ee3ac0ad341.zip
new libspice api: make spice_channel_name_t part of the public api.
Diffstat (limited to 'server/spice.h')
-rw-r--r--server/spice.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/server/spice.h b/server/spice.h
index cda462f4..e2a516bd 100644
--- a/server/spice.h
+++ b/server/spice.h
@@ -63,4 +63,19 @@ int spice_server_set_image_compression(SpiceServer *s,
spice_image_compression_t comp);
spice_image_compression_t spice_server_get_image_compression(SpiceServer *s);
+typedef enum {
+ SPICE_CHANNEL_NAME_INVALID = 0,
+ SPICE_CHANNEL_NAME_MAIN = 1,
+ SPICE_CHANNEL_NAME_DISPLAY,
+ SPICE_CHANNEL_NAME_INPUTS,
+ SPICE_CHANNEL_NAME_CURSOR,
+ SPICE_CHANNEL_NAME_PLAYBACK,
+ SPICE_CHANNEL_NAME_RECORD,
+ SPICE_CHANNEL_NAME_TUNNEL,
+ SPICE_CHANNEL_NAME_ALL = 999,
+} spice_channel_name_t;
+
+#define SPICE_CHANNEL_SECURITY_NONE (1 << 0)
+#define SPICE_CHANNEL_SECURITY_SSL (1 << 1)
+
#endif