[PATCH 4/6] proto: Rename image_compress to image_compression

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

 



From: Christophe Fergeau <cfergeau@xxxxxxxxxx>

Re-using the SPICE_IMAGE_COMPRESS_ prefix in newer spice-protocol
releases is going to cause issues as there will be clashing enum members
in older spice-server releases. Using SPICE_IMAGE_COMPRESSION_ as a
prefix sidesteps these backward compability issues.

(cherry picked from spice-protocol commit e857cd9a378cdf56805b64284491a12af93a7cbf)

Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
---
 spice.proto | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spice.proto b/spice.proto
index 4ea1263..db015a5 100644
--- a/spice.proto
+++ b/spice.proto
@@ -361,7 +361,7 @@ enum8 image_type {
     LZ4,
 };
 
-enum8 image_compress {
+enum8 image_compression {
     INVALID  = 0,
     OFF,
     AUTO_GLZ,
-- 
2.5.0

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