diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-03-04 10:57:05 +0100 |
---|---|---|
committer | Uri Lublin <uril@redhat.com> | 2010-03-08 04:15:35 +0200 |
commit | 91305188c2adaf53964829543346962499943409 (patch) | |
tree | 1468f8648f0a450b835d4ab43e89c565e0318fb8 /server/red_common.h | |
parent | 3a9ef3f6cff9048124535a398c5d5b17de5d8614 (diff) | |
download | spice-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/red_common.h')
-rw-r--r-- | server/red_common.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/server/red_common.h b/server/red_common.h index 49ba3ad3..4f46d8b1 100644 --- a/server/red_common.h +++ b/server/red_common.h @@ -21,6 +21,7 @@ #include <sys/uio.h> #include <openssl/ssl.h> +#include "spice.h" #include "red.h" #ifndef MIN @@ -78,16 +79,6 @@ #define CONTAINEROF(ptr, type, member) \ ((type *)((uint8_t *)(ptr) - OFFSETOF(type, member))) -typedef enum { - IMAGE_COMPRESS_INVALID, - IMAGE_COMPRESS_AUTO_GLZ, - IMAGE_COMPRESS_AUTO_LZ, - IMAGE_COMPRESS_QUIC, - IMAGE_COMPRESS_GLZ, - IMAGE_COMPRESS_LZ, - IMAGE_COMPRESS_OFF, -} image_compression_t; - enum { STREAM_VIDEO_INVALID, STREAM_VIDEO_OFF, |