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_IOLAYER_FILE_H 00015 #define GWEN_IOLAYER_FILE_H 00016 00017 #include <gwenhywfar/iolayer.h> 00018 00019 #ifdef __cplusplus 00020 extern "C" { 00021 #endif 00022 00023 00024 00038 00039 00044 #define GWEN_IO_LAYER_FILE_TYPE "file" 00045 00061 GWENHYWFAR_API GWEN_IO_LAYER *GWEN_Io_LayerFile_new(int fdRead, int fdWrite); 00074 GWENHYWFAR_API int GWEN_Io_LayerFile_GetReadFileDescriptor(const GWEN_IO_LAYER *io); 00075 00080 GWENHYWFAR_API int GWEN_Io_LayerFile_GetWriteFileDescriptor(const GWEN_IO_LAYER *io); 00081 00082 00083 00088 00089 #ifdef __cplusplus 00090 } 00091 #endif 00092 00093 #endif 00094 00095 00096 00097