The SWORD Project  1.9.0.svnversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dirent.h
Go to the documentation of this file.
1 /*
2 
3  Declaration of POSIX directory browsing functions and types for Win32.
4 
5  Kevlin Henney (mailto:kevlin@acm.org), March 1997.
6 
7  Copyright Kevlin Henney, 1997. All rights reserved.
8 
9  Permission to use, copy, modify, and distribute this software and its
10  documentation for any purpose is hereby granted without fee, provided
11  that this copyright and permissions notice appear in all copies and
12  derivatives, and that no charge may be made for the software and its
13  documentation except to cover cost of distribution.
14 
15 */
16 
17 #ifndef DIRENT_INCLUDED
18 #define DIRENT_INCLUDED
19 
20 #include <defs.h>
21 
22 typedef struct DIR DIR;
23 
25 {
26  char *d_name;
27 };
28 
29 SWDLLEXPORT DIR *opendir(const char *);
30 SWDLLEXPORT int closedir(DIR *);
31 SWDLLEXPORT struct dirent *readdir(DIR *);
32 SWDLLEXPORT void rewinddir(DIR *);
33 
34 #endif
#define SWDLLEXPORT
Definition: defs.h:171
Definition: dirent.h:24
Definition: dirent.cpp:27
SWDLLEXPORT void rewinddir(DIR *dir)
Definition: dirent.cpp:119
char * d_name
Definition: dirent.h:26
SWDLLEXPORT DIR * opendir(const char *name)
Definition: dirent.cpp:35
SWDLLEXPORT struct dirent * readdir(DIR *dir)
Definition: dirent.cpp:99
SWDLLEXPORT int closedir(DIR *dir)
Definition: dirent.cpp:76