~evan-nelson/armagetronad/armagetronad+pcm

« back to all changes in this revision

Viewing changes to src/win32_ded/dirent.h

Attempting to create a timeout for PLAYER_CENTER_MESSAGE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 
3
 
*************************************************************************
4
 
 
5
 
ArmageTron -- Just another Tron Lightcycle Game in 3D.
6
 
Copyright (C) 2000  Manuel Moos (manuel@moosnet.de)
7
 
Copyright (C) 2004  Armagetron Advanced Team (http://sourceforge.net/projects/armagetronad/)
8
 
 
9
 
**************************************************************************
10
 
 
11
 
This program is free software; you can redistribute it and/or
12
 
modify it under the terms of the GNU General Public License
13
 
as published by the Free Software Foundation; either version 2
14
 
of the License, or (at your option) any later version.
15
 
 
16
 
This program is distributed in the hope that it will be useful,
17
 
but WITHOUT ANY WARRANTY; without even the implied warranty of
18
 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
 
GNU General Public License for more details.
20
 
 
21
 
You should have received a copy of the GNU General Public License
22
 
along with this program; if not, write to the Free Software
23
 
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24
 
  
25
 
***************************************************************************
26
 
 
27
 
*/
28
 
 
29
 
#ifndef DIRENT_INCLUDED
30
 
#define DIRENT_INCLUDED
31
 
 
32
 
/*
33
 
 
34
 
    Declaration of POSIX directory browsing functions and types for Win32.
35
 
 
36
 
    Author:  Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com)
37
 
    History: Created March 1997. Updated June 2003.
38
 
    Rights:  See end of file.
39
 
    
40
 
*/
41
 
 
42
 
#ifdef __cplusplus
43
 
extern "C"
44
 
{
45
 
#endif
46
 
 
47
 
    typedef struct DIR DIR;
48
 
 
49
 
    struct dirent
50
 
    {
51
 
        char *d_name;
52
 
    };
53
 
 
54
 
    DIR           *opendir(const char *);
55
 
    int           closedir(DIR *);
56
 
    struct dirent *readdir(DIR *);
57
 
    void          rewinddir(DIR *);
58
 
 
59
 
    /*
60
 
 
61
 
        Copyright Kevlin Henney, 1997, 2003. All rights reserved.
62
 
 
63
 
        Permission to use, copy, modify, and distribute this software and its
64
 
        documentation for any purpose is hereby granted without fee, provided
65
 
        that this copyright and permissions notice appear in all copies and
66
 
        derivatives.
67
 
        
68
 
        This software is supplied "as is" without express or implied warranty.
69
 
 
70
 
        But that said, if there are any problems please get in touch.
71
 
 
72
 
    */
73
 
 
74
 
#ifdef __cplusplus
75
 
}
76
 
#endif
77
 
 
78
 
#endif
79