summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-17 22:59:14 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-17 22:59:14 +0000
commit84c8ba45197325fcc4162ca4bf3fa66ee4389d38 (patch)
tree9728fe9c03c4f29aff484028fc35a8419761ed77 /libtrivfs
parent5abc8580d1e19bd8a8e017a58a650a1b7af864e1 (diff)
Formerly trivfs.h.~2~
Diffstat (limited to 'libtrivfs')
-rw-r--r--libtrivfs/trivfs.h24
1 files changed, 21 insertions, 3 deletions
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;