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 3259 2009-01-02 14:32:44Z 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,
00047         /*@null@*/ RESPONSECODE (*)(DWORD));
00048     LONG EHDestroyEventHandler(PREADER_CONTEXT);
00049 
00050 #ifdef __cplusplus
00051 }
00052 #endif
00053 
00054 #endif                          /* __eventhandler_h__ */

Generated on Mon Aug 17 01:00:09 2009 for pcsc-lite by  doxygen 1.5.9