QDNix
Quick’n’dirty *NIX
vfs.h
1
#ifndef SYS_KERN_VFS_H
2
# define SYS_KERN_VFS_H 1
3
4
typedef
struct
{
5
int (*mount)();
6
int (*unmount)();
7
int (*root)();
8
int (*statfs)();
9
int (*sync)();
10
int (*fid)();
11
int (*vget)();
12
}
VSFOps
;
13
14
typedef
enum
{
15
VFS_NON,
16
VFS_REG,
17
VFS_DIR,
18
VFS_BLK,
19
VFS_CHR,
20
VFS_LNK,
21
VFS_SOCK,
22
VFS_BAD
23
} VFSType;
24
25
typedef
struct
vfs {
26
struct
vfs *next;
27
VSFOps
*op;
28
}
VFS
;
29
30
#endif
/* !SYS_KERN_VFS_H */
VFS
Definition:
vfs.h:25
VSFOps
Definition:
vfs.h:4
sys
kern
vfs.h
Generated by
1.9.1