tools/llvm: Do not build with symbols
[minix3.git] / lib / libpuffs / proto.h
blob10ecfcd49fba8258a26173dff702d54be9ba148b
1 #ifndef PUFFS_PROTO_H
2 #define PUFFS_PROTO_H
4 struct puffs_usermount;
5 struct puffs_node;
6 struct timespec;
8 /* Function prototypes. */
10 int fs_new_driver(void);
12 /* inode.c */
13 int fs_putnode(void);
14 void release_node(struct puffs_usermount *pu, struct puffs_node *pn );
16 /* device.c */
17 int dev_open(endpoint_t driver_e, dev_t dev, endpoint_t proc_e, int
18 flags);
19 void dev_close(endpoint_t driver_e, dev_t dev);
21 /* link.c */
22 int fs_ftrunc(void);
23 int fs_link(void);
24 int fs_rdlink(void);
25 int fs_rename(void);
26 int fs_unlink(void);
28 /* misc.c */
29 int fs_flush(void);
30 int fs_sync(void);
32 /* mount.c */
33 int fs_mountpoint(void);
34 int fs_readsuper(void);
35 int fs_unmount(void);
37 /* open.c */
38 int fs_create(void);
39 int fs_inhibread(void);
40 int fs_mkdir(void);
41 int fs_mknod(void);
42 int fs_slink(void);
44 /* path.c */
45 int fs_lookup(void);
46 struct puffs_node *advance(struct puffs_node *dirp, char string[NAME_MAX
47 + 1], int chk_perm);
49 /* protect.c */
50 int fs_chmod(void);
51 int fs_chown(void);
52 int fs_getdents(void);
53 int forbidden(struct puffs_node *rip, mode_t access_desired);
55 /* read.c */
56 int fs_breadwrite(void);
57 int fs_readwrite(void);
59 /* stadir.c */
60 int fs_stat(void);
61 int fs_statvfs(void);
63 /* time.c */
64 int fs_utime(void);
66 /* utility.c */
67 int no_sys(void);
68 void mfs_nul_f(const char *file, int line, char *str, unsigned int len,
69 unsigned int maxlen);
70 struct timespec clock_timespec(void);
71 int update_timens(struct puffs_node *pn, int fl, struct timespec *);
72 void lpuffs_debug(const char *format, ...);
74 #endif /* PUFFS_PROTO_H */