2 * Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
21 * @APPLE_LICENSE_HEADER_END@
25 #ifndef _DY_FRAMEWORK_H
26 #define _DY_FRAMEWORK_H
28 #include <sys/cdefs.h>
29 #include <mach/mach.h>
30 #include <CoreFoundation/CoreFoundation.h>
31 #include <IOKit/IOKitLib.h>
32 #include <Security/Security.h>
36 CFMutableDictionaryRef
38 mach_port_t masterPort
,
42 #define IOBSDNameMatching _IOBSDNameMatching
46 io_iterator_t iterator
48 #define IOIteratorNext _IOIteratorNext
52 mach_port_t bootstrapPort
,
53 mach_port_t
*masterPort
55 #define IOMasterPort _IOMasterPort
61 #define IOObjectRelease _IOObjectRelease
64 _IORegistryEntryCreateCFProperty (
65 io_registry_entry_t entry
,
67 CFAllocatorRef allocator
,
70 #define IORegistryEntryCreateCFProperty _IORegistryEntryCreateCFProperty
73 _IORegistryEntryCreateCFProperties (
74 io_registry_entry_t entry
,
75 CFMutableDictionaryRef
*properties
,
76 CFAllocatorRef allocator
,
79 #define IORegistryEntryCreateCFProperties _IORegistryEntryCreateCFProperties
82 _IORegistryEntryGetParentEntry (
83 io_registry_entry_t entry
,
84 const io_name_t plane
,
85 io_registry_entry_t
*parent
87 #define IORegistryEntryGetParentEntry _IORegistryEntryGetParentEntry
90 _IORegistryEntryGetPath (
91 io_registry_entry_t entry
,
92 const io_name_t plane
,
95 #define IORegistryEntryGetPath _IORegistryEntryGetPath
98 _IOServiceGetMatchingServices (
99 mach_port_t masterPort
,
100 CFDictionaryRef matching
,
101 io_iterator_t
*existing
103 #define IOServiceGetMatchingServices _IOServiceGetMatchingServices
105 CFMutableDictionaryRef
109 #define IOServiceMatching _IOServiceMatching
112 _SecKeychainItemCopyContent (
113 SecKeychainItemRef itemRef
,
114 SecItemClass
*itemClass
,
115 SecKeychainAttributeList
*attrList
,
119 #define SecKeychainItemCopyContent _SecKeychainItemCopyContent
122 _SecKeychainSearchCopyNext (
123 SecKeychainSearchRef searchRef
,
124 SecKeychainItemRef
*itemRef
126 #define SecKeychainSearchCopyNext _SecKeychainSearchCopyNext
129 _SecKeychainSearchCreateFromAttributes (
130 CFTypeRef keychainOrArray
,
131 SecItemClass itemClass
,
132 const SecKeychainAttributeList
*attrList
,
133 SecKeychainSearchRef
*searchRef
135 #define SecKeychainSearchCreateFromAttributes _SecKeychainSearchCreateFromAttributes
139 #endif /* _DY_FRAMEWORK_H */