src/win32_ded/dirent.h

Go to the documentation of this file.
00001 /*
00002 
00003 *************************************************************************
00004 
00005 ArmageTron -- Just another Tron Lightcycle Game in 3D.
00006 Copyright (C) 2000  Manuel Moos (manuel@moosnet.de)
00007 Copyright (C) 2004  Armagetron Advanced Team (http://sourceforge.net/projects/armagetronad/)
00008 
00009 **************************************************************************
00010 
00011 This program is free software; you can redistribute it and/or
00012 modify it under the terms of the GNU General Public License
00013 as published by the Free Software Foundation; either version 2
00014 of the License, or (at your option) any later version.
00015 
00016 This program is distributed in the hope that it will be useful,
00017 but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019 GNU General Public License for more details.
00020 
00021 You should have received a copy of the GNU General Public License
00022 along with this program; if not, write to the Free Software
00023 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00024   
00025 ***************************************************************************
00026 
00027 */
00028 
00029 #ifndef DIRENT_INCLUDED
00030 #define DIRENT_INCLUDED
00031 
00032 /*
00033 
00034     Declaration of POSIX directory browsing functions and types for Win32.
00035 
00036     Author:  Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com)
00037     History: Created March 1997. Updated June 2003.
00038     Rights:  See end of file.
00039     
00040 */
00041 
00042 #ifdef __cplusplus
00043 extern "C"
00044 {
00045 #endif
00046 
00047     typedef struct DIR DIR;
00048 
00049     struct dirent
00050     {
00051         char *d_name;
00052     };
00053 
00054     DIR           *opendir(const char *);
00055     int           closedir(DIR *);
00056     struct dirent *readdir(DIR *);
00057     void          rewinddir(DIR *);
00058 
00059     /*
00060 
00061         Copyright Kevlin Henney, 1997, 2003. All rights reserved.
00062 
00063         Permission to use, copy, modify, and distribute this software and its
00064         documentation for any purpose is hereby granted without fee, provided
00065         that this copyright and permissions notice appear in all copies and
00066         derivatives.
00067         
00068         This software is supplied "as is" without express or implied warranty.
00069 
00070         But that said, if there are any problems please get in touch.
00071 
00072     */
00073 
00074 #ifdef __cplusplus
00075 }
00076 #endif
00077 
00078 #endif
00079 

Generated on Sat Mar 15 22:56:14 2008 for Armagetron Advanced by  doxygen 1.5.4