home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / mach / notify.h < prev    next >
Text File  |  1992-07-29  |  2KB  |  68 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1989 Carnegie-Mellon University
  4.  * Copyright (c) 1988 Carnegie-Mellon University
  5.  * Copyright (c) 1987 Carnegie-Mellon University
  6.  * All rights reserved.  The CMU software License Agreement specifies
  7.  * the terms and conditions for use and redistribution.
  8.  */
  9. /*
  10.  * HISTORY
  11.  * $Log:    notify.h,v $
  12.  * Revision 2.7  89/03/09  20:22:23  rpd
  13.  *     More cleanup.
  14.  * 
  15.  * Revision 2.6  89/03/05  16:48:54  rpd
  16.  *     Moved ownership rights under MACH_IPC_XXXHACK (when KERNEL).
  17.  *     [89/02/16            rpd]
  18.  * 
  19.  * Revision 2.5  89/02/25  18:39:31  gm0w
  20.  *     Changes for cleanup.
  21.  * 
  22.  * R!2 ion 2.4  89/02/07  00:52:49  mwyoung
  23.  * Relocated from sys/notify.h
  24.  * 
  25.  * Revision 2.3  88/10/11  10:25:29  rpd
  26.  *     Added NOTIFY_PORT_DESTROYED.
  27.  *     [88/10/11  08:05:35  rpd]
  28.  * 
  29.  * Revision 2.2  88/08/24  02:37:53  mwyoung
  30.  *     Adjusted include file references.
  31.  *     [88/08/17  02:19:20  mwyoung]
  32.  * 
  33.  *
  34.  * 21-Nov-86  Michael Young (mwyoung) at Carnegie-Mellon University
  35.  *    Added notification message structure definition.
  36.  *
  37.  * 01-Jul-86  Michael Young (mwyoung) at Carnegie-Mellon University
  38.  *    Created, based on Accent values.
  39.  */
  40. /*
  41.  *    Kernel notification message definitions.
  42.  *
  43.  */
  44.  
  45. #ifndef    _MACH_NOTIFY_H_
  46. #define _MACH_NOTIFY_H_
  47.  
  48. #import <mach/message.h>
  49.  
  50.  
  51. /*
  52.  *    Notifications sent upon interesting system events.
  53.  */
  54.  
  55. #define NOTIFY_FIRST            0100
  56. #define NOTIFY_PORT_DELETED        ( NOTIFY_FIRST + 001 )
  57. #define NOTIFY_MSG_ACCEPTED        ( NOTIFY_FIRST + 002 )
  58. #define NOTIFY_PORT_DESTROYED        ( NOTIFY_FIRST + 005 )
  59. #define NOTIFY_LAST            ( NOTIFY_FIRST + 015 )
  60.  
  61. typedef struct {
  62.     msg_header_t    notify_header;
  63.     msg_type_t    notify_type;
  64.     port_t        notify_port;
  65. } notification_t;
  66.  
  67. #endif    _MACH_NOTIFY_H_
  68.