[Pcsclite-cvs-commit] Drivers/ccid/src defs.h,1.2,1.3

rousseau@quantz.debian.org rousseau@quantz.debian.org
Thu, 15 Jan 2004 15:09:40 +0100


Update of /cvsroot/pcsclite/Drivers/ccid/src
In directory quantz:/tmp/cvs-serv22667

Modified Files:
	defs.h 
Log Message:
add CcidDesc.t1 field


Index: defs.h
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/defs.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- defs.h	10 Sep 2003 09:10:28 -0000	1.2
+++ defs.h	15 Jan 2004 14:09:38 -0000	1.3
@@ -21,11 +21,26 @@
  * $Id$
  */
 
+#include "pcscdefines.h"
+#include "protocol_t1/protocol_t1.h"
+
 typedef struct CCID_DESC
 {
+	/*
+	 * ATR
+	 */
 	DWORD nATRLength;
 	UCHAR pcATRBuffer[MAX_ATR_SIZE];
+
+	/*
+	 * Card state
+	 */
 	UCHAR bPowerFlags;
+
+	/*
+	 * T=1 Protocol context
+	 */
+	Protocol_T1 t1;
 } CcidDesc;
 
 /* Powerflag (used to detect quick insertion removals unnoticed by the