xref: /minix3/minix/lib/libpuffs/glo.h (revision ba736c796854b82e29da17267614db0a449419db)
1 /* EXTERN should be extern except for the table file */
2 
3 #ifndef LIBPUFFS_GLO_H
4 #define LIBPUFFS_GLO_H
5 
6 #ifdef _TABLE
7 #undef EXTERN
8 #define EXTERN
9 #endif
10 
11 #include <fs/puffs/puffs_msgif.h>
12 
13 EXTERN struct puffs_usermount *global_pu;
14 
15 EXTERN int is_readonly_fs;
16 EXTERN int buildpath;
17 
18 /* Sometimes user can call exit. If we received a message,
19  * report a failure to VFS before exiting. Especially on mount
20  * and unmount.
21  */
22 
23 /* The following variables are used for returning results to the caller. */
24 EXTERN int err_code;        /* temporary storage for error number */
25 
26 EXTERN struct puffs_kcred global_kcred;
27 
28 EXTERN char fs_name[PATH_MAX+1];
29 
30 EXTERN int mounted;
31 EXTERN int exitsignaled;
32 
33 extern struct fsdriver puffs_table;
34 
35 #endif /* LIBPUFFS_GLO_H */
36