Partial port to WIN95/NT.
[idzebra-moved-to-github.git] / include / direntz.h
1 /*
2  * Copyright (c) 1997, Index Data.
3  * See the file LICENSE for details.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: direntz.h,v $
7  * Revision 1.1  1997-09-09 13:38:03  adam
8  * Partial port to WIN95/NT.
9  *
10  *
11  */
12 #ifdef WINDOWS
13 #include <windows.h>
14 struct dirent {
15     char d_name[MAX_PATH+1];
16 };
17
18 typedef struct DIR DIR;
19
20 DIR *opendir (const char *path);
21 struct dirent *readdir (DIR *dd);
22 void closedir (DIR *dd);
23 #else
24 #include <dirent.h>
25 #endif