From 34394c68889736a46bd9d4f00955229df48bf88b Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 6 Sep 1995 15:40:09 +0000 Subject: (ports_notify_server, ports_do_mach_notify_*): New decls. --- libports/ports.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'libports') 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; -- cgit v1.2.3