00001 #ifndef DIRENT_INCLUDED 00002 #define DIRENT_INCLUDED 00003 00004 /* 00005 00006 Declaration of POSIX directory browsing functions and types for Win32. 00007 00008 Author: Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com) 00009 History: Created March 1997. Updated June 2003. 00010 Rights: See end of file. 00011 00012 */ 00013 00014 #ifdef __cplusplus 00015 extern "C" { 00016 #endif 00017 00018 typedef struct DIR DIR; 00019 00020 struct dirent { 00021 char *d_name; 00022 }; 00023 00024 DIR *opendir ( const char * ); 00025 int closedir ( DIR * ); 00026 struct dirent *readdir ( DIR * ); 00027 void rewinddir ( DIR * ); 00028 00029 /* 00030 00031 Copyright Kevlin Henney, 1997, 2003. All rights reserved. 00032 00033 Permission to use, copy, modify, and distribute this software and its 00034 documentation for any purpose is hereby granted without fee, provided 00035 that this copyright and permissions notice appear in all copies and 00036 derivatives. 00037 00038 This software is supplied "as is" without express or implied warranty. 00039 00040 But that said, if there are any problems please get in touch. 00041 00042 */ 00043 00044 #ifdef __cplusplus 00045 } 00046 #endif 00047 00048 #endif