ldivmod, uldivmod: fix qdivrem calls
[minix.git] / servers / mfs / glo.h
blob09d30d986bc91df941095bb6f376b4e366cdfb17
1 #ifndef __MFS_GLO_H__
2 #define __MFS_GLO_H__
4 /* EXTERN should be extern except for the table file */
5 #ifdef _TABLE
6 #undef EXTERN
7 #define EXTERN
8 #endif
10 #include <minix/vfsif.h>
12 /* The following variables are used for returning results to the caller. */
13 EXTERN int err_code; /* temporary storage for error number */
15 EXTERN int cch[NR_INODES];
17 extern char dot1[2]; /* dot1 (&dot1[0]) and dot2 (&dot2[0]) have a special */
18 extern char dot2[3]; /* meaning to search_dir: no access permission check. */
20 extern int(*fs_call_vec[]) (void);
22 EXTERN message fs_m_in;
23 EXTERN message fs_m_out;
24 EXTERN vfs_ucred_t credentials;
26 EXTERN uid_t caller_uid;
27 EXTERN gid_t caller_gid;
29 EXTERN int req_nr;
31 EXTERN endpoint_t SELF_E;
33 EXTERN char user_path[PATH_MAX]; /* pathname to be processed */
35 EXTERN dev_t fs_dev; /* The device that is handled by this FS proc.
37 EXTERN char fs_dev_label[16]; /* Name of the device driver that is handled
38 * by this FS proc.
40 EXTERN int unmountdone;
41 EXTERN int exitsignaled;
43 #endif