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 { 00017 #endif 00018 00019 typedef struct DIR DIR; 00020 00021 struct dirent 00022 { 00023 char *d_name; 00024 }; 00025 00026 DIR *opendir(const char *); 00027 int closedir(DIR *); 00028 struct dirent *readdir(DIR *); 00029 void rewinddir(DIR *); 00030 00031 /* 00032 00033 Copyright Kevlin Henney, 1997, 2003. All rights reserved. 00034 00035 Permission to use, copy, modify, and distribute this software and its 00036 documentation for any purpose is hereby granted without fee, provided 00037 that this copyright and permissions notice appear in all copies and 00038 derivatives. 00039 00040 This software is supplied "as is" without express or implied warranty. 00041 00042 But that said, if there are any problems please get in touch. 00043 00044 */ 00045 00046 #ifdef __cplusplus 00047 } 00048 #endif 00049 00050 #endif