xref: /minix/minix/lib/libvtreefs/proto.h (revision 433d6423)
1 #ifndef _VTREEFS_PROTO_H
2 #define _VTREEFS_PROTO_H
3 
4 /* inode.c */
5 void init_inodes(unsigned int inodes, struct inode_stat *stat, index_t
6 	nr_indexed_entries);
7 void cleanup_inodes(void);
8 struct inode *find_inode(ino_t num);
9 struct inode *get_inode(ino_t num);
10 void put_inode(struct inode *node);
11 void ref_inode(struct inode *node);
12 int get_inode_number(struct inode *node);
13 int is_inode_deleted(struct inode *node);
14 int fs_putnode(void);
15 
16 /* link.c */
17 int fs_rdlink(void);
18 
19 /* mount.c */
20 int fs_readsuper(void);
21 int fs_unmount(void);
22 
23 /* path.c */
24 int fs_lookup(void);
25 
26 /* read.c */
27 int fs_read(void);
28 int fs_getdents(void);
29 
30 /* sdbm.c */
31 long sdbm_hash(char *str, int len);
32 
33 /* stadir.c */
34 int fs_stat(void);
35 int fs_statvfs(void);
36 
37 /* utility.c */
38 int no_sys(void);
39 int do_noop(void);
40 
41 #endif /* _VTREEFS_PROTO_H */
42