ipc_notify.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * Mach Operating System
  3. * Copyright (c) 1991,1990,1989 Carnegie Mellon University
  4. * All Rights Reserved.
  5. *
  6. * Permission to use, copy, modify and distribute this software and its
  7. * documentation is hereby granted, provided that both the copyright
  8. * notice and this permission notice appear in all copies of the
  9. * software, derivative works or modified versions, and any portions
  10. * thereof, and that both notices appear in supporting documentation.
  11. *
  12. * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
  13. * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
  14. * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
  15. *
  16. * Carnegie Mellon requests users of this software to return to
  17. *
  18. * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
  19. * School of Computer Science
  20. * Carnegie Mellon University
  21. * Pittsburgh PA 15213-3890
  22. *
  23. * any improvements or extensions that they make and grant Carnegie Mellon
  24. * the rights to redistribute these changes.
  25. */
  26. /*
  27. * File: ipc/ipc_notify.h
  28. * Author: Rich Draves
  29. * Date: 1989
  30. *
  31. * Declarations of notification-sending functions.
  32. */
  33. #ifndef _IPC_IPC_NOTIFY_H_
  34. #define _IPC_IPC_NOTIFY_H_
  35. extern void
  36. ipc_notify_init(void);
  37. extern void
  38. ipc_notify_port_deleted(ipc_port_t, mach_port_t);
  39. extern void
  40. ipc_notify_msg_accepted(ipc_port_t, mach_port_t);
  41. extern void
  42. ipc_notify_port_destroyed(ipc_port_t, ipc_port_t);
  43. extern void
  44. ipc_notify_no_senders(ipc_port_t, mach_port_mscount_t);
  45. extern void
  46. ipc_notify_send_once(ipc_port_t);
  47. extern void
  48. ipc_notify_dead_name(ipc_port_t, mach_port_t);
  49. #endif /* _IPC_IPC_NOTIFY_H_ */