summaryrefslogtreecommitdiff
path: root/libtrivfs/trivfs.h
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-18 21:47:19 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-18 21:47:19 +0000
commitdffae581da5014f9c1a327dc7514158cbf5c0db3 (patch)
tree298c1d0c082381460247677a34df75fe15db7b8c /libtrivfs/trivfs.h
parentb84f764f0cb3c3aab4e4cecb423f0c55dec4c31e (diff)
Formerly trivfs.h.~3~
Diffstat (limited to 'libtrivfs/trivfs.h')
-rw-r--r--libtrivfs/trivfs.h34
1 files changed, 15 insertions, 19 deletions
diff --git a/libtrivfs/trivfs.h b/libtrivfs/trivfs.h
index 1bc55e3a..e98a542b 100644
--- a/libtrivfs/trivfs.h
+++ b/libtrivfs/trivfs.h
@@ -19,31 +19,14 @@
struct protid
{
struct port_info pi;
-
- /* User identification */
- uid_t *uids, *gids;
- int nuids, ngids;
-
+ int isroot;
mach_port_t realnode;
-
- /* Object this refers to */
- struct peropen *po;
-};
-
-/* 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;
+mach_port_t trivfs_underlying_node;
struct port_info *trivfs_control_port;
-
/* The user must define these variables. */
extern int trivfs_fstype;
extern int trivfs_fsid;
@@ -51,3 +34,16 @@ extern int trivfs_fsid;
extern int trivfs_support_read;
extern int trivfs_support_write;
extern int trivfs_support_exec;
+
+extern char *trivfs_server_name;
+extern int trivfs_major_version;
+extern int trivfs_minor_version;
+extern int trivfs_edit_version;
+
+/* The user must define this function. This should modify a struct
+ stat (as returned from the underlying node) for presentation to
+ callers of io_stat. It is permissable for this function to do
+ nothing. */
+void trivfs_modify_stat (struct stat *);
+
+error_t trivfs_goaway (int);