summaryrefslogtreecommitdiff
path: root/scard_common.h
diff options
context:
space:
mode:
authorYuval Kashtan <ykashtan@redhat.com>2010-07-04 17:12:20 +0300
committerYuval Kashtan <ykashtan@redhat.com>2010-07-04 17:12:20 +0300
commitb82112f289aa8d8ec8866e6f3f18df974c2cbc81 (patch)
treee1abfe5c84045449996e7a9086785c49fe8eb282 /scard_common.h
initial commit
Diffstat (limited to 'scard_common.h')
-rw-r--r--scard_common.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/scard_common.h b/scard_common.h
new file mode 100644
index 0000000..c84bf5b
--- /dev/null
+++ b/scard_common.h
@@ -0,0 +1,16 @@
+#ifndef _SCARD_COMMON_H
+#define _SCARD_COMMON_H
+
+typedef enum {
+ SCard_ATR,
+ SCard_APDU,
+ SCard_Remove,
+ SCard_Quit
+} MsgType;
+
+typedef struct SCRMsgHeader {
+ MsgType type;
+ unsigned int nLength;
+} SCRMsgHeader;
+
+#endif