[Pcsclite-cvs-commit] CVS libmusclecard/src/PCSC

CVS User rousseau ludovic.rousseau@free.fr
Thu, 21 Apr 2005 09:23:03 +0000


Update of /cvsroot/pcsclite/libmusclecard/src/PCSC
In directory haydn:/tmp/cvs-serv7195/PCSC

Modified Files:
	musclecard.h 
Log Message:
add some #define

Thanks to Karsten Ohme


--- /cvsroot/pcsclite/libmusclecard/src/PCSC/musclecard.h	2004/08/06 12:12:19	1.19
+++ /cvsroot/pcsclite/libmusclecard/src/PCSC/musclecard.h	2005/04/21 09:23:02	1.20
@@ -9,7 +9,7 @@
  * You may not remove this header from this file
  * without prior permission from the author.
  *
- * $Id: musclecard.h,v 1.19 2004/08/06 12:12:19 rousseau Exp $
+ * $Id: musclecard.h,v 1.20 2005/04/21 09:23:02 rousseau Exp $
  */
 
 #ifndef __musclecard_h__
@@ -132,6 +132,10 @@
 	 * Invalid sharing 
 	 */
 #define MSC_SHARING_VIOLATION              0x9C60
+	/*
+	 * New PINs are not identical (happens if PIN is changed with keypad)
+	 */
+#define MSC_PINS_NOT_IDENTICAL             0x9C61
 
 
 #define MSC_BLOCKSTATUS_RESUME             0x0000
@@ -405,6 +409,13 @@
 
 /********************** TAGS for GetStatus ********************************/
 
+#define MSC_TAG_FUNCTIONAL_UNITS	  107	/* Card terminal functional units
+									   (PIN pad, display, fingerprint, ...) */
+
+#define MSC_SUPPORT_PINPAD            0x00000001
+#define MSC_SUPPORT_DISPLAY           0x00000002
+#define MSC_SUPPORT_FINGERPRINT       0x00000004
+
 	/*
 	 * high level tags 
 	 */
@@ -484,6 +495,11 @@
 #define MSC_SUPPORT_LISTOBJECTS       0x00008000
 #define MSC_SUPPORT_LOGOUTALL         0x00010000
 #define MSC_SUPPORT_GETCHALLENGE      0x00020000
+#define MSC_SUPPORT_GETSTATUS         0x00040000
+#define MSC_SUPPORT_ISOVERIFYPIN      0x00080000
+#define MSC_SUPPORT_GSM_CHANGE_CVH    0x00100000
+#define MSC_SUPPORT_GSM_UNBLOCK_CVH   0x00200000
+#define MSC_SUPPORT_GETCAPABILITIES   0x00400000
 
 	/*
 	 * Bitmask for MSC_TAG_SUPPORT_CRYPTOALG