]> git.saurik.com Git - apple/configd.git/blob - SystemConfiguration.fproj/dy_framework.h
configd-84.6.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 kern_return_t
58 _IOObjectRelease (
59 io_object_t object
60 );
61 #define IOObjectRelease _IOObjectRelease
62
63 CFTypeRef
64 _IORegistryEntryCreateCFProperty (
65 io_registry_entry_t entry,
66 CFStringRef key,
67 CFAllocatorRef allocator,
68 IOOptionBits options
69 );
70 #define IORegistryEntryCreateCFProperty _IORegistryEntryCreateCFProperty
71
72 kern_return_t
73 _IORegistryEntryCreateCFProperties (
74 io_registry_entry_t entry,
75 CFMutableDictionaryRef *properties,
76 CFAllocatorRef allocator,
77 IOOptionBits options
78 );
79 #define IORegistryEntryCreateCFProperties _IORegistryEntryCreateCFProperties
80
81 kern_return_t
82 _IORegistryEntryGetParentEntry (
83 io_registry_entry_t entry,
84 const io_name_t plane,
85 io_registry_entry_t *parent
86 );
87 #define IORegistryEntryGetParentEntry _IORegistryEntryGetParentEntry
88
89 kern_return_t
90 _IORegistryEntryGetPath (
91 io_registry_entry_t entry,
92 const io_name_t plane,
93 io_string_t path
94 );
95 #define IORegistryEntryGetPath _IORegistryEntryGetPath
96
97 kern_return_t
98 _IOServiceGetMatchingServices (
99 mach_port_t masterPort,
100 CFDictionaryRef matching,
101 io_iterator_t *existing
102 );
103 #define IOServiceGetMatchingServices _IOServiceGetMatchingServices
104
105 CFMutableDictionaryRef
106 _IOServiceMatching (
107 const char *name
108 );
109 #define IOServiceMatching _IOServiceMatching
110
111 OSStatus
112 _SecKeychainItemCopyContent (
113 SecKeychainItemRef itemRef,
114 SecItemClass *itemClass,
115 SecKeychainAttributeList *attrList,
116 UInt32 *length,
117 void **outData
118 );
119 #define SecKeychainItemCopyContent _SecKeychainItemCopyContent
120
121 OSStatus
122 _SecKeychainSearchCopyNext (
123 SecKeychainSearchRef searchRef,
124 SecKeychainItemRef *itemRef
125 );
126 #define SecKeychainSearchCopyNext _SecKeychainSearchCopyNext
127
128 OSStatus
129 _SecKeychainSearchCreateFromAttributes (
130 CFTypeRef keychainOrArray,
131 SecItemClass itemClass,
132 const SecKeychainAttributeList *attrList,
133 SecKeychainSearchRef *searchRef
134 );
135 #define SecKeychainSearchCreateFromAttributes _SecKeychainSearchCreateFromAttributes
136
137 __END_DECLS
138
139 #endif /* _DY_FRAMEWORK_H */
140