fintp_base
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dirent_w32.h
Go to the documentation of this file.
1 #ifdef WIN32
2 #ifndef DIRENT_INCLUDED
3 #define DIRENT_INCLUDED
4 
5 /*
6 
7  Declaration of POSIX directory browsing functions and types for Win32.
8 
9  Author: Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com)
10  History: Created March 1997. Updated June 2003.
11  Rights: See end of file.
12 
13 */
14 
15 #ifdef __cplusplus
16 extern "C"
17 {
18 #endif
19 
20 typedef struct DIR DIR;
21 
22 struct dirent
23 {
24  char *d_name;
25 };
26 
27 DIR *opendir(const char *);
28 int closedir(DIR *);
29 struct dirent *readdir(DIR *, struct dirent** result);
30 void rewinddir(DIR *);
31 
32 /*
33 
34  Copyright Kevlin Henney, 1997, 2003. All rights reserved.
35 
36  Permission to use, copy, modify, and distribute this software and its
37  documentation for any purpose is hereby granted without fee, provided
38  that this copyright and permissions notice appear in all copies and
39  derivatives.
40 
41  This software is supplied "as is" without express or implied warranty.
42 
43  But that said, if there are any problems please get in touch.
44 
45 */
46 
47 #ifdef __cplusplus
48 }
49 #endif
50 
51 #endif
52 #endif