common/msvc_dirent.h

Go to the documentation of this file.
00001 
00004 /*
00005 
00006     Declaration of POSIX directory browsing functions and types for Win32.
00007 
00008     Author:  Kevlin Henney ([email protected], [email protected])
00009     History: Created March 1997. Updated June 2003.
00010 
00011     Copyright Kevlin Henney, 1997, 2003. All rights reserved.
00012 
00013     Permission to use, copy, modify, and distribute this software and its
00014     documentation for any purpose is hereby granted without fee, provided
00015     that this copyright and permissions notice appear in all copies and
00016     derivatives.
00017     
00018     This software is supplied "as is" without express or implied warranty.
00019 
00020     But that said, if there are any problems please get in touch.
00021 
00022 */
00023     
00024 #ifndef XAPIAN_INCLUDED_MSVC_DIRENT_H
00025 #define XAPIAN_INCLUDED_MSVC_DIRENT_H
00026 
00027 #ifdef __cplusplus
00028 extern "C"
00029 {
00030 #endif
00031 
00032 typedef struct DIR DIR;
00033 
00034 struct dirent
00035 {
00036     char *d_name;
00037 };
00038 
00039 DIR           *opendir(const char *);
00040 int           closedir(DIR *);
00041 struct dirent *readdir(DIR *);
00042 void          rewinddir(DIR *);
00043 
00044 #ifdef __cplusplus
00045 }
00046 #endif
00047 
00048 #endif // XAPIAN_INCLUDED_MSVC_DIRENT_H

Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.