38835117660bedfaf5883b302fac35c055117a3e
[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.2  1997-09-17 12:19:09  adam
8  * Zebra version corresponds to YAZ version 1.4.
9  * Changed Zebra server so that it doesn't depend on global common_resource.
10  *
11  * Revision 1.1  1997/09/09 13:38:03  adam
12  * Partial port to WIN95/NT.
13  *
14  *
15  */
16
17
18 #ifdef WINDOWS
19 /* make own version of dirent */
20 #include <windows.h>
21 struct dirent {
22     char d_name[MAX_PATH];
23 };
24
25 typedef struct DIR DIR;
26
27 DIR *opendir (const char *path);
28 struct dirent *readdir (DIR *dd);
29 void closedir (DIR *dd);
30 #else
31 /* include UNIX version */
32 #include <dirent.h>
33 #endif