[Spice-devel] [spice-protocol PATCH] enums.h: update for smartcard updated spice.proto

Alon Levy alevy at redhat.com
Thu Jun 14 04:03:27 PDT 2012


---
 spice/enums.h |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/spice/enums.h b/spice/enums.h
index 802e1ee..d3a2141 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -320,6 +320,20 @@ typedef enum SpiceTunnelIpType {
     SPICE_TUNNEL_IP_TYPE_ENUM_END
 } SpiceTunnelIpType;
 
+typedef enum SpiceVscMessageType {
+    SPICE_VSC_MESSAGE_TYPE_Init = 1,
+    SPICE_VSC_MESSAGE_TYPE_Error,
+    SPICE_VSC_MESSAGE_TYPE_ReaderAdd,
+    SPICE_VSC_MESSAGE_TYPE_ReaderRemove,
+    SPICE_VSC_MESSAGE_TYPE_ATR,
+    SPICE_VSC_MESSAGE_TYPE_CardRemove,
+    SPICE_VSC_MESSAGE_TYPE_APDU,
+    SPICE_VSC_MESSAGE_TYPE_Flush,
+    SPICE_VSC_MESSAGE_TYPE_FlushComplete,
+
+    SPICE_VSC_MESSAGE_TYPE_ENUM_END
+} SpiceVscMessageType;
+
 enum {
     SPICE_CHANNEL_MAIN = 1,
     SPICE_CHANNEL_DISPLAY,
@@ -522,6 +536,10 @@ enum {
 
 enum {
     SPICE_MSGC_SMARTCARD_DATA = 101,
+    SPICE_MSGC_SMARTCARD_HEADER = 101,
+    SPICE_MSGC_SMARTCARD_ERROR = 101,
+    SPICE_MSGC_SMARTCARD_ATR = 101,
+    SPICE_MSGC_SMARTCARD_READER_ADD = 101,
 
     SPICE_MSGC_END_SMARTCARD
 };
-- 
1.7.10.1



More information about the Spice-devel mailing list