diff options
Diffstat (limited to 'libports/ports.h')
-rw-r--r-- | libports/ports.h | 14 |
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; |