pcsc-lite  1.8.8
pcscd.h
Go to the documentation of this file.
1 /*
2  * MUSCLE SmartCard Development ( http://www.linuxnet.com )
3  *
4  * Copyright (C) 2006-2011
5  * Ludovic Rousseau <ludovic.rousseau@free.fr>
6  *
7  * $Id: pcscd.h.in 6323 2012-06-05 09:19:06Z rousseau $
8  */
9 
15 #ifndef __pcscd_h__
16 #define __pcscd_h__
17 
18 #define TIME_BEFORE_SUICIDE 60
19 
20 #define SCARD_SCOPE_GLOBAL 0x0003
22 #define SCARD_RESET 0x0001
23 #define SCARD_INSERTED 0x0002
24 #define SCARD_REMOVED 0x0004
26 #define PCSCLITE_CONFIG_DIR "/etc/reader.conf.d"
27 
28 #define PCSCLITE_IPC_DIR USE_IPCDIR
29 #define PCSCLITE_RUN_PID PCSCLITE_IPC_DIR "/pcscd.pid"
30 
31 #define PCSCLITE_CSOCK_NAME PCSCLITE_IPC_DIR "/pcscd.comm"
32 
33 #define PCSCLITE_VERSION_NUMBER "1.8.8"
34 #define PCSCLITE_STATUS_POLL_RATE 400000
35 #define PCSCLITE_LOCK_POLL_RATE 100000
37 #define PCSC_MAX_CONTEXT_THREADS 200
38 #define PCSC_MAX_CONTEXT_CARD_HANDLES 200
39 #define PCSC_MAX_READER_HANDLES 200
40 
41 #define PCSCLITE_STATUS_WAIT 200000
42 #define MAX_DEVICENAME 255
43 
45 enum
46 {
51 };
52 
54 #define PCSCLITE_POWER_OFF_GRACE_PERIOD 5*1000 /* 5 second */
55 
58 #define PCSCLITE_STATUS_EVENT_TIMEOUT 10*60*1000 /* 10 minutes */
59 
60 /* Uncomment the next line if you do NOT want to use auto power off */
61 /* #define DISABLE_ON_DEMAND_POWER_ON */
62 
63 /* Uncomment the next line if you do not want the card to be powered on
64  * when inserted */
65 /* #define DISABLE_AUTO_POWER_ON */
66 
67 #endif
card is used
Definition: pcscd.h:50
powered
Definition: pcscd.h:48
card was in use
Definition: pcscd.h:49
auto power off
Definition: pcscd.h:47