Subversion Repositories tendra.SVN

Rev

Rev 72 | Rev 77 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
76 7u83 1
#ifndef __TENDRA_DIRENT_H
2
#define __TENDRA_DIRENT_H
3
 
72 7u83 4
struct _dirdesc;
5
typedef struct _dirdesc DIR;
6
 
7
 
8
struct dirent {
9
        int      d_fileno;            /* file number of entry */
10
        int     d_off;               /* directory offset of entry */
11
	short  d_reclen;            /* length of this record */
12
        char  d_type;              /* file type, see below */
13
        char  d_pad0;
14
        short d_namlen;            /* length of string in d_name */
15
        short d_pad1;
16
#if __BSD_VISIBLE
17
#define MAXNAMLEN       255
18
        char    d_name[MAXNAMLEN + 1];  /* name must be no longer than this */
19
#else
20
        char    d_name[255 + 1];        /* name must be no longer than this */
21
#endif
22
};
23
 
76 7u83 24
#endif
25