From 0033f3274dba1757d69f5e917883aef80fd7f6a3 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 3 Feb 1994 21:51:00 +0000 Subject: Formerly priv.h.~8~ --- libdiskfs/priv.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'libdiskfs') diff --git a/libdiskfs/priv.h b/libdiskfs/priv.h index 71478a22..5e53c55b 100644 --- a/libdiskfs/priv.h +++ b/libdiskfs/priv.h @@ -15,14 +15,38 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef DISKFS_PRIV_H +#define DISKFS_PRIV_H + #include #include +#include +#include +#include +#include + #include "diskfs.h" extern mach_port_t fs_control_port; /* receive right */ +enum porttype +{ + PT_NONE, + PT_PROTID, + PT_PAGER, + PT_CTL, + PT_EXECBOOT, + PT_INITBOOT, + PT_TRANSBOOT, +}; + spin_lock_t _diskfs_node_refcnt_lock = SPIN_LOCK_INITIALIZER; +#define MAXSYMLINKS 8 + +/* Needed for MiG. */ +typedef struct protid *protid_t; + /* Called by MiG to translate ports into struct protid *. fsmutations.h arranges for this to happen for the io and fs interfaces. */ @@ -106,3 +130,5 @@ diskfs_nrele (struct node *np) }) #define HONORED_STATE_MODES (O_APPEND|O_ASYNC|O_FSYNC|O_NONBLOCK) + +#endif -- cgit v1.2.3