pcsc-lite 2.3.0
|
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);} |
#define | REMOVE_READER_NO_FLAG 0 |
#define | REMOVE_READER_FLAG_REMOVED 1 |
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 |
This keeps track of a list of currently available reader structures.
Definition in file readerfactory.h.
#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; } |
Definition at line 145 of file readerfactory.h.
#define REMOVE_READER_FLAG_REMOVED 1 |
Definition at line 179 of file readerfactory.h.
#define REMOVE_READER_NO_FLAG 0 |
Definition at line 178 of file readerfactory.h.
#define UNREF_READER | ( | reader | ) | {Log2(PCSC_LOG_DEBUG, "UnrefReader() count was: %d", reader->reference); _UnrefReader(reader);} |
Definition at line 146 of file readerfactory.h.
typedef struct FctMap_V2 FCT_MAP_V2 |
Definition at line 74 of file readerfactory.h.
typedef struct FctMap_V3 FCT_MAP_V3 |
Definition at line 96 of file readerfactory.h.
typedef struct RdrCliHandles RDR_CLIHANDLES |
Definition at line 104 of file readerfactory.h.
typedef struct ReaderContext READER_CONTEXT |
Definition at line 140 of file readerfactory.h.
LONG _RefReader | ( | READER_CONTEXT * | sReader | ) |
Definition at line 99 of file readerfactory.c.
LONG _UnrefReader | ( | READER_CONTEXT * | sReader | ) |
Definition at line 109 of file readerfactory.c.
LONG RFAddReader | ( | const char * | readerNameLong, |
int | port, | ||
const char * | library, | ||
const char * | device ) |
Definition at line 154 of file readerfactory.c.
LONG RFAddReaderHandle | ( | READER_CONTEXT * | rContext, |
SCARDHANDLE | hCard ) |
Definition at line 1214 of file readerfactory.c.
LONG RFAllocateReaderSpace | ( | unsigned int | customMaxReaderHandles | ) |
Definition at line 122 of file readerfactory.c.
LONG RFBindFunctions | ( | READER_CONTEXT * | rContext | ) |
Definition at line 899 of file readerfactory.c.
LONG RFCheckReaderEventState | ( | READER_CONTEXT * | rContext, |
SCARDHANDLE | hCard ) |
Definition at line 1319 of file readerfactory.c.
LONG RFCheckReaderStatus | ( | READER_CONTEXT * | rContext | ) |
Definition at line 1376 of file readerfactory.c.
LONG RFCheckSharing | ( | SCARDHANDLE | hCard, |
READER_CONTEXT * | rContext ) |
Definition at line 1024 of file readerfactory.c.
void RFCleanupReaders | ( | void | ) |
Definition at line 1384 of file readerfactory.c.
LONG RFClearReaderEventState | ( | READER_CONTEXT * | rContext, |
SCARDHANDLE | hCard ) |
Definition at line 1357 of file readerfactory.c.
SCARDHANDLE RFCreateReaderHandle | ( | READER_CONTEXT * | rContext | ) |
Definition at line 1184 of file readerfactory.c.
int RFGetPowerState | ( | READER_CONTEXT * | rContext | ) |
Wait until all connected readers have a chance to power up a possibly inserted card.
Definition at line 1594 of file readerfactory.c.
LONG RFInitializeReader | ( | READER_CONTEXT * | rContext | ) |
Definition at line 1097 of file readerfactory.c.
LONG RFLoadReader | ( | READER_CONTEXT * | rContext | ) |
Definition at line 882 of file readerfactory.c.
LONG RFLockSharing | ( | SCARDHANDLE | hCard, |
READER_CONTEXT * | rContext ) |
Definition at line 1032 of file readerfactory.c.
LONG RFReaderInfo | ( | const char * | readerName, |
struct ReaderContext ** | sReader ) |
Definition at line 829 of file readerfactory.c.
LONG RFReaderInfoById | ( | SCARDHANDLE | hCard, |
struct ReaderContext ** | sReader ) |
Definition at line 855 of file readerfactory.c.
LONG RFRemoveReader | ( | const char * | readerName, |
int | port, | ||
int | flags ) |
Definition at line 577 of file readerfactory.c.
LONG RFRemoveReaderHandle | ( | READER_CONTEXT * | rContext, |
SCARDHANDLE | hCard ) |
Definition at line 1257 of file readerfactory.c.
void RFSetPowerState | ( | READER_CONTEXT * | rContext, |
int | value ) |
Definition at line 1602 of file readerfactory.c.
void RFSetReaderEventState | ( | READER_CONTEXT * | rContext, |
DWORD | dwEvent ) |
Definition at line 1286 of file readerfactory.c.
LONG RFSetReaderName | ( | READER_CONTEXT * | rContext, |
const char * | readerName, | ||
const char * | libraryName, | ||
int | port ) |
Definition at line 713 of file readerfactory.c.
LONG RFUnBindFunctions | ( | READER_CONTEXT * | rContext | ) |
Definition at line 1001 of file readerfactory.c.
void RFUnInitializeReader | ( | READER_CONTEXT * | rContext | ) |
Definition at line 1155 of file readerfactory.c.
LONG RFUnloadReader | ( | READER_CONTEXT * | rContext | ) |
Definition at line 1009 of file readerfactory.c.
LONG RFUnlockAllSharing | ( | SCARDHANDLE | hCard, |
READER_CONTEXT * | rContext ) |
Definition at line 1081 of file readerfactory.c.
LONG RFUnlockSharing | ( | SCARDHANDLE | hCard, |
READER_CONTEXT * | rContext ) |
Definition at line 1048 of file readerfactory.c.