proto: Generate correct constants for smartcard support

Of all SPICE_MSGC_SMARTCARD_xxx constants only SPICE_MSGC_SMARTCARD_DATA
is used by both spice-gtk and spice-server.
Generate the right constant, all obsolete ones will not be generated.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
Frediano Ziglio 2020-04-02 13:19:03 +01:00
parent 81f0331469
commit 47e149705a

View File

@ -1302,14 +1302,14 @@ channel SmartcardChannel : BaseChannel {
case Error:
VscMessageError error;
} u @anon;
} @ctype(SpiceMsgcSmartcard) data = 101;
} @ctype(SpiceMsgcSmartcard) old_data = 101;
*/
message {
vsc_message_type type;
uint32 reader_id;
uint32 length;
uint8 data[length] @end @nomarshal;
} @ctype(VSCMsgHeader) header = 101;
} @ctype(VSCMsgHeader) data = 101;
/* See comment on client data message above */
/*
message {