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 rmdir stuff
[tfsprogs.git]
/
dirent.h
blob
25a9ad88f1d6b3e32f18a6e1ae8c4c9309738ac0
1
#ifndef DIRENT_H
2
#define DIRENT_H
3
4
#include <stdint.h>
5
6
#include
"file.h"
7
8
struct
dirent
{
9
uint32_t
d_ino
;
10
uint32_t
d_off
;
11
uint16_t
d_reclen
;
12
uint16_t
d_type
;
13
char
d_name
[
256
];
14
};
15
16
17
typedef
struct
{
18
struct
file
*
dd_dir
;
19
}
DIR
;
20
21
22
DIR
*
tfs_opendir
(
struct
tfs_sb_info
*,
const char
*);
23
struct
dirent
*
tfs_readdir
(
DIR
*);
24
void
tfs_closedir
(
DIR
*);
25
26
extern
DIR
*
this_dir
;
27
28
#endif
/* dirent.h */