From 1e3efea4b13b8af182000c4a0d057e43e63b5f7f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 6 Oct 1995 21:49:30 +0000 Subject: (trivfs_{begin,end}_using_{protid,control}): Declare them. --- libtrivfs/trivfs.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libtrivfs/trivfs.h') diff --git a/libtrivfs/trivfs.h b/libtrivfs/trivfs.h index 6d157444..58a2bfd8 100644 --- a/libtrivfs/trivfs.h +++ b/libtrivfs/trivfs.h @@ -37,6 +37,11 @@ struct trivfs_protid struct trivfs_peropen *po; }; +/* These can be used as `intran' and `destructor' functions for + a MiG port type, to have the stubs called with the protid pointer. */ +struct trivfs_protid *trivfs_begin_using_protid (mach_port_t); +void trivfs_end_using_protid (struct trivfs_protid *); + struct trivfs_peropen { void *hook; /* for user use */ @@ -55,6 +60,12 @@ struct trivfs_control void *hook; /* for user use */ }; +/* These can be used as `intran' and `destructor' functions for + a MiG port type, to have the stubs called with the control pointer. */ +struct trivfs_control *trivfs_begin_using_control (mach_port_t); +void trivfs_end_using_control (struct trivfs_control *); + + /* The user must define these variables. */ extern int trivfs_fstype; extern int trivfs_fsid; -- cgit v1.2.3