summaryrefslogtreecommitdiff
path: root/vscard_common.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-08-15 16:44:13 +0300
committerAlon Levy <alevy@redhat.com>2010-08-15 16:45:06 +0300
commitc2cc49a5578f415d3ddd5a5a81c2e8771a015c4c (patch)
tree6076c34a1201b4debe3126186c31559f76c49aeb /vscard_common.h
parentc34b4421653815c54e66dbd5dc9ac7239c3aa614 (diff)
fix virtual card remove
Diffstat (limited to 'vscard_common.h')
-rw-r--r--vscard_common.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/vscard_common.h b/vscard_common.h
new file mode 100644
index 0000000..7e90a58
--- /dev/null
+++ b/vscard_common.h
@@ -0,0 +1,16 @@
+#ifndef _SCARD_COMMON_H
+#define _SCARD_COMMON_H
+
+typedef enum {
+ SCard_ATR,
+ SCard_APDU,
+ SCard_Remove,
+ SCard_Error
+} MsgType;
+
+typedef struct SCRMsgHeader {
+ MsgType type;
+ unsigned int nLength;
+} SCRMsgHeader;
+
+#endif