[RFC protocol 2/2] Adding LZ4 compression common caps and LZ4 stream type

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

 



Assuming LZ4 capabilities could handle both LZ4 stream message
and regular LZ4 compressed message
---
 spice/enums.h    | 1 +
 spice/protocol.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/spice/enums.h b/spice/enums.h
index a931497..136813c 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -124,6 +124,7 @@ typedef enum SpicePubkeyType {
 typedef enum SpiceDataCompressionType {
     SPICE_DATA_COMPRESSION_TYPE_NONE,
     SPICE_DATA_COMPRESSION_TYPE_LZ4,
+    SPICE_DATA_COMPRESSION_TYPE_STREAM_LZ4,
 
     SPICE_DATA_COMPRESSION_TYPE_ENUM_END
 } SpiceDataCompressionType;
diff --git a/spice/protocol.h b/spice/protocol.h
index cbf2f01..9831ee5 100644
--- a/spice/protocol.h
+++ b/spice/protocol.h
@@ -57,6 +57,7 @@ enum {
     SPICE_COMMON_CAP_AUTH_SPICE,
     SPICE_COMMON_CAP_AUTH_SASL,
     SPICE_COMMON_CAP_MINI_HEADER,
+    SPICE_COMMON_CAP_LZ4_COMPRESSION,
 };
 
 typedef struct SPICE_ATTR_PACKED SpiceLinkMess {
-- 
2.9.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://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]