Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

directory.h

Go to the documentation of this file.
00001 /*************************************************************************** 00002 $RCSfile: directory.h,v $ 00003 ------------------- 00004 cvs : $Id: directory.h,v 1.2 2003/01/11 10:44:09 aquamaniac Exp $ 00005 begin : Tue Jan 10 2003 00006 copyright : (C) 2003 by Martin Preuss 00007 email : martin@libchipcard.de 00008 00009 *************************************************************************** 00010 * * 00011 * This library is free software; you can redistribute it and/or * 00012 * modify it under the terms of the GNU Lesser General Public * 00013 * License as published by the Free Software Foundation; either * 00014 * version 2.1 of the License, or (at your option) any later version. * 00015 * * 00016 * This library is distributed in the hope that it will be useful, * 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00019 * Lesser General Public License for more details. * 00020 * * 00021 * You should have received a copy of the GNU Lesser General Public * 00022 * License along with this library; if not, write to the Free Software * 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * 00024 * MA 02111-1307 USA * 00025 * * 00026 ***************************************************************************/ 00027 00028 00029 #ifndef CH_DIRECTORY_H 00030 #define CH_DIRECTORY_H 00031 00032 00033 #include <windows.h> 00034 00035 #ifdef __cplusplus 00036 extern "C" { 00037 #endif 00038 00039 CHIPCARD_API typedef struct DIRECTORYDATASTRUCT DIRECTORYDATA; 00040 00041 00042 CHIPCARD_API struct DIRECTORYDATASTRUCT { 00043 char pattern[256]; 00044 HANDLE handle; 00045 char lastName[256]; 00046 }; 00047 00048 00049 CHIPCARD_API DIRECTORYDATA *Directory_new(); 00050 CHIPCARD_API void Directory_free(DIRECTORYDATA *d); 00051 00052 00053 00054 CHIPCARD_API int Directory_Open(DIRECTORYDATA *d, const char *n); 00055 CHIPCARD_API int Directory_Close(DIRECTORYDATA *d); 00056 00057 CHIPCARD_API int Directory_Read(DIRECTORYDATA *d, 00058 char *buffer, 00059 int len); 00060 CHIPCARD_API int Directory_Rewind(DIRECTORYDATA *d); 00061 00062 00063 #ifdef __cplusplus 00064 } 00065 #endif 00066 00067 #endif

Generated on Wed Jul 28 14:56:49 2004 for libchipcard by doxygen 1.3.7