xapian-core  1.4.27
msvc_dirent.h
Go to the documentation of this file.
1 
4 /*
5 
6  Declaration of POSIX directory browsing functions and types for Win32.
7 
8  Author: Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com)
9  History: Created March 1997. Updated June 2003.
10 
11  Copyright Kevlin Henney, 1997, 2003. All rights reserved.
12 
13  Permission to use, copy, modify, and distribute this software and its
14  documentation for any purpose is hereby granted without fee, provided
15  that this copyright and permissions notice appear in all copies and
16  derivatives.
17 
18  This software is supplied "as is" without express or implied warranty.
19 
20  But that said, if there are any problems please get in touch.
21 
22 */
23 
24 #ifndef XAPIAN_INCLUDED_MSVC_DIRENT_H
25 #define XAPIAN_INCLUDED_MSVC_DIRENT_H
26 
27 #ifdef __cplusplus
28 extern "C"
29 {
30 #endif
31 
32 typedef struct DIR DIR;
33 
34 struct dirent
35 {
36  char *d_name;
37 };
38 
39 DIR *opendir(const char *);
40 int closedir(DIR *);
41 struct dirent *readdir(DIR *);
42 void rewinddir(DIR *);
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif // XAPIAN_INCLUDED_MSVC_DIRENT_H
int closedir(DIR *)
struct dirent * readdir(DIR *)
void rewinddir(DIR *)
DIR * opendir(const char *)
char * d_name
Definition: msvc_dirent.h:36
struct DIR DIR
Definition: msvc_dirent.h:32