2 * Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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.
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
20 * @APPLE_LICENSE_HEADER_END@
24 #ifndef _DY_FRAMEWORK_H
25 #define _DY_FRAMEWORK_H
27 #include <sys/cdefs.h>
28 #include <mach/mach.h>
29 #include <CoreFoundation/CoreFoundation.h>
30 #include <IOKit/IOKitLib.h>
34 CFMutableDictionaryRef
36 mach_port_t masterPort
,
40 #define IOBSDNameMatching _IOBSDNameMatching
44 io_iterator_t iterator
46 #define IOIteratorNext _IOIteratorNext
50 mach_port_t bootstrapPort
,
51 mach_port_t
*masterPort
53 #define IOMasterPort _IOMasterPort
59 #define IOObjectRelease _IOObjectRelease
62 _IORegistryEntryCreateCFProperty (
63 io_registry_entry_t entry
,
65 CFAllocatorRef allocator
,
68 #define IORegistryEntryCreateCFProperty _IORegistryEntryCreateCFProperty
71 _IORegistryEntryCreateCFProperties (
72 io_registry_entry_t entry
,
73 CFMutableDictionaryRef
*properties
,
74 CFAllocatorRef allocator
,
77 #define IORegistryEntryCreateCFProperties _IORegistryEntryCreateCFProperties
80 _IORegistryEntryGetParentEntry (
81 io_registry_entry_t entry
,
82 const io_name_t plane
,
83 io_registry_entry_t
*parent
85 #define IORegistryEntryGetParentEntry _IORegistryEntryGetParentEntry
88 _IORegistryEntryGetPath (
89 io_registry_entry_t entry
,
90 const io_name_t plane
,
93 #define IORegistryEntryGetPath _IORegistryEntryGetPath
96 _IOServiceGetMatchingServices (
97 mach_port_t masterPort
,
98 CFDictionaryRef matching
,
99 io_iterator_t
*existing
101 #define IOServiceGetMatchingServices _IOServiceGetMatchingServices
103 CFMutableDictionaryRef
107 #define IOServiceMatching _IOServiceMatching
111 #endif /* _DY_FRAMEWORK_H */