Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

atrhandler.c File Reference

This keeps track of smartcard protocols, timing issues and ATR (Answer-to-Reset) handling. More...

#include "config.h"
#include <syslog.h>
#include <string.h>
#include "misc.h"
#include "pcsclite.h"
#include "debuglog.h"
#include "atrhandler.h"

Go to the source code of this file.

Functions

short ATRDecodeAtr (PSMARTCARD_EXTENSION psExtension, PUCHAR pucAtr, DWORD dwLength)
 parse an ATR. More...


Detailed Description

This keeps track of smartcard protocols, timing issues and ATR (Answer-to-Reset) handling.

Note:
use ./configure --enable-debugatr to enable debug messages to be logged.

Definition in file atrhandler.c.


Function Documentation

short ATRDecodeAtr PSMARTCARD_EXTENSION    psExtension,
PUCHAR    pucAtr,
DWORD    dwLength
 

parse an ATR.

am[out] psExtension
am[in] pucAtr ATR
am[in] dwLength ATR length
Returns:

Definition at line 44 of file atrhandler.c.

References ATRDecodeAtr.

Referenced by ATRDecodeAtr.


Generated on Wed Apr 2 10:14:28 2008 for pcsc-lite by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002