Last change
on this file since 1524 was 1524, checked in by cs025, 24 years ago |
Added dirent to cope with absence of the facility from VC++ 6.0, and modified
file.cpp accordingly.
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
360 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.