[Spice-devel] [PATCH] Update enums.h for preferred compression message
Javier Celaya
javier.celaya at flexvm.es
Fri Apr 17 03:40:12 PDT 2015
---
spice/enums.h | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/spice/enums.h b/spice/enums.h
index 18e2f74..6a0ab0b 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -181,6 +181,19 @@ typedef enum SpiceImageType {
SPICE_IMAGE_TYPE_ENUM_END
} SpiceImageType;
+typedef enum SpiceImageCompress {
+ SPICE_IMAGE_COMPRESS_INVALID,
+ SPICE_IMAGE_COMPRESS_OFF,
+ SPICE_IMAGE_COMPRESS_AUTO_GLZ,
+ SPICE_IMAGE_COMPRESS_AUTO_LZ,
+ SPICE_IMAGE_COMPRESS_QUIC,
+ SPICE_IMAGE_COMPRESS_GLZ,
+ SPICE_IMAGE_COMPRESS_LZ,
+ SPICE_IMAGE_COMPRESS_LZ4,
+
+ SPICE_IMAGE_COMPRESS_ENUM_END
+} SpiceImageCompress;
+
typedef enum SpiceImageFlags {
SPICE_IMAGE_FLAGS_CACHE_ME = (1 << 0),
SPICE_IMAGE_FLAGS_HIGH_BITS_SET = (1 << 1),
@@ -497,6 +510,7 @@ enum {
enum {
SPICE_MSGC_DISPLAY_INIT = 101,
SPICE_MSGC_DISPLAY_STREAM_REPORT,
+ SPICE_MSGC_DISPLAY_PREFERRED_COMPRESSION,
SPICE_MSGC_END_DISPLAY
};
--
1.9.3
More information about the Spice-devel
mailing list