pcsc-lite  1.8.20
Macros | Enumerations
pcscd.h File Reference

This keeps a list of defines for pcsc-lite. More...

Go to the source code of this file.

Macros

#define TIME_BEFORE_SUICIDE   60
 
#define SCARD_RESET   0x0001
 Card was reset.
 
#define SCARD_INSERTED   0x0002
 Card was inserted.
 
#define SCARD_REMOVED   0x0004
 Card was removed.
 
#define PCSCLITE_CONFIG_DIR   "/etc/reader.conf.d"
 
#define PCSCLITE_IPC_DIR   USE_IPCDIR
 
#define PCSCLITE_RUN_PID   PCSCLITE_IPC_DIR "/pcscd.pid"
 
#define PCSCLITE_CSOCK_NAME   PCSCLITE_IPC_DIR "/pcscd.comm"
 
#define PCSCLITE_VERSION_NUMBER   "1.8.20"
 Current version.
 
#define PCSCLITE_STATUS_POLL_RATE   400000
 Status polling rate.
 
#define PCSCLITE_LOCK_POLL_RATE   100000
 Lock polling rate.
 
#define PCSC_MAX_CONTEXT_THREADS   200
 
#define PCSC_MAX_CONTEXT_CARD_HANDLES   200
 
#define PCSC_MAX_READER_HANDLES   200
 
#define PCSCLITE_STATUS_WAIT   200000
 Status Change Sleep.
 
#define MAX_DEVICENAME   255
 
#define PCSCLITE_POWER_OFF_GRACE_PERIOD   5*1000 /* 5 second */
 time to wait before powering down an unused card
 
#define PCSCLITE_STATUS_EVENT_TIMEOUT   10*60*1000 /* 10 minutes */
 normal timeout for pthCardEvent driver function when no card or card in use
 

Enumerations

enum  {
  POWER_STATE_UNPOWERED,
  POWER_STATE_POWERED,
  POWER_STATE_GRACE_PERIOD,
  POWER_STATE_INUSE
}
 Different values for struct ReaderContext powerState field. More...
 

Detailed Description

This keeps a list of defines for pcsc-lite.

Definition in file pcscd.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Different values for struct ReaderContext powerState field.

Enumerator
POWER_STATE_UNPOWERED 

auto power off

POWER_STATE_POWERED 

powered

POWER_STATE_GRACE_PERIOD 

card was in use

POWER_STATE_INUSE 

card is used

Definition at line 64 of file pcscd.h.