summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-07-10 11:09:05 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-07-23 16:22:56 +0200
commitcd7817603834251e5c1c4cda39980abbfc850580 (patch)
tree02699ea70b99f4ecec682c73f5cfba243c31994e
parent4ba5072b2868b41f0e10c8fc805bbe927b654bdc (diff)
Rename SpiceImageCompress constants
Having these constants use the same name as the ones in spice-server 0.12.5 causes compilation issues for spice-server users when using spice-server 0.12.5 or older, and spice-protocol 0.12.8.
-rw-r--r--spice/enums.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/spice/enums.h b/spice/enums.h
index 6a0ab0b..16885ac 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -181,18 +181,18 @@ 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 SpiceImageCompression {
+ SPICE_IMAGE_COMPRESSION_INVALID,
+ SPICE_IMAGE_COMPRESSION_OFF,
+ SPICE_IMAGE_COMPRESSION_AUTO_GLZ,
+ SPICE_IMAGE_COMPRESSION_AUTO_LZ,
+ SPICE_IMAGE_COMPRESSION_QUIC,
+ SPICE_IMAGE_COMPRESSION_GLZ,
+ SPICE_IMAGE_COMPRESSION_LZ,
+ SPICE_IMAGE_COMPRESSION_LZ4,
+
+ SPICE_IMAGE_COMPRESSION_ENUM_END
+} SpiceImageCompression;
typedef enum SpiceImageFlags {
SPICE_IMAGE_FLAGS_CACHE_ME = (1 << 0),