]> git.saurik.com Git - apple/configd.git/blob - SystemConfiguration.fproj/dy_framework.h
configd-135.tar.gz
[apple/configd.git] / SystemConfiguration.fproj / dy_framework.h
1 /*
2 * Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
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
11 * file.
12 *
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.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
23
24
25 #ifndef _DY_FRAMEWORK_H
26 #define _DY_FRAMEWORK_H
27
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>
33
34 __BEGIN_DECLS
35
36 CFMutableDictionaryRef
37 _IOBSDNameMatching (
38 mach_port_t masterPort,
39 unsigned int options,
40 const char *bsdName
41 );
42 #define IOBSDNameMatching _IOBSDNameMatching
43
44 io_object_t
45 _IOIteratorNext (
46 io_iterator_t iterator
47 );
48 #define IOIteratorNext _IOIteratorNext
49
50 kern_return_t
51 _IOMasterPort (
52 mach_port_t bootstrapPort,
53 mach_port_t *masterPort
54 );
55 #define IOMasterPort _IOMasterPort
56
57 boolean_t
58 _IOObjectConformsTo (
59 io_object_t object,
60 const io_name_t className
61 );
62 #define IOObjectConformsTo _IOObjectConformsTo
63
64 boolean_t
65 _IOObjectGetClass (
66 io_object_t object,
67 io_name_t className
68 );
69 #define IOObjectGetClass _IOObjectGetClass
70
71 kern_return_t
72 _IOObjectRelease (
73 io_object_t object
74 );
75 #define IOObjectRelease _IOObjectRelease
76
77 CFTypeRef
78 _IORegistryEntryCreateCFProperty (
79 io_registry_entry_t entry,
80 CFStringRef key,
81 CFAllocatorRef allocator,
82 IOOptionBits options
83 );
84 #define IORegistryEntryCreateCFProperty _IORegistryEntryCreateCFProperty
85
86 kern_return_t
87 _IORegistryEntryCreateCFProperties (
88 io_registry_entry_t entry,
89 CFMutableDictionaryRef *properties,
90 CFAllocatorRef allocator,
91 IOOptionBits options
92 );
93 #define IORegistryEntryCreateCFProperties _IORegistryEntryCreateCFProperties
94
95 kern_return_t
96 _IORegistryEntryCreateIterator (
97 io_registry_entry_t entry,
98 const io_name_t plane,
99 IOOptionBits options,
100 io_iterator_t *iterator
101 );
102 #define IORegistryEntryCreateIterator _IORegistryEntryCreateIterator
103
104 kern_return_t
105 _IORegistryEntryGetName (
106 io_registry_entry_t entry,
107 io_name_t name
108 );
109 #define IORegistryEntryGetName _IORegistryEntryGetName
110
111 kern_return_t
112 _IORegistryEntryGetParentEntry (
113 io_registry_entry_t entry,
114 const io_name_t plane,
115 io_registry_entry_t *parent
116 );
117 #define IORegistryEntryGetParentEntry _IORegistryEntryGetParentEntry
118
119 kern_return_t
120 _IORegistryEntryGetPath (
121 io_registry_entry_t entry,
122 const io_name_t plane,
123 io_string_t path
124 );
125 #define IORegistryEntryGetPath _IORegistryEntryGetPath
126
127 CFTypeRef
128 _IORegistryEntrySearchCFProperty (
129 io_registry_entry_t entry,
130 const io_name_t plane,
131 CFStringRef key,
132 CFAllocatorRef allocator,
133 IOOptionBits options
134 );
135 #define IORegistryEntrySearchCFProperty _IORegistryEntrySearchCFProperty
136
137 kern_return_t
138 _IOServiceGetMatchingServices (
139 mach_port_t masterPort,
140 CFDictionaryRef matching,
141 io_iterator_t *existing
142 );
143 #define IOServiceGetMatchingServices _IOServiceGetMatchingServices
144
145 CFMutableDictionaryRef
146 _IOServiceMatching (
147 const char *name
148 );
149 #define IOServiceMatching _IOServiceMatching
150
151 OSStatus
152 _SecKeychainItemCopyContent (
153 SecKeychainItemRef itemRef,
154 SecItemClass *itemClass,
155 SecKeychainAttributeList *attrList,
156 UInt32 *length,
157 void **outData
158 );
159 #define SecKeychainItemCopyContent _SecKeychainItemCopyContent
160
161 OSStatus
162 _SecKeychainSearchCopyNext (
163 SecKeychainSearchRef searchRef,
164 SecKeychainItemRef *itemRef
165 );
166 #define SecKeychainSearchCopyNext _SecKeychainSearchCopyNext
167
168 OSStatus
169 _SecKeychainSearchCreateFromAttributes (
170 CFTypeRef keychainOrArray,
171 SecItemClass itemClass,
172 const SecKeychainAttributeList *attrList,
173 SecKeychainSearchRef *searchRef
174 );
175 #define SecKeychainSearchCreateFromAttributes _SecKeychainSearchCreateFromAttributes
176
177 __END_DECLS
178
179 #endif /* _DY_FRAMEWORK_H */
180