From 84c8ba45197325fcc4162ca4bf3fa66ee4389d38 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 17 Feb 1994 22:59:14 +0000 Subject: Formerly trivfs.h.~2~ --- libtrivfs/trivfs.h | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'libtrivfs') diff --git a/libtrivfs/trivfs.h b/libtrivfs/trivfs.h index 6350e756..1bc55e3a 100644 --- a/libtrivfs/trivfs.h +++ b/libtrivfs/trivfs.h @@ -20,16 +20,34 @@ struct protid { struct port_info pi; - /* User identification */ uid_t *uids, *gids; int nuids, ngids; + mach_port_t realnode; + /* Object this refers to */ struct peropen *po; }; -/* One of these is created for each node opened */ +/* One of these is created for each open */ struct peropen { - + off_t filepointer; + int refcnt; + int openstat; + int lock_status; +}; + +struct trans_link trivfs_translator; + +struct port_info *trivfs_control_port; + + +/* The user must define these variables. */ +extern int trivfs_fstype; +extern int trivfs_fsid; + +extern int trivfs_support_read; +extern int trivfs_support_write; +extern int trivfs_support_exec; -- cgit v1.2.3