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
|
Rev | Line | |
---|
[706] | 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 |
---|
| 15 | extern "C" { |
---|
| 16 | #endif |
---|
| 17 | |
---|
[1064] | 18 | //!DIR |
---|
| 19 | typedef struct DIR DIR; |
---|
[706] | 20 | |
---|
[1064] | 21 | //! dirent |
---|
| 22 | struct dirent { |
---|
| 23 | char *d_name; |
---|
| 24 | }; |
---|
[706] | 25 | |
---|
[1064] | 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 * ); |
---|
[706] | 34 | |
---|
[1064] | 35 | /* |
---|
[706] | 36 | |
---|
[1064] | 37 | Copyright Kevlin Henney, 1997, 2003. All rights reserved. |
---|
[706] | 38 | |
---|
[1064] | 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. |
---|
[706] | 43 | |
---|
[1064] | 44 | This software is supplied "as is" without express or implied warranty. |
---|
[706] | 45 | |
---|
[1064] | 46 | But that said, if there are any problems please get in touch. |
---|
[706] | 47 | |
---|
[1064] | 48 | */ |
---|
[706] | 49 | |
---|
| 50 | #ifdef __cplusplus |
---|
| 51 | } |
---|
| 52 | #endif |
---|
| 53 | |
---|
| 54 | #endif |
---|