diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2015-07-23 16:36:21 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-03-10 16:01:46 +0100 |
commit | 2ccf106920d650ddf8eebd80654519290e5fa452 (patch) | |
tree | 59eb24f2ec8973ea29e1e4c2126a3bf281707c2e | |
parent | 487f914a5dd3db4d39d54c20413434985a5d8de6 (diff) | |
download | spice-common-2ccf106920d650ddf8eebd80654519290e5fa452.tar.gz spice-common-2ccf106920d650ddf8eebd80654519290e5fa452.tar.xz spice-common-2ccf106920d650ddf8eebd80654519290e5fa452.zip |
proto: Rename image_compress to image_compression
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@redhat.com>
-rw-r--r-- | spice.proto | 2 |
1 files changed, 1 insertions, 1 deletions
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, |