pcsc-lite  1.8.20
Data Structures | Macros | Typedefs | Functions
readerfactory.h File Reference

This keeps track of a list of currently available reader structures. More...

#include <inttypes.h>
#include <pthread.h>
#include "ifdhandler.h"
#include "pcscd.h"
#include "simclist.h"

Go to the source code of this file.

Data Structures

struct  SerialReader
 
struct  FctMap_V2
 
struct  FctMap_V3
 
struct  RdrCliHandles
 
struct  ReaderContext
 

Macros

#define REF_READER(reader)   { LONG rv; Log2(PCSC_LOG_DEBUG, "RefReader() count was: %d", reader->reference); rv = _RefReader(reader); if (rv != SCARD_S_SUCCESS) return rv; }
 
#define UNREF_READER(reader)   {Log2(PCSC_LOG_DEBUG, "UnrefReader() count was: %d", reader->reference); _UnrefReader(reader);}
 

Typedefs

typedef struct FctMap_V2 FCT_MAP_V2
 
typedef struct FctMap_V3 FCT_MAP_V3
 
typedef struct RdrCliHandles RDR_CLIHANDLES
 
typedef struct ReaderContext READER_CONTEXT
 

Functions

LONG _RefReader (READER_CONTEXT *sReader)
 
LONG _UnrefReader (READER_CONTEXT *sReader)
 
LONG RFAllocateReaderSpace (unsigned int)
 
LONG RFAddReader (const char *, int, const char *, const char *)
 
LONG RFRemoveReader (const char *, int)
 
LONG RFSetReaderName (READER_CONTEXT *, const char *, const char *, int)
 
LONG RFReaderInfo (const char *, struct ReaderContext **)
 
LONG RFReaderInfoById (SCARDHANDLE, struct ReaderContext **)
 
LONG RFCheckSharing (SCARDHANDLE, READER_CONTEXT *)
 
LONG RFLockSharing (SCARDHANDLE, READER_CONTEXT *)
 
LONG RFUnlockSharing (SCARDHANDLE, READER_CONTEXT *)
 
LONG RFUnlockAllSharing (SCARDHANDLE, READER_CONTEXT *)
 
LONG RFLoadReader (READER_CONTEXT *)
 
LONG RFBindFunctions (READER_CONTEXT *)
 
LONG RFUnBindFunctions (READER_CONTEXT *)
 
LONG RFUnloadReader (READER_CONTEXT *)
 
LONG RFInitializeReader (READER_CONTEXT *)
 
void RFUnInitializeReader (READER_CONTEXT *)
 
SCARDHANDLE RFCreateReaderHandle (READER_CONTEXT *)
 
LONG RFAddReaderHandle (READER_CONTEXT *, SCARDHANDLE)
 
LONG RFRemoveReaderHandle (READER_CONTEXT *, SCARDHANDLE)
 
void RFSetReaderEventState (READER_CONTEXT *, DWORD)
 
LONG RFCheckReaderEventState (READER_CONTEXT *, SCARDHANDLE)
 
LONG RFClearReaderEventState (READER_CONTEXT *, SCARDHANDLE)
 
LONG RFCheckReaderStatus (READER_CONTEXT *)
 
void RFCleanupReaders (void)
 
void RFWaitForReaderInit (void)
 
int RFStartSerialReaders (const char *readerconf)
 
void RFReCheckReaderConf (void)
 

Detailed Description

This keeps track of a list of currently available reader structures.

Definition in file readerfactory.h.