Last change
on this file since 2500 was 1536, checked in by sjboddie, 24 years ago |
Changes to get compiling on VC++ and gcc
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
342 bytes
|
Line | |
---|
1 | #ifndef _DIRENT_H_
|
---|
2 | #define _DIRENT_H_
|
---|
3 | #include <windows.h>
|
---|
4 |
|
---|
5 | typedef struct dirent
|
---|
6 | { char d_name[MAX_PATH];
|
---|
7 | } dirent;
|
---|
8 |
|
---|
9 | typedef struct DIRSTR
|
---|
10 | { HANDLE searchHandle;
|
---|
11 | dirent fileData;
|
---|
12 | int first;
|
---|
13 | } DIRSTR;
|
---|
14 |
|
---|
15 | typedef DIRSTR DIR;
|
---|
16 |
|
---|
17 | DIR *opendir(const char *filename);
|
---|
18 | dirent *readdir(DIR *directory);
|
---|
19 | void closedir(DIR *directory);
|
---|
20 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.