#include <mach/notify.h> also included by <mach/mach.h>

mach/notify.h

8 macros · 7 typedefs · 6 structs

macroMACH_NOTIFY_FIRST

#define MACH_NOTIFY_FIRST 0100

macroMACH_NOTIFY_PORT_DELETED

#define MACH_NOTIFY_PORT_DELETED (MACH_NOTIFY_FIRST + 001)

macroMACH_NOTIFY_SEND_POSSIBLE

A send or send-once right was deleted.
#define MACH_NOTIFY_SEND_POSSIBLE (MACH_NOTIFY_FIRST + 002)

macroMACH_NOTIFY_PORT_DESTROYED

Now possible to send using specified right
#define MACH_NOTIFY_PORT_DESTROYED (MACH_NOTIFY_FIRST + 005)

macroMACH_NOTIFY_NO_SENDERS

A receive right was (would have been) deallocated
#define MACH_NOTIFY_NO_SENDERS (MACH_NOTIFY_FIRST + 006)

macroMACH_NOTIFY_SEND_ONCE

Receive right has no extant send rights
#define MACH_NOTIFY_SEND_ONCE (MACH_NOTIFY_FIRST + 007)

macroMACH_NOTIFY_DEAD_NAME

An extant send-once right died
#define MACH_NOTIFY_DEAD_NAME (MACH_NOTIFY_FIRST + 010)

macroMACH_NOTIFY_LAST

Send or send-once right died, leaving a dead-name
#define MACH_NOTIFY_LAST (MACH_NOTIFY_FIRST + 015)

typedefnotify_port_t

typedef mach_port_t notify_port_t

structmach_port_deleted_notification_t

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).
size 56, align 4
mach_msg_header_tnot_header
NDR_record_tNDR
mach_port_name_tnot_portMACH_MSG_TYPE_PORT_NAME
mach_msg_format_0_trailer_ttrailer

typedefmach_port_deleted_notification_t

typedef struct mach_port_deleted_notification_t mach_port_deleted_notification_t;

typedefmach_send_possible_notification_t

typedef struct mach_send_possible_notification_t mach_send_possible_notification_t;

typedefmach_port_destroyed_notification_t

typedef struct mach_port_destroyed_notification_t mach_port_destroyed_notification_t;

typedefmach_no_senders_notification_t

typedef struct mach_no_senders_notification_t mach_no_senders_notification_t;

typedefmach_send_once_notification_t

typedef struct mach_send_once_notification_t mach_send_once_notification_t;

typedefmach_dead_name_notification_t

typedef struct mach_dead_name_notification_t mach_dead_name_notification_t;