summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Celaya <javier.celaya@flexvdi.com>2015-06-01 16:47:12 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-06-01 17:21:44 +0200
commitda3cf3369ae82d0736d4c21f938188b21f1fc8eb (patch)
tree10b758e3ce753456092c45f92db5635e8374b7ab
parent83dd73ba881dab3e6ffc8c220a4107d4434e82a2 (diff)
Update enums.h for preferred compression message
-rw-r--r--spice/enums.h14
1 files changed, 14 insertions, 0 deletions
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
};