[Spice-devel] [PATCH spice-protocol] vd_agent.h: Add a VDP_LAST_PORT to the chunk port enum

Alon Levy alevy at redhat.com
Thu Mar 24 02:25:46 PDT 2011


On Thu, Mar 24, 2011 at 10:15:43AM +0100, Hans de Goede wrote:
> ---
>  spice/vd_agent.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/spice/vd_agent.h b/spice/vd_agent.h
> index ec2ef27..a9d7144 100644
> --- a/spice/vd_agent.h
> +++ b/spice/vd_agent.h
> @@ -38,6 +38,7 @@
>  enum {
>      VDP_CLIENT_PORT = 1,
>      VDP_SERVER_PORT,
> +    VDP_LAST_PORT = VDP_SERVER_PORT

ehm, it's usually done with VDP_PORT_COUNT or somesuch, which
get's the value of 1 larger then the one before. But I'm ok with
this too.

ACK

>  };
>  
>  typedef struct SPICE_ATTR_PACKED VDIChunkHeader {
> -- 
> 1.7.3.2
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list