Updated WIN32 code specific sections. Changed header.
[idzebra-moved-to-github.git] / include / direntz.h
1 /*
2  * Copyright (c) 1997-1999, Index Data.
3  * See the file LICENSE for details.
4  * Sebastian Hammer, Adam Dickmeiss
5  *
6  * $Log: direntz.h,v $
7  * Revision 1.3  1999-02-02 14:50:33  adam
8  * Updated WIN32 code specific sections. Changed header.
9  *
10  * Revision 1.2  1997/09/17 12:19:09  adam
11  * Zebra version corresponds to YAZ version 1.4.
12  * Changed Zebra server so that it doesn't depend on global common_resource.
13  *
14  * Revision 1.1  1997/09/09 13:38:03  adam
15  * Partial port to WIN95/NT.
16  *
17  *
18  */
19
20
21 #ifdef WIN32
22 /* make own version of dirent */
23 #include <windows.h>
24 struct dirent {
25     char d_name[MAX_PATH];
26 };
27
28 typedef struct DIR DIR;
29
30 DIR *opendir (const char *path);
31 struct dirent *readdir (DIR *dd);
32 void closedir (DIR *dd);
33 #else
34 /* include UNIX version */
35 #include <dirent.h>
36 #endif