Debian Codegraph @

bin/w32/dirent.h

raw symbols SCIP
1 /*
2 * dirent.h
3 *
4 * Author: Shuichi Kitaguchi <[email protected]>
5 * Created: Jun 17, 2001
6 * Revised:
7 *
8 * Code:
9 */
10
11 #ifndef __DIRENT_H__
12 #define __DIRENT_H__
13
14
15 /*
16 * Structures
17 */
18
19 #define d_ino d_fileno
20
21 struct dirent {
22 DWORD d_fileno;
23 BYTE d_namlen;
24 char d_name[MAX_PATH + 1];
25 };
26
27 typedef struct _DIR {
28 struct dirent dir;
29 HANDLE hFind;
30 char dd_filename[MAX_PATH+1];
31 } DIR;
32
33
34 /*
35 * Functions
36 */
37
38 DIR *opendir(const char *);
39 struct dirent *readdir(DIR *);
40 int closedir(DIR *);
41
42
43 #endif /* __DIRENT_H__ */
44
45 /*
46 * Copyright (C) 2001-2003 Mew developing team.
47 * All rights reserved.
48 *
49 * Redistribution and use in source and binary forms, with or without
50 * modification, are permitted provided that the following conditions
51 * are met:
52 *
53 * 1. Redistributions of source code must retain the above copyright
54 * notice, this list of conditions and the following disclaimer.
55 * 2. Redistributions in binary form must reproduce the above copyright
56 * notice, this list of conditions and the following disclaimer in the
57 * documentation and/or other materials provided with the distribution.
58 * 3. Neither the name of the team nor the names of its contributors
59 * may be used to endorse or promote products derived from this software
60 * without specific prior written permission.
61 *
62 * THIS SOFTWARE IS PROVIDED BY THE TEAM AND CONTRIBUTORS ``AS IS'' AND
63 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
64 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
65 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE TEAM OR CONTRIBUTORS BE
66 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
67 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
68 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
69 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
70 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
71 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
72 * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
73 */
74
75 /*
76 * dirent.h ends here
77 */