]> git.saurik.com Git - apple/configd.git/blob - SystemConfiguration.fproj/dy_framework.h
configd-84.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 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
7 *
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
13 * file.
14 *
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.
22 *
23 * @APPLE_LICENSE_HEADER_END@
24 */
25
26
27 #ifndef _DY_FRAMEWORK_H
28 #define _DY_FRAMEWORK_H
29
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>
35
36 __BEGIN_DECLS
37
38 CFMutableDictionaryRef
39 _IOBSDNameMatching (
40 mach_port_t masterPort,
41 unsigned int options,
42 const char *bsdName
43 );
44 #define IOBSDNameMatching _IOBSDNameMatching
45
46 io_object_t
47 _IOIteratorNext (
48 io_iterator_t iterator
49 );
50 #define IOIteratorNext _IOIteratorNext
51
52 kern_return_t
53 _IOMasterPort (
54 mach_port_t bootstrapPort,
55 mach_port_t *masterPort
56 );
57 #define IOMasterPort _IOMasterPort
58
59 kern_return_t
60 _IOObjectRelease (
61 io_object_t object
62 );
63 #define IOObjectRelease _IOObjectRelease
64
65 CFTypeRef
66 _IORegistryEntryCreateCFProperty (
67 io_registry_entry_t entry,
68 CFStringRef key,
69 CFAllocatorRef allocator,
70 IOOptionBits options
71 );
72 #define IORegistryEntryCreateCFProperty _IORegistryEntryCreateCFProperty
73
74 kern_return_t
75 _IORegistryEntryCreateCFProperties (
76 io_registry_entry_t entry,
77 CFMutableDictionaryRef *properties,
78 CFAllocatorRef allocator,
79 IOOptionBits options
80 );
81 #define IORegistryEntryCreateCFProperties _IORegistryEntryCreateCFProperties
82
83 kern_return_t
84 _IORegistryEntryGetParentEntry (
85 io_registry_entry_t entry,
86 const io_name_t plane,
87 io_registry_entry_t *parent
88 );
89 #define IORegistryEntryGetParentEntry _IORegistryEntryGetParentEntry
90
91 kern_return_t
92 _IORegistryEntryGetPath (
93 io_registry_entry_t entry,
94 const io_name_t plane,
95 io_string_t path
96 );
97 #define IORegistryEntryGetPath _IORegistryEntryGetPath
98
99 kern_return_t
100 _IOServiceGetMatchingServices (
101 mach_port_t masterPort,
102 CFDictionaryRef matching,
103 io_iterator_t *existing
104 );
105 #define IOServiceGetMatchingServices _IOServiceGetMatchingServices
106
107 CFMutableDictionaryRef
108 _IOServiceMatching (
109 const char *name
110 );
111 #define IOServiceMatching _IOServiceMatching
112
113 OSStatus
114 _SecKeychainItemCopyContent (
115 SecKeychainItemRef itemRef,
116 SecItemClass *itemClass,
117 SecKeychainAttributeList *attrList,
118 UInt32 *length,
119 void **outData
120 );
121 #define SecKeychainItemCopyContent _SecKeychainItemCopyContent
122
123 OSStatus
124 _SecKeychainSearchCopyNext (
125 SecKeychainSearchRef searchRef,
126 SecKeychainItemRef *itemRef
127 );
128 #define SecKeychainSearchCopyNext _SecKeychainSearchCopyNext
129
130 OSStatus
131 _SecKeychainSearchCreateFromAttributes (
132 CFTypeRef keychainOrArray,
133 SecItemClass itemClass,
134 const SecKeychainAttributeList *attrList,
135 SecKeychainSearchRef *searchRef
136 );
137 #define SecKeychainSearchCreateFromAttributes _SecKeychainSearchCreateFromAttributes
138
139 __END_DECLS
140
141 #endif /* _DY_FRAMEWORK_H */
142