00001 /* 00002 00003 Declaration of POSIX directory browsing functions and types for Win32. 00004 00005 Kevlin Henney (mailto:kevlin@acm.org), March 1997. 00006 00007 Copyright Kevlin Henney, 1997. All rights reserved. 00008 00009 Permission to use, copy, modify, and distribute this software and its 00010 documentation for any purpose is hereby granted without fee, provided 00011 that this copyright and permissions notice appear in all copies and 00012 derivatives, and that no charge may be made for the software and its 00013 documentation except to cover cost of distribution. 00014 00015 */ 00016 00017 #ifndef DIRENT_INCLUDED 00018 #define DIRENT_INCLUDED 00019 00020 typedef struct DIR DIR; 00021 00022 struct dirent 00023 { 00024 char *d_name; 00025 }; 00026 00027 DIR *opendir(const char *); 00028 int closedir(DIR *); 00029 struct dirent *readdir(DIR *); 00030 void rewinddir(DIR *); 00031 00032 #endif