summaryrefslogtreecommitdiffstats
path: root/server/red_common.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/red_common.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/red_common.h')
-rw-r--r--server/red_common.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/server/red_common.h b/server/red_common.h
index 4a847483..7f6fdbc4 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 <spice/protocol.h>
#include <spice/macros.h>
@@ -62,16 +63,6 @@
} \
}
-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,