]> git.saurik.com Git - apple/configd.git/blob - SystemConfiguration.fproj/dy_framework.h
c53da6892313713bcf826192052511de6f18d2b8
[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 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
11 *
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
18 * under the License.
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22
23
24 #ifndef _DY_FRAMEWORK_H
25 #define _DY_FRAMEWORK_H
26
27 #include <sys/cdefs.h>
28 #include <mach/mach.h>
29 #include <CoreFoundation/CoreFoundation.h>
30 #include <IOKit/IOKitLib.h>
31
32 __BEGIN_DECLS
33
34 CFMutableDictionaryRef
35 _IOBSDNameMatching (
36 mach_port_t masterPort,
37 unsigned int options,
38 const char *bsdName
39 );
40 #define IOBSDNameMatching _IOBSDNameMatching
41
42 io_object_t
43 _IOIteratorNext (
44 io_iterator_t iterator
45 );
46 #define IOIteratorNext _IOIteratorNext
47
48 kern_return_t
49 _IOMasterPort (
50 mach_port_t bootstrapPort,
51 mach_port_t *masterPort
52 );
53 #define IOMasterPort _IOMasterPort
54
55 kern_return_t
56 _IOObjectRelease (
57 io_object_t object
58 );
59 #define IOObjectRelease _IOObjectRelease
60
61 CFTypeRef
62 _IORegistryEntryCreateCFProperty (
63 io_registry_entry_t entry,
64 CFStringRef key,
65 CFAllocatorRef allocator,
66 IOOptionBits options
67 );
68 #define IORegistryEntryCreateCFProperty _IORegistryEntryCreateCFProperty
69
70 kern_return_t
71 _IORegistryEntryCreateCFProperties (
72 io_registry_entry_t entry,
73 CFMutableDictionaryRef *properties,
74 CFAllocatorRef allocator,
75 IOOptionBits options
76 );
77 #define IORegistryEntryCreateCFProperties _IORegistryEntryCreateCFProperties
78
79 kern_return_t
80 _IORegistryEntryGetParentEntry (
81 io_registry_entry_t entry,
82 const io_name_t plane,
83 io_registry_entry_t *parent
84 );
85 #define IORegistryEntryGetParentEntry _IORegistryEntryGetParentEntry
86
87 kern_return_t
88 _IORegistryEntryGetPath (
89 io_registry_entry_t entry,
90 const io_name_t plane,
91 io_string_t path
92 );
93 #define IORegistryEntryGetPath _IORegistryEntryGetPath
94
95 kern_return_t
96 _IOServiceGetMatchingServices (
97 mach_port_t masterPort,
98 CFDictionaryRef matching,
99 io_iterator_t *existing
100 );
101 #define IOServiceGetMatchingServices _IOServiceGetMatchingServices
102
103 CFMutableDictionaryRef
104 _IOServiceMatching (
105 const char *name
106 );
107 #define IOServiceMatching _IOServiceMatching
108
109 __END_DECLS
110
111 #endif /* _DY_FRAMEWORK_H */
112