diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2010-07-12 14:16:31 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2010-07-14 12:16:23 +0300 |
commit | c90183da944001e466f60acb58a5052c353995ca (patch) | |
tree | be150b79a21c786d42afd371fde0cbd8c7d8b24b /server/spice.h | |
parent | b1761377d17c2c64cb52bf4c77972a122874eaf4 (diff) | |
download | spice-c90183da944001e466f60acb58a5052c353995ca.tar.gz spice-c90183da944001e466f60acb58a5052c353995ca.tar.xz spice-c90183da944001e466f60acb58a5052c353995ca.zip |
server: enabling/disabling jpeg and zlib-over-glz via spice command line args
Diffstat (limited to 'server/spice.h')
-rw-r--r-- | server/spice.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/server/spice.h b/server/spice.h index 3c2c32e2..2cb8a752 100644 --- a/server/spice.h +++ b/server/spice.h @@ -341,6 +341,16 @@ 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_WAN_COMPRESSION_INVALID, + SPICE_WAN_COMPRESSION_AUTO, + SPICE_WAN_COMPRESSION_ALWAYS, + SPICE_WAN_COMPRESSION_NEVER, +} spice_wan_compression_t; + +int spice_server_set_jpeg_compression(SpiceServer *s, spice_wan_compression_t comp); +int spice_server_set_zlib_glz_compression(SpiceServer *s, spice_wan_compression_t comp); + #define SPICE_CHANNEL_SECURITY_NONE (1 << 0) #define SPICE_CHANNEL_SECURITY_SSL (1 << 1) |