summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-09-06 15:40:09 +0000
committerMiles Bader <miles@gnu.org>1995-09-06 15:40:09 +0000
commit34394c68889736a46bd9d4f00955229df48bf88b (patch)
tree9f5f4b77d86ebae1f2739dfbe6767e8a0f394eb5
parentf7dedfa9f94c1e09105e1c520fade09185fba86a (diff)
(ports_notify_server, ports_do_mach_notify_*): New decls.
-rw-r--r--libports/ports.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/libports/ports.h b/libports/ports.h
index 8cf5c777..7be547ae 100644
--- a/libports/ports.h
+++ b/libports/ports.h
@@ -247,7 +247,19 @@ void ports_resume_all_rpcs (void);
/* Cancel (with thread_cancel) any RPC's in progress on PORT. */
void ports_interrupt_rpc (void *port);
-
+
+/* Notification */
+
+/* A notification server that calls the ports_do_mach_* routines. */
+int ports_notify_server (mach_msg_header_t *, mach_msg_header_t *);
+
+/* Notification server routines called by ports_notify_server. */
+error_t ports_do_mach_notify_dead_name (mach_port_t notify, mach_port_t deadport);
+error_t ports_do_mach_notify_msg_accepted (mach_port_t notify, mach_port_t name);
+error_t ports_do_mach_notify_no_senders (mach_port_t port, mach_port_mscount_t count);
+error_t ports_do_mach_notify_port_deleted (mach_port_t notify, mach_port_t name);
+error_t ports_do_mach_notify_port_destroyed (mach_port_t notify, mach_port_t name);
+error_t ports_do_mach_notify_send_once (mach_port_t notify);
/* Private data */
extern struct mutex _ports_lock;