00001 /*************************************************************************** 00002 $RCSfile$ 00003 ------------------- 00004 cvs : $Id: crypttoken.h 1113 2007-01-10 09:14:16Z martin $ 00005 begin : Wed Mar 16 2005 00006 copyright : (C) 2005 by Martin Preuss 00007 email : martin@libchipcard.de 00008 00009 *************************************************************************** 00010 * Please see toplevel file COPYING for license details * 00011 ***************************************************************************/ 00012 00013 00014 #ifndef GWEN_IOMANAGER_H 00015 #define GWEN_IOMANAGER_H 00016 00017 #include <gwenhywfar/iolayer.h> 00018 00019 00020 #ifdef __cplusplus 00021 extern "C" { 00022 #endif 00023 00024 00025 00026 GWENHYWFAR_API int GWEN_Io_Manager_RegisterLayer(GWEN_IO_LAYER *io); 00027 GWENHYWFAR_API int GWEN_Io_Manager_UnregisterLayer(GWEN_IO_LAYER *io); 00028 00029 00030 GWENHYWFAR_API GWEN_IO_LAYER_WORKRESULT GWEN_Io_Manager_Work(void); 00031 00032 GWENHYWFAR_API int GWEN_Io_Manager_Wait(int msecs, uint32_t guiid); 00033 00034 GWENHYWFAR_API int GWEN_Io_Manager_WaitForRequest(GWEN_IO_REQUEST *r, int msecs); 00035 00036 00037 #ifdef __cplusplus 00038 } 00039 #endif 00040 00041 00042 #endif 00043