[PATCH spice-protocol v2 1/2] Update enums.h for preferred compression message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]