pcsc-lite 1.9.5
Data Fields
ReaderContext Struct Reference

Data Fields

charlibrary
 Library Path.
 
chardevice
 Device Name.
 
pthread_t pthThread
 Event polling thread.
 
RESPONSECODE(* pthCardEvent )(DWORD, int)
 Card Event sync.
 
pthread_mutex_tmMutex
 Mutex for this connection.
 
list_t handlesList
 
pthread_mutex_t handlesList_lock
 lock for the above list
 
union { 
 
   FCT_MAP_V2   psFunctions_v2 
 API V2.0. More...
 
   FCT_MAP_V3   psFunctions_v3 
 API V3.0. More...
 
psFunctions 
 driver functions
 
LPVOID vHandle
 Dlopen handle.
 
int version
 IFD Handler version number.
 
int port
 Port ID.
 
int slot
 Current Reader Slot.
 
volatile SCARDHANDLE hLockId
 Lock Id.
 
int LockCount
 number of recursive locks
 
int32_t contexts
 Number of open contexts.
 
intpFeeds
 Number of shared client to lib.
 
intpMutex
 Number of client to mutex.
 
int powerState
 auto power off state
 
pthread_mutex_t powerState_lock
 powerState mutex
 
int reference
 number of users of the structure
 
pthread_mutex_t reference_lock
 reference mutex
 
struct pubReaderStatesListreaderState
 link to the reader state
 

Detailed Description

Definition at line 106 of file readerfactory.h.

Field Documentation

◆ contexts

int32_t contexts

Number of open contexts.

Definition at line 128 of file readerfactory.h.

◆ device

char* device

Device Name.

Definition at line 109 of file readerfactory.h.

◆ handlesList

list_t handlesList

Definition at line 113 of file readerfactory.h.

◆ handlesList_lock

pthread_mutex_t handlesList_lock

lock for the above list

Structure of connected handles

Definition at line 114 of file readerfactory.h.

◆ hLockId

Lock Id.

Definition at line 126 of file readerfactory.h.

◆ library

char* library

Library Path.

Definition at line 108 of file readerfactory.h.

◆ LockCount

int LockCount

number of recursive locks

Definition at line 127 of file readerfactory.h.

◆ mMutex

pthread_mutex_t* mMutex

Mutex for this connection.

Definition at line 112 of file readerfactory.h.

◆ pFeeds

int* pFeeds

Number of shared client to lib.

Definition at line 129 of file readerfactory.h.

◆ pMutex

int* pMutex

Number of client to mutex.

Definition at line 130 of file readerfactory.h.

◆ port

int port

Port ID.

Definition at line 124 of file readerfactory.h.

◆ powerState

int powerState

auto power off state

Definition at line 131 of file readerfactory.h.

◆ powerState_lock

pthread_mutex_t powerState_lock

powerState mutex

Definition at line 132 of file readerfactory.h.

◆ psFunctions_v2

FCT_MAP_V2 psFunctions_v2

API V2.0.

Definition at line 118 of file readerfactory.h.

◆ psFunctions_v3

FCT_MAP_V3 psFunctions_v3

API V3.0.

Definition at line 119 of file readerfactory.h.

◆ pthCardEvent

RESPONSECODE(* pthCardEvent) (DWORD, int)

Card Event sync.

Definition at line 111 of file readerfactory.h.

◆ pthThread

pthread_t pthThread

Event polling thread.

Definition at line 110 of file readerfactory.h.

◆ readerState

link to the reader state

Definition at line 136 of file readerfactory.h.

◆ reference

int reference

number of users of the structure

Definition at line 133 of file readerfactory.h.

◆ reference_lock

pthread_mutex_t reference_lock

reference mutex

Definition at line 134 of file readerfactory.h.

◆ slot

int slot

Current Reader Slot.

Definition at line 125 of file readerfactory.h.

◆ version

int version

IFD Handler version number.

Definition at line 123 of file readerfactory.h.

◆ vHandle

LPVOID vHandle

Dlopen handle.

Definition at line 122 of file readerfactory.h.


The documentation for this struct was generated from the following file: