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
60 const io_name_t className
62 #define IOObjectConformsTo _IOObjectConformsTo
69 #define IOObjectGetClass _IOObjectGetClass
75 #define IOObjectRelease _IOObjectRelease
78 _IORegistryEntryCreateCFProperty (
79 io_registry_entry_t entry
,
81 CFAllocatorRef allocator
,
84 #define IORegistryEntryCreateCFProperty _IORegistryEntryCreateCFProperty
87 _IORegistryEntryCreateCFProperties (
88 io_registry_entry_t entry
,
89 CFMutableDictionaryRef
*properties
,
90 CFAllocatorRef allocator
,
93 #define IORegistryEntryCreateCFProperties _IORegistryEntryCreateCFProperties
96 _IORegistryEntryCreateIterator (
97 io_registry_entry_t entry
,
98 const io_name_t plane
,
100 io_iterator_t
*iterator
102 #define IORegistryEntryCreateIterator _IORegistryEntryCreateIterator
105 _IORegistryEntryGetName (
106 io_registry_entry_t entry
,
109 #define IORegistryEntryGetName _IORegistryEntryGetName
112 _IORegistryEntryGetParentEntry (
113 io_registry_entry_t entry
,
114 const io_name_t plane
,
115 io_registry_entry_t
*parent
117 #define IORegistryEntryGetParentEntry _IORegistryEntryGetParentEntry
120 _IORegistryEntryGetPath (
121 io_registry_entry_t entry
,
122 const io_name_t plane
,
125 #define IORegistryEntryGetPath _IORegistryEntryGetPath
128 _IORegistryEntrySearchCFProperty (
129 io_registry_entry_t entry
,
130 const io_name_t plane
,
132 CFAllocatorRef allocator
,
135 #define IORegistryEntrySearchCFProperty _IORegistryEntrySearchCFProperty
138 _IOServiceGetMatchingServices (
139 mach_port_t masterPort
,
140 CFDictionaryRef matching
,
141 io_iterator_t
*existing
143 #define IOServiceGetMatchingServices _IOServiceGetMatchingServices
145 CFMutableDictionaryRef
149 #define IOServiceMatching _IOServiceMatching
152 _SecKeychainItemCopyContent (
153 SecKeychainItemRef itemRef
,
154 SecItemClass
*itemClass
,
155 SecKeychainAttributeList
*attrList
,
159 #define SecKeychainItemCopyContent _SecKeychainItemCopyContent
162 _SecKeychainSearchCopyNext (
163 SecKeychainSearchRef searchRef
,
164 SecKeychainItemRef
*itemRef
166 #define SecKeychainSearchCopyNext _SecKeychainSearchCopyNext
169 _SecKeychainSearchCreateFromAttributes (
170 CFTypeRef keychainOrArray
,
171 SecItemClass itemClass
,
172 const SecKeychainAttributeList
*attrList
,
173 SecKeychainSearchRef
*searchRef
175 #define SecKeychainSearchCreateFromAttributes _SecKeychainSearchCreateFromAttributes
179 #endif /* _DY_FRAMEWORK_H */