]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/notify.h
xnu-517.12.7.tar.gz
[apple/xnu.git] / osfmk / mach / notify.h
index 716f3e4fecd4822beaaf9db4d712f1edc5e34125..28d823d92d0351153d6425cc7d65d95e93f1ae3a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
                        /* Send or send-once right died, leaving a dead-name */
 #define MACH_NOTIFY_LAST               (MACH_NOTIFY_FIRST + 015)
 
+typedef mach_port_t notify_port_t;
+
+#include <sys/appleapiopts.h>
+#ifdef __APPLE_API_OBSOLETE
+/*
+ * Hard-coded message structures for receiving Mach port notification
+ * messages.  However, they are not actual large enough to receive 
+ * the largest trailers current exported by Mach IPC (so they cannot
+ * be used for space allocations in situations using these new larger
+ * trailers).  Instead, the MIG-generated server routines (and
+ * related prototypes should be used).
+ */
 typedef struct {
     mach_msg_header_t  not_header;
     NDR_record_t       NDR;
@@ -113,4 +125,6 @@ typedef struct {
     mach_msg_format_0_trailer_t trailer;
 } mach_dead_name_notification_t;
 
+#endif  /* __APPLE_API_OBSOLETE */
+
 #endif /* _MACH_NOTIFY_H_ */