#ifndef _notify_user_
#define _notify_user_
#include <string.h>
#include <mach/ndr.h>
#include <mach/boolean.h>
#include <mach/kern_return.h>
#include <mach/notify.h>
#include <mach/mach_types.h>
#include <mach/message.h>
#include <mach/mig_errors.h>
#include <mach/port.h>
#ifdef AUTOTEST
#ifndef FUNCTION_PTR_T
#define FUNCTION_PTR_T
typedef void (*function_ptr_t)(mach_port_t, char *, mach_msg_type_number_t);
typedef struct {
char *name;
function_ptr_t function;
} function_table_entry;
typedef function_table_entry *function_table_t;
#endif
#endif
#ifndef notify_MSG_COUNT
#define notify_MSG_COUNT 9
#endif
#include <mach/std_types.h>
#ifdef __BeforeMigUserHeader
__BeforeMigUserHeader
#endif
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t mach_notify_port_deleted
(
mach_port_t notify,
mach_port_name_t name
);
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t mach_notify_port_destroyed
(
mach_port_t notify,
mach_port_t rights,
mach_msg_type_name_t rightsPoly
);
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t mach_notify_no_senders
(
mach_port_t notify,
mach_port_mscount_t mscount
);
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t mach_notify_send_once
(
mach_port_t notify
);
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t mach_notify_dead_name
(
mach_port_t notify,
mach_port_name_t name
);
#ifndef subsystem_to_name_map_notify
#define subsystem_to_name_map_notify \
{ "mach_notify_port_deleted", 65 },\
{ "mach_notify_port_destroyed", 69 },\
{ "mach_notify_no_senders", 70 },\
{ "mach_notify_send_once", 71 },\
{ "mach_notify_dead_name", 72 }
#endif
#ifdef __AfterMigUserHeader
__AfterMigUserHeader
#endif
#endif