pcsc-lite 1.7.2

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 5434 2010-12-08 14:13:21Z rousseau $
00010  */
00011 
00017 #ifndef __hotplug_h__
00018 #define __hotplug_h__
00019 
00020 #ifndef PCSCLITE_HP_DROPDIR
00021 #define PCSCLITE_HP_DROPDIR     "/usr/local/pcsc/drivers/"
00022 #endif
00023 
00024 #define PCSCLITE_HP_MANUKEY_NAME    "ifdVendorID"
00025 #define PCSCLITE_HP_PRODKEY_NAME    "ifdProductID"
00026 #define PCSCLITE_HP_NAMEKEY_NAME    "ifdFriendlyName"
00027 #define PCSCLITE_HP_LIBRKEY_NAME    "CFBundleExecutable"
00028 #define PCSCLITE_HP_CPCTKEY_NAME    "ifdCapabilities"
00029 #define PCSCLITE_HP_CFBUNDLE_NAME   "CFBundleName"
00030 
00031 #define PCSCLITE_HP_BASE_PORT       0x200000
00032 
00033     LONG HPSearchHotPluggables(void);
00034     ULONG HPRegisterForHotplugEvents(void);
00035     LONG HPStopHotPluggables(void);
00036     void HPReCheckSerialReaders(void);
00037 
00038 #endif