Multiple registers (alpha early)
[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.5  2002-04-04 14:14:13  adam
8  * Multiple registers (alpha early)
9  *
10  * Revision 1.4  1999/05/26 07:49:13  adam
11  * C++ compilation.
12  *
13  * Revision 1.3  1999/02/02 14:50:33  adam
14  * Updated WIN32 code specific sections. Changed header.
15  *
16  * Revision 1.2  1997/09/17 12:19:09  adam
17  * Zebra version corresponds to YAZ version 1.4.
18  * Changed Zebra server so that it doesn't depend on global common_resource.
19  *
20  * Revision 1.1  1997/09/09 13:38:03  adam
21  * Partial port to WIN95/NT.
22  *
23  *
24  */
25
26
27 #ifdef WIN32
28 /* make WIN32 version of dirent */
29 #include <windows.h>
30
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34
35 struct dirent {
36     char d_name[MAX_PATH];
37 };
38
39 typedef struct DIR DIR;
40
41 DIR *opendir (const char *path);
42 struct dirent *readdir (DIR *dd);
43 void closedir (DIR *dd);
44
45 #ifdef __cplusplus
46 }
47 #endif
48
49 #else
50 /* include UNIX version */
51 #include <dirent.h>
52 #endif
53
54 int zebra_is_abspath (const char *p);