summaryrefslogtreecommitdiffstats
path: root/server/spice.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-03-09 14:29:51 +0100
committerAlexander Larsson <alexl@redhat.com>2010-03-09 14:29:51 +0100
commit505f7d8832a961d44ca2bb477c36d5bf8c4e1e7b (patch)
treea3d30b57a83502e7e564581c6a4d54ead146fc94 /server/spice.h
parent2e1b66143497d58ee503336b1c084f8792697598 (diff)
downloadspice-505f7d8832a961d44ca2bb477c36d5bf8c4e1e7b.tar.gz
spice-505f7d8832a961d44ca2bb477c36d5bf8c4e1e7b.tar.xz
spice-505f7d8832a961d44ca2bb477c36d5bf8c4e1e7b.zip
new libspice api: make image_compression_t part of the public api.
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