add swifi to the build/install.
[minix.git] / servers / hgfs / proto.h
blob93575c99b9675232af356605980db21bedd8a91a
2 /* dentry.c */
3 _PROTOTYPE( void init_dentry, (void) );
4 _PROTOTYPE( struct inode *lookup_dentry, (struct inode *parent,
5 char *name) );
6 _PROTOTYPE( void add_dentry, (struct inode *parent, char *name,
7 struct inode *ino) );
8 _PROTOTYPE( void del_dentry, (struct inode *ino) );
10 /* handle.c */
11 _PROTOTYPE( int get_handle, (struct inode *ino) );
12 _PROTOTYPE( void put_handle, (struct inode *ino) );
14 /* inode.c */
15 _PROTOTYPE( struct inode *init_inode, (void) );
16 _PROTOTYPE( struct inode *find_inode, (ino_t ino_nr) );
17 _PROTOTYPE( void get_inode, (struct inode *ino) );
18 _PROTOTYPE( void put_inode, (struct inode *ino) );
19 _PROTOTYPE( void link_inode, (struct inode *parent, struct inode *ino) );
20 _PROTOTYPE( void unlink_inode, (struct inode *ino) );
21 _PROTOTYPE( struct inode *get_free_inode, (void) );
22 _PROTOTYPE( int have_free_inode, (void) );
23 _PROTOTYPE( int have_used_inode, (void) );
24 _PROTOTYPE( int do_putnode, (void) );
26 /* link.c */
27 _PROTOTYPE( int do_create, (void) );
28 _PROTOTYPE( int do_mkdir, (void) );
29 _PROTOTYPE( int do_unlink, (void) );
30 _PROTOTYPE( int do_rmdir, (void) );
31 _PROTOTYPE( int do_rename, (void) );
33 /* lookup.c */
34 _PROTOTYPE( int do_lookup, (void) );
36 /* main.c */
37 _PROTOTYPE( int main, (int argc, char *argv[]) );
39 /* misc.c */
40 _PROTOTYPE( int do_fstatfs, (void) );
42 /* mount.c */
43 _PROTOTYPE( int do_readsuper, (void) );
44 _PROTOTYPE( int do_unmount, (void) );
46 /* name.c */
47 _PROTOTYPE( void normalize_name, (char dst[NAME_MAX+1], char *src) );
48 _PROTOTYPE( int compare_name, (char *name1, char *name2) );
50 /* path.c */
51 _PROTOTYPE( int make_path, (char path[PATH_MAX], struct inode *ino) );
52 _PROTOTYPE( int push_path, (char path[PATH_MAX], char *name) );
53 _PROTOTYPE( void pop_path, (char path[PATH_MAX]) );
55 /* read.c */
56 _PROTOTYPE( int do_read, (void) );
57 _PROTOTYPE( int do_getdents, (void) );
59 /* stat.c */
60 _PROTOTYPE( mode_t get_mode, (struct inode *ino, int mode) );
61 _PROTOTYPE( int do_stat, (void) );
62 _PROTOTYPE( int do_chmod, (void) );
63 _PROTOTYPE( int do_utime, (void) );
65 /* util.c */
66 _PROTOTYPE( int get_name, (cp_grant_id_t grant, size_t len,
67 char name[NAME_MAX+1]) );
68 _PROTOTYPE( int do_noop, (void) );
69 _PROTOTYPE( int no_sys, (void) );
71 /* verify.c */
72 _PROTOTYPE( int verify_path, (char *path, struct inode *ino,
73 struct hgfs_attr *attr, int *stale) );
74 _PROTOTYPE( int verify_inode, (struct inode *ino, char path[PATH_MAX],
75 struct hgfs_attr *attr) );
76 _PROTOTYPE( int verify_dentry, (struct inode *parent,
77 char name[NAME_MAX+1], char path[PATH_MAX],
78 struct inode **res_ino) );
80 /* write.c */
81 _PROTOTYPE( int do_write, (void) );
82 _PROTOTYPE( int do_ftrunc, (void) );