]> git.saurik.com Git - apple/security.git/blobdiff - libsecurity_utilities/lib/mach_notify.h
Security-57031.1.35.tar.gz
[apple/security.git] / libsecurity_utilities / lib / mach_notify.h
diff --git a/libsecurity_utilities/lib/mach_notify.h b/libsecurity_utilities/lib/mach_notify.h
deleted file mode 100644 (file)
index cb3daa5..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-/*
- * Copyright (c) 2000-2001,2004 Apple Computer, Inc. All Rights Reserved.
- * 
- * @APPLE_LICENSE_HEADER_START@
- * 
- * This file contains Original Code and/or Modifications of Original Code
- * as defined in and that are subject to the Apple Public Source License
- * Version 2.0 (the 'License'). You may not use this file except in
- * compliance with the License. Please obtain a copy of the License at
- * http://www.opensource.apple.com/apsl/ and read it before using this
- * file.
- * 
- * The Original Code and all software distributed under the License are
- * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
- * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
- * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
- * Please see the License for the specific language governing rights and
- * limitations under the License.
- * 
- * @APPLE_LICENSE_HEADER_END@
- */
-
-
-#ifndef        _notify_user_
-#define        _notify_user_
-
-/* Module notify */
-
-#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 /* FUNCTION_PTR_T */
-#endif /* AUTOTEST */
-
-#ifndef        notify_MSG_COUNT
-#define        notify_MSG_COUNT        9
-#endif /* notify_MSG_COUNT */
-
-#include <mach/std_types.h>
-
-#ifdef __BeforeMigUserHeader
-__BeforeMigUserHeader
-#endif /* __BeforeMigUserHeader */
-
-
-/* SimpleRoutine mach_notify_port_deleted */
-#ifdef mig_external
-mig_external
-#else
-extern
-#endif /* mig_external */
-kern_return_t mach_notify_port_deleted
-(
-       mach_port_t notify,
-       mach_port_name_t name
-);
-
-/* SimpleRoutine mach_notify_port_destroyed */
-#ifdef mig_external
-mig_external
-#else
-extern
-#endif /* mig_external */
-kern_return_t mach_notify_port_destroyed
-(
-       mach_port_t notify,
-       mach_port_t rights,
-       mach_msg_type_name_t rightsPoly
-);
-
-/* SimpleRoutine mach_notify_no_senders */
-#ifdef mig_external
-mig_external
-#else
-extern
-#endif /* mig_external */
-kern_return_t mach_notify_no_senders
-(
-       mach_port_t notify,
-       mach_port_mscount_t mscount
-);
-
-/* SimpleRoutine mach_notify_send_once */
-#ifdef mig_external
-mig_external
-#else
-extern
-#endif /* mig_external */
-kern_return_t mach_notify_send_once
-(
-       mach_port_t notify
-);
-
-/* SimpleRoutine mach_notify_dead_name */
-#ifdef mig_external
-mig_external
-#else
-extern
-#endif /* mig_external */
-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 /* __AfterMigUserHeader */
-
-#endif  /* _notify_user_ */