[Spice-devel] [spice-protocol v1 3/4] enums: Move auto generated SpiceDataCompressionType
Frediano Ziglio
fziglio at redhat.com
Mon Oct 24 13:44:39 UTC 2016
>
> From: Victor Toso <me at victortoso.com>
>
> This header is auto generated from spice_codegen.py tool in
> spice-common repository and thus, it changes what was included
> manually.
>
> Move SpiceDataCompressionType struct to comply with spice_codegen.py.
> This header was generated with:
>
> ./spice_codegen.py -e spice.proto ../spice-protocol/spice/enums.h
>
> Signed-off-by: Victor Toso <victortoso at redhat.com>
Acked-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> spice/enums.h | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/spice/enums.h b/spice/enums.h
> index 1d0c2db..743a4a8 100644
> --- a/spice/enums.h
> +++ b/spice/enums.h
> @@ -106,13 +106,6 @@ typedef enum SpiceMouseMode {
> SPICE_MOUSE_MODE_MASK = 0x3
> } SpiceMouseMode;
>
> -typedef enum SpiceDataCompressionType {
> - SPICE_DATA_COMPRESSION_TYPE_NONE,
> - SPICE_DATA_COMPRESSION_TYPE_LZ4,
> -
> - SPICE_DATA_COMPRESSION_TYPE_ENUM_END
> -} SpiceDataCompressionType;
> -
> typedef enum SpicePubkeyType {
> SPICE_PUBKEY_TYPE_INVALID,
> SPICE_PUBKEY_TYPE_RSA,
> @@ -128,6 +121,13 @@ typedef enum SpicePubkeyType {
> SPICE_PUBKEY_TYPE_ENUM_END
> } SpicePubkeyType;
>
> +typedef enum SpiceDataCompressionType {
> + SPICE_DATA_COMPRESSION_TYPE_NONE,
> + SPICE_DATA_COMPRESSION_TYPE_LZ4,
> +
> + SPICE_DATA_COMPRESSION_TYPE_ENUM_END
> +} SpiceDataCompressionType;
> +
> typedef enum SpiceClipType {
> SPICE_CLIP_TYPE_NONE,
> SPICE_CLIP_TYPE_RECTS,
Frediano
More information about the Spice-devel
mailing list