summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-10-06 21:49:30 +0000
committerRoland McGrath <roland@gnu.org>1995-10-06 21:49:30 +0000
commit1e3efea4b13b8af182000c4a0d057e43e63b5f7f (patch)
tree6a0fd444e5c2847ef318a367092b5d2892e8d724
parentf0f41f543d88fa6a688948564d8b75d5cb3f611f (diff)
(trivfs_{begin,end}_using_{protid,control}): Declare them.
-rw-r--r--libtrivfs/trivfs.h11
1 files changed, 11 insertions, 0 deletions
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;