summaryrefslogtreecommitdiffstats
path: root/server/spice.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-03-04 10:57:05 +0100
committerUri Lublin <uril@redhat.com>2010-03-08 04:15:35 +0200
commit91305188c2adaf53964829543346962499943409 (patch)
tree1468f8648f0a450b835d4ab43e89c565e0318fb8 /server/spice.h
parent3a9ef3f6cff9048124535a398c5d5b17de5d8614 (diff)
downloadspice-91305188c2adaf53964829543346962499943409.tar.gz
spice-91305188c2adaf53964829543346962499943409.tar.xz
spice-91305188c2adaf53964829543346962499943409.zip
new libspice api: make image_compression_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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/server/spice.h b/server/spice.h
index be0df427..39fadc96 100644
--- a/server/spice.h
+++ b/server/spice.h
@@ -49,4 +49,14 @@ int spice_server_add_interface(SpiceServer *s, VDInterface *interface);
int spice_server_remove_interface(SpiceServer *s, VDInterface *interface);
int spice_server_kbd_leds(SpiceServer *s, KeyboardInterface *kbd, int leds);
+typedef enum {
+ SPICE_IMAGE_COMPRESS_INVALID = 0,
+ SPICE_IMAGE_COMPRESS_OFF = 1,
+ SPICE_IMAGE_COMPRESS_AUTO_GLZ = 2,
+ SPICE_IMAGE_COMPRESS_AUTO_LZ = 3,
+ SPICE_IMAGE_COMPRESS_QUIC = 4,
+ SPICE_IMAGE_COMPRESS_GLZ = 5,
+ SPICE_IMAGE_COMPRESS_LZ = 6,
+} spice_image_compression_t;
+
#endif