[Pcsclite-cvs-commit] CVS PCSC/src/PCSC
CVS User rousseau
ludovic.rousseau@free.fr
Mon, 04 Jul 2005 13:59:32 +0000
Update of /cvsroot/pcsclite/PCSC/src/PCSC
In directory haydn:/tmp/cvs-serv14691
Modified Files:
reader.h
Log Message:
add PCSC_TLV_STRUCTURE structure
--- /cvsroot/pcsclite/PCSC/src/PCSC/reader.h 2005/05/18 17:06:07 1.1
+++ /cvsroot/pcsclite/PCSC/src/PCSC/reader.h 2005/07/04 13:59:32 1.2
@@ -5,7 +5,7 @@
* David Corcoran <corcoran@linuxnet.com>
* Ludovic Rousseau <ludovic.rousseau@free.fr>
*
- * $Id: reader.h,v 1.1 2005/05/18 17:06:07 rousseau Exp $
+ * $Id: reader.h,v 1.2 2005/07/04 13:59:32 rousseau Exp $
*/
/**
@@ -112,4 +112,15 @@
#define FEATURE_IFD_PIN_PROP 0x0A /* Gemplus Proposal */
#define FEATURE_ABORT 0x0B /* SCM Proposal */
+/* structures used (but not defined) in PCSC Part 10 revision 2.01.02:
+ * "IFDs with Secure Pin Entry Capabilities" */
+
+/* the structure must be 6-bytes long */
+typedef struct
+{
+ __int8_t tag __attribute__ ((__packed__));
+ __int8_t length __attribute__ ((__packed__));
+ __int32_t value __attribute__ ((__packed__));
+} PCSC_TLV_STRUCTURE;
+
#endif