From 47e149705a5bb1d4a615facfd9bd0190d9b0647c Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Thu, 2 Apr 2020 13:19:03 +0100 Subject: [PATCH] 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 Acked-by: Victor Toso --- spice.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spice.proto b/spice.proto index 2042754..db86696 100644 --- a/spice.proto +++ b/spice.proto @@ -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 {