[ci] Enable IRC notifications from travis
[xapian.git] / xapian-core / common / msvc_dirent.h
blobccaf5045ce1573d130cc1ca86e751d717a596b75
1 /** @file msvc_dirent.h
2 * @brief Implementation of dirent functions using WIN32 API.
3 */
4 /*
6 Declaration of POSIX directory browsing functions and types for Win32.
8 Author: Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com)
9 History: Created March 1997. Updated June 2003.
11 Copyright Kevlin Henney, 1997, 2003. All rights reserved.
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.
18 This software is supplied "as is" without express or implied warranty.
20 But that said, if there are any problems please get in touch.
24 #ifndef XAPIAN_INCLUDED_MSVC_DIRENT_H
25 #define XAPIAN_INCLUDED_MSVC_DIRENT_H
27 #ifdef __cplusplus
28 extern "C"
30 #endif
32 typedef struct DIR DIR;
34 struct dirent
36 char *d_name;
39 DIR *opendir(const char *);
40 int closedir(DIR *);
41 struct dirent *readdir(DIR *);
42 void rewinddir(DIR *);
44 #ifdef __cplusplus
46 #endif
48 #endif // XAPIAN_INCLUDED_MSVC_DIRENT_H