pcsc-lite 1.6.4
hotplug.h
Go to the documentation of this file.
00001 /*
00002  * MUSCLE SmartCard Development ( http://www.linuxnet.com )
00003  *
00004  * Copyright (C) 2000-2003
00005  *  David Corcoran <corcoran@linuxnet.com>
00006  * Copyright (C) 2002-2009
00007  *  Ludovic Rousseau <ludovic.rousseau@free.fr>
00008  *
00009  * $Id: hotplug.h 4544 2009-11-12 14:33:44Z rousseau $
00010  */
00011 
00017 #ifndef __hotplug_h__
00018 #define __hotplug_h__
00019 
00020 #ifdef __cplusplus
00021 extern "C"
00022 {
00023 #endif
00024 
00025 #ifndef PCSCLITE_HP_DROPDIR
00026 #define PCSCLITE_HP_DROPDIR     "/usr/local/pcsc/drivers/"
00027 #endif
00028 
00029 #define PCSCLITE_HP_MANUKEY_NAME    "ifdVendorID"
00030 #define PCSCLITE_HP_PRODKEY_NAME    "ifdProductID"
00031 #define PCSCLITE_HP_NAMEKEY_NAME    "ifdFriendlyName"
00032 #define PCSCLITE_HP_LIBRKEY_NAME    "CFBundleExecutable"
00033 #define PCSCLITE_HP_CPCTKEY_NAME    "ifdCapabilities"
00034 #define PCSCLITE_HP_CFBUNDLE_NAME   "CFBundleName"
00035 
00036 #define PCSCLITE_HP_BASE_PORT       0x200000
00037 
00038     LONG HPSearchHotPluggables(void);
00039     ULONG HPRegisterForHotplugEvents(void);
00040     LONG HPStopHotPluggables(void);
00041     void HPReCheckSerialReaders(void);
00042 
00043 #ifdef __cplusplus
00044 }
00045 #endif
00046 
00047 #endif