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

Hans de Goede hdegoede at redhat.com
Thu Mar 24 03:30:08 PDT 2011


Hi,

On 03/24/2011 10:25 AM, Alon Levy wrote:
> 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.
>

Ah, yes the rest of all the enums in spice-protocol are using foo_END_bar,
let me send a new version which follows that pattern.

Regards,

Hans


More information about the Spice-devel mailing list