dirent.h revision 35922a2138c5adc91a2b4b185b5d756900bde87d
1#ifndef DIRENT_H
2#define DIRENT_H
3
4#include <windows.h>
5
6struct dirent
7{
8	ino_t  d_ino;     /*  File serial number */
9	char   d_name[MAX_PATH];  /* Name of entry */
10};
11
12struct dirent_ctx
13{
14	HANDLE find_handle;
15	char dirname[MAX_PATH];
16};
17
18typedef struct dirent_ctx DIR;
19
20DIR *opendir(const char *dirname);
21struct dirent *readdir(DIR *dirp);
22int closedir(DIR *dirp);
23
24#endif /* DIRENT_H */
25