minix/servers/pfs/glo.h

31 lines
654 B
C
Raw Normal View History

2010-05-28 11:39:18 +02:00
#ifndef __PFS_GLO_H__
#define __PFS_GLO_H__
2009-12-20 21:41:50 +01:00
/* EXTERN should be extern except for the table file */
#ifdef _TABLE
#undef EXTERN
#define EXTERN
#endif
#include <minix/vfsif.h>
/* The following variables are used for returning results to the caller. */
EXTERN int err_code; /* temporary storage for error number */
2010-05-28 11:39:18 +02:00
EXTERN _PROTOTYPE (int (*fs_call_vec[]), (void) ); /* fs call table */
2009-12-20 21:41:50 +01:00
EXTERN message fs_m_in;
EXTERN message fs_m_out;
EXTERN uid_t caller_uid;
EXTERN gid_t caller_gid;
EXTERN int req_nr;
EXTERN int SELF_E;
EXTERN int exitsignaled;
EXTERN int busy;
/* Inode map. */
EXTERN bitchunk_t inodemap[FS_BITMAP_CHUNKS(NR_INODES)];
2010-05-28 11:39:18 +02:00
#endif