2 * Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
23 * @APPLE_LICENSE_HEADER_END@
27 #ifndef _DY_FRAMEWORK_H
28 #define _DY_FRAMEWORK_H
30 #include <sys/cdefs.h>
31 #include <mach/mach.h>
32 #include <CoreFoundation/CoreFoundation.h>
33 #include <IOKit/IOKitLib.h>
34 #include <Security/Security.h>
38 CFMutableDictionaryRef
40 mach_port_t masterPort
,
44 #define IOBSDNameMatching _IOBSDNameMatching
48 io_iterator_t iterator
50 #define IOIteratorNext _IOIteratorNext
54 mach_port_t bootstrapPort
,
55 mach_port_t
*masterPort
57 #define IOMasterPort _IOMasterPort
63 #define IOObjectRelease _IOObjectRelease
66 _IORegistryEntryCreateCFProperty (
67 io_registry_entry_t entry
,
69 CFAllocatorRef allocator
,
72 #define IORegistryEntryCreateCFProperty _IORegistryEntryCreateCFProperty
75 _IORegistryEntryCreateCFProperties (
76 io_registry_entry_t entry
,
77 CFMutableDictionaryRef
*properties
,
78 CFAllocatorRef allocator
,
81 #define IORegistryEntryCreateCFProperties _IORegistryEntryCreateCFProperties
84 _IORegistryEntryGetParentEntry (
85 io_registry_entry_t entry
,
86 const io_name_t plane
,
87 io_registry_entry_t
*parent
89 #define IORegistryEntryGetParentEntry _IORegistryEntryGetParentEntry
92 _IORegistryEntryGetPath (
93 io_registry_entry_t entry
,
94 const io_name_t plane
,
97 #define IORegistryEntryGetPath _IORegistryEntryGetPath
100 _IOServiceGetMatchingServices (
101 mach_port_t masterPort
,
102 CFDictionaryRef matching
,
103 io_iterator_t
*existing
105 #define IOServiceGetMatchingServices _IOServiceGetMatchingServices
107 CFMutableDictionaryRef
111 #define IOServiceMatching _IOServiceMatching
114 _SecKeychainItemCopyContent (
115 SecKeychainItemRef itemRef
,
116 SecItemClass
*itemClass
,
117 SecKeychainAttributeList
*attrList
,
121 #define SecKeychainItemCopyContent _SecKeychainItemCopyContent
124 _SecKeychainSearchCopyNext (
125 SecKeychainSearchRef searchRef
,
126 SecKeychainItemRef
*itemRef
128 #define SecKeychainSearchCopyNext _SecKeychainSearchCopyNext
131 _SecKeychainSearchCreateFromAttributes (
132 CFTypeRef keychainOrArray
,
133 SecItemClass itemClass
,
134 const SecKeychainAttributeList
*attrList
,
135 SecKeychainSearchRef
*searchRef
137 #define SecKeychainSearchCreateFromAttributes _SecKeychainSearchCreateFromAttributes
141 #endif /* _DY_FRAMEWORK_H */