summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-19 21:13:20 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-19 21:13:20 +0000
commita272d55adc5b7e5dbae536a59a5c5c6e6d73c6bb (patch)
treea2f6ac023737e41776e55699e5abb3b306df1b29
parentdba531136c64a393dbef13eb2fc2c9b72200a2fd (diff)
(fshelp_set_active): New parms EXCL, GOAWAY, and FLAGS.
-rw-r--r--libfshelp/fshelp.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h
index 182ffbce..043e78d8 100644
--- a/libfshelp/fshelp.h
+++ b/libfshelp/fshelp.h
@@ -129,10 +129,13 @@ fshelp_translated (struct transbox *box)
return (box->active != MACH_PORT_NULL);
}
-/* Atomically replace the existing active translator port for this box
- with NEWACTIVE. */
+/* Atomically replace the existing active translator port for this box
+ with NEWACTIVE. If EXCL is non-zero then don't frob an existing
+ active; return EBUSY instead. If GOAWAY is non-zero, then
+ sent fsys_goaway to it with FLAGS. */
error_t fshelp_set_active (struct transbox *box,
- fsys_t newactive);
+ fsys_t newactive,
+ int excl, int goaway, int flags);
/* Fetch the control port to make a request on it. It's a bad idea
to do fsys_getroot with the result; use fetch_root instead. */