root/library/bdm/dirent.h @ 1222

Revision 1064, 1.2 kB (checked in by mido, 14 years ago)

astyle applied all over the library

  • Property svn:eol-style set to native
Line 
1#ifndef DIRENT_INCLUDED
2#define DIRENT_INCLUDED
3
4/*! \file
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    Rights:  See end of file.
11
12*/
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18    //!DIR
19    typedef struct DIR DIR;
20
21    //! dirent
22    struct dirent {
23        char *d_name;
24    };
25
26    //! Unix opendir function
27    DIR           *opendir ( const char * );
28    //! Unix closedir function
29    int           closedir ( DIR * );
30    //! Unix readdir function
31    struct dirent *readdir ( DIR * );
32    //! Unix rewinddir function
33    void          rewinddir ( DIR * );
34
35    /*
36
37        Copyright Kevlin Henney, 1997, 2003. All rights reserved.
38
39        Permission to use, copy, modify, and distribute this software and its
40        documentation for any purpose is hereby granted without fee, provided
41        that this copyright and permissions notice appear in all copies and
42        derivatives.
43
44        This software is supplied "as is" without express or implied warranty.
45
46        But that said, if there are any problems please get in touch.
47
48    */
49
50#ifdef __cplusplus
51}
52#endif
53
54#endif
Note: See TracBrowser for help on using the browser.