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

Submitted by Alon Levy on June 14, 2012, 11:03 a.m.

Details

Message ID 1339671807-29069-5-git-send-email-alevy@redhat.com
State Accepted
Headers show

Not browsing as part of any series.

Commit Message

Alon Levy June 14, 2012, 11:03 a.m.
---
 spice/enums.h |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Patch hide | download patch | download mbox

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
 };

Comments

ACK
On Thu, Jun 14, 2012 at 02:03:27PM +0300, Alon Levy wrote:
> ---
>  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
>