[Pcsclite-cvs-commit] r5334 - in /trunk/PCSC/src: eventhandler.c pcscd.h.in

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Oct 22 07:07:54 UTC 2010


Author: rousseau
Date: Fri Oct 22 07:07:50 2010
New Revision: 5334

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5334
Log:
Move DISABLE_ON_DEMAND_POWER_ON and DISABLE_AUTO_POWER_ON defines from
eventhandler.c to pcscd.h.in so they are visible by all the .c files

Modified:
    trunk/PCSC/src/eventhandler.c
    trunk/PCSC/src/pcscd.h.in

Modified: trunk/PCSC/src/eventhandler.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/eventhandler.c?rev=5334&op=diff
==============================================================================
--- trunk/PCSC/src/eventhandler.c (original)
+++ trunk/PCSC/src/eventhandler.c Fri Oct 22 07:07:50 2010
@@ -38,13 +38,6 @@
 #include "utils.h"
 #include "winscard_svc.h"
 #include "simclist.h"
-
-/* Uncomment the next line if you do NOT want to use auto power off */
-/* #define DISABLE_ON_DEMAND_POWER_ON */
-
-/* Uncomment the next line if you do not want the card to be powered on
- * when inserted */
-/* #define DISABLE_AUTO_POWER_ON */
 
 static list_t ClientsWaitingForEvent;	/**< list of client file descriptors */
 pthread_mutex_t ClientsWaitingForEvent_lock;	/**< lock for the above list */

Modified: trunk/PCSC/src/pcscd.h.in
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/pcscd.h.in?rev=5334&op=diff
==============================================================================
--- trunk/PCSC/src/pcscd.h.in (original)
+++ trunk/PCSC/src/pcscd.h.in Fri Oct 22 07:07:50 2010
@@ -62,4 +62,11 @@
  * no card or card in use */
 #define PCSCLITE_STATUS_EVENT_TIMEOUT 10*60*1000 /* 10 minutes */
 
+/* Uncomment the next line if you do NOT want to use auto power off */
+/* #define DISABLE_ON_DEMAND_POWER_ON */
+
+/* Uncomment the next line if you do not want the card to be powered on
+ * when inserted */
+/* #define DISABLE_AUTO_POWER_ON */
+
 #endif




More information about the Pcsclite-cvs-commit mailing list