2
* This keeps track of smartcard protocols, timing issues
5
* MUSCLE SmartCard Development ( http://www.linuxnet.com )
8
* David Corcoran <corcoran@linuxnet.com>
10
* $Id: atrhandler.h,v 1.4 2003/10/18 17:19:36 aet-guest Exp $
13
#ifndef __atrhandler_h__
14
#define __atrhandler_h__
21
#define SCARD_CONVENTION_DIRECT 0x0001
22
#define SCARD_CONVENTION_INVERSE 0x0002
24
typedef struct _SMARTCARD_EXTENSION
30
UCHAR Value[MAX_ATR_SIZE];
32
UCHAR HistoryValue[MAX_ATR_SIZE];
38
struct _CardCapabilities
40
UCHAR AvailableProtocols;
41
UCHAR CurrentProtocol;
79
* PREADER_CONNECTION psReaderConnection;
83
SMARTCARD_EXTENSION, *PSMARTCARD_EXTENSION;
86
* Decodes the ATR and fills the structure
89
short ATRDecodeAtr(PSMARTCARD_EXTENSION psExtension,
90
PUCHAR pucAtr, DWORD dwLength);
96
#endif /* __atrhandler_h__ */