[Spice-devel] [PATCH spice-server v2 1/2] Use image compress constants from spice-protocol

Javier Celaya javier.celaya at flexvdi.com
Thu Jun 11 07:52:56 PDT 2015


El Jueves, 11 de junio de 2015 16:44:51 Christophe Fergeau escribió:
> On Mon, Jun 01, 2015 at 04:48:15PM +0200, Javier Celaya wrote:
> > diff --git a/server/spice-server.h b/server/spice-server.h
> > index bca0da6..5880ff0 100644
> > --- a/server/spice-server.h
> > +++ b/server/spice-server.h
> > @@ -67,20 +67,9 @@ int spice_server_add_interface(SpiceServer *s,
> > 
> >                                 SpiceBaseInstance *sin);
> >  
> >  int spice_server_remove_interface(SpiceBaseInstance *sin);
> > 
> > -typedef enum {
> > -    SPICE_IMAGE_COMPRESS_INVALID  = 0,
> > -    SPICE_IMAGE_COMPRESS_OFF      = 1,
> > -    SPICE_IMAGE_COMPRESS_AUTO_GLZ = 2,
> > -    SPICE_IMAGE_COMPRESS_AUTO_LZ  = 3,
> > -    SPICE_IMAGE_COMPRESS_QUIC     = 4,
> > -    SPICE_IMAGE_COMPRESS_GLZ      = 5,
> > -    SPICE_IMAGE_COMPRESS_LZ       = 6,
> > -    SPICE_IMAGE_COMPRESS_LZ4      = 7,
> > -} spice_image_compression_t;
> 
> Removing spice_image_compression_t from spice-server.h which is a public
> header is going to break compilation of applications using it (eg QEMU),
> this needs to be replaced with
> 
> typedef SpiceImageCompress spice_image_compression_t;
> 
> I'll squash that in my local version.
> 
> Christophe

Ooops, thanks.-- 


[1] [2]
*Javier Celaya *
/Software Engineer /
[3] j[4]_avier.celaya at flexvdi.com_ 
[5] +34 976 512 433 
[6] @j_celaya 


--------
[1] http://www.flexvdi.com/img/general/logo.flexvdi.png
[2] http://flexvdi.com
[3] http://flexvdi.com/signature/mail.png
[4] mailto:javier.celaya at flexvdi.com
[5] http://flexvdi.com/signature/phone.png
[6] http://flexvdi.com/signature/skype.png
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150611/70a888ba/attachment-0001.html>


More information about the Spice-devel mailing list