repo.or.cz
/
tfsprogs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add file read/write stuff
[tfsprogs.git]
/
dirent.h
blob
b1e02ba88f1a42ab345a30be0851aaa8461d851e
1
#ifndef DIRENT_H
2
#define DIRENT_H
3
4
#include <stdint.h>
5
6
struct
dirent
{
7
uint32_t
d_ino
;
8
uint32_t
d_off
;
9
uint16_t
d_reclen
;
10
uint16_t
d_type
;
11
char
d_name
[
256
];
12
};
13
14
/*
15
16
typedef struct {
17
struct file *dd_dir;
18
} DIR;
19
20
extern DIR *this_dir;
21
22
DIR * fstk_opendir(struct fstk *, char *);
23
struct dirent * fstk_readdir(DIR *);
24
void fstk_closedir(DIR *);
25
26
*/
27
28
#endif
/* dirent.h */