X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/5c19dc3ae3bd8e40a9c028b0deddd50ff337692c..07691282a056c4efea71e1e505527601e8cc166b:/OSX/libsecurity_utilities/lib/mach_notify.h diff --git a/OSX/libsecurity_utilities/lib/mach_notify.h b/OSX/libsecurity_utilities/lib/mach_notify.h index 86853c6b..fef3bf90 100644 --- a/OSX/libsecurity_utilities/lib/mach_notify.h +++ b/OSX/libsecurity_utilities/lib/mach_notify.h @@ -45,7 +45,7 @@ typedef struct { char *name; function_ptr_t function; } function_table_entry; -typedef function_table_entry *function_table_t; +typedef function_table_entry *function_table_t; #endif /* FUNCTION_PTR_T */ #endif /* AUTOTEST */ @@ -54,11 +54,15 @@ typedef function_table_entry *function_table_t; #endif /* notify_MSG_COUNT */ #include +#include #ifdef __BeforeMigUserHeader __BeforeMigUserHeader #endif /* __BeforeMigUserHeader */ +#include +__BEGIN_DECLS + /* SimpleRoutine mach_notify_port_deleted */ #ifdef mig_external @@ -66,7 +70,7 @@ mig_external #else extern #endif /* mig_external */ -kern_return_t mach_notify_port_deleted +kern_return_t cdsa_mach_notify_port_deleted ( mach_port_t notify, mach_port_name_t name @@ -78,11 +82,10 @@ mig_external #else extern #endif /* mig_external */ -kern_return_t mach_notify_port_destroyed +kern_return_t cdsa_mach_notify_port_destroyed ( mach_port_t notify, - mach_port_t rights, - mach_msg_type_name_t rightsPoly + mach_port_t rights ); /* SimpleRoutine mach_notify_no_senders */ @@ -91,7 +94,7 @@ mig_external #else extern #endif /* mig_external */ -kern_return_t mach_notify_no_senders +kern_return_t cdsa_mach_notify_no_senders ( mach_port_t notify, mach_port_mscount_t mscount @@ -103,7 +106,7 @@ mig_external #else extern #endif /* mig_external */ -kern_return_t mach_notify_send_once +kern_return_t cdsa_mach_notify_send_once ( mach_port_t notify ); @@ -114,12 +117,14 @@ mig_external #else extern #endif /* mig_external */ -kern_return_t mach_notify_dead_name +kern_return_t cdsa_mach_notify_dead_name ( mach_port_t notify, mach_port_name_t name ); +__END_DECLS + #ifndef subsystem_to_name_map_notify #define subsystem_to_name_map_notify \ { "mach_notify_port_deleted", 65 },\