eventhandler.h

Go to the documentation of this file.
00001 /*
00002  * MUSCLE SmartCard Development ( http://www.linuxnet.com )
00003  *
00004  * Copyright (C) 1999
00005  *  David Corcoran <corcoran@linuxnet.com>
00006  * Copyright (C) 2004
00007  *  Ludovic Rousseau <ludovic.rousseau@free.fr>
00008  *
00009  * $Id: eventhandler.h 2780 2008-02-01 09:48:25Z rousseau $
00010  */
00011 
00018 #ifndef __eventhandler_h__
00019 #define __eventhandler_h__
00020 
00021 #include <stdint.h>
00022 
00023 #ifdef __cplusplus
00024 extern "C"
00025 {
00026 #endif
00027 
00032     typedef struct pubReaderStatesList
00033     {
00034         int32_t readerID;
00035         char readerName[MAX_READERNAME];
00036         uint32_t readerState;
00037         int32_t readerSharing;
00038 
00039         UCHAR cardAtr[MAX_ATR_SIZE];
00040         uint32_t cardAtrLength;
00041         uint32_t cardProtocol;
00042     }
00043     READER_STATE, *PREADER_STATE;
00044 
00045     LONG EHInitializeEventStructures(void);
00046     LONG EHSpawnEventHandler(PREADER_CONTEXT, RESPONSECODE (*)(DWORD));
00047     LONG EHDestroyEventHandler(PREADER_CONTEXT);
00048 
00049 #ifdef __cplusplus
00050 }
00051 #endif
00052 
00053 #endif                          /* __eventhandler_h__ */

Generated on Thu Aug 28 20:14:13 2008 for pcsc-lite by  doxygen 1.5.6