/[cvs]/eggdrop1.8/src/stat.h
ViewVC logotype

Annotation of /eggdrop1.8/src/stat.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download) (as text)
Mon Jul 26 21:11:06 2010 UTC (9 years, 2 months ago) by simple
Branch point for: eggheads, MAIN
File MIME type: text/x-csrc
Initial revision

1 simple 1.1 /*
2     * stat.h
3     * file attributes
4     *
5     * $Id: stat.h,v 1.12 2010/01/03 13:27:32 pseudo Exp $
6     */
7     /*
8     * Copyright (C) 1999 - 2010 Eggheads Development Team
9     *
10     * This program is free software; you can redistribute it and/or
11     * modify it under the terms of the GNU General Public License
12     * as published by the Free Software Foundation; either version 2
13     * of the License, or (at your option) any later version.
14     *
15     * This program is distributed in the hope that it will be useful,
16     * but WITHOUT ANY WARRANTY; without even the implied warranty of
17     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18     * GNU General Public License for more details.
19     *
20     * You should have received a copy of the GNU General Public License
21     * along with this program; if not, write to the Free Software
22     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23     */
24    
25     #ifndef _EGG_STAT_H
26     #define _EGG_STAT_H
27    
28     #ifndef S_ISDIR
29     # ifndef S_IFMT
30     # define S_IFMT 0170000 /* Bitmask for the file type bitfields */
31     # endif
32     # ifndef S_IFDIR
33     # define S_IFDIR 0040000 /* Directory */
34     # endif
35     # define S_ISDIR(m) (((m)&(S_IFMT)) == (S_IFDIR))
36     #endif
37     #ifndef S_IFREG
38     # define S_IFREG 0100000 /* Regular file */
39     #endif
40     #ifndef S_IFLNK
41     # define S_IFLNK 0120000 /* Symbolic link */
42     #endif
43    
44     #endif /* _EGG_STAT_H */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23