#include <CoreFoundation/CoreFoundation.h>
#include <mach/mach.h>
#include <stdint.h>
#include <device/device_types.h>
Go to the source code of this file.
Macros | |
#define | IOKIT |
Typedefs | |
typedef io_object_t | io_registry_entry_t |
typedef io_object_t | io_service_t |
typedef io_object_t | io_connect_t |
typedef io_object_t | io_iterator_t |
Enumerations | |
enum | { kIOReturnSuccess = 0 } |
Functions | |
kern_return_t | IOObjectRetain (io_object_t object) |
kern_return_t | IOObjectRelease (io_object_t object) |
boolean_t | IOObjectConformsTo (io_object_t object, const io_name_t name) |
uint32_t | IOObjectGetKernelRetainCount (io_object_t object) |
kern_return_t | IOObjectGetClass (io_object_t object, io_name_t name) |
CFStringRef | IOObjectCopyClass (io_object_t object) |
CFStringRef | IOObjectCopySuperclassForClass (CFStringRef name) |
CFStringRef | IOObjectCopyBundleIdentifierForClass (CFStringRef name) |
io_registry_entry_t | IORegistryGetRootEntry (mach_port_t master) |
kern_return_t | IORegistryEntryGetName (io_registry_entry_t entry, io_name_t name) |
kern_return_t | IORegistryEntryGetRegistryEntryID (io_registry_entry_t entry, uint64_t *entryID) |
kern_return_t | IORegistryEntryGetPath (io_registry_entry_t entry, const io_name_t plane, io_string_t path) |
kern_return_t | IORegistryEntryGetProperty (io_registry_entry_t entry, const io_name_t name, io_struct_inband_t buffer, uint32_t *size) |
kern_return_t | IORegistryEntryCreateCFProperties (io_registry_entry_t entry, CFMutableDictionaryRef *properties, CFAllocatorRef allocator, uint32_t options) |
CFTypeRef | IORegistryEntryCreateCFProperty (io_registry_entry_t entry, CFStringRef key, CFAllocatorRef allocator, uint32_t options) |
kern_return_t | IORegistryEntrySetCFProperties (io_registry_entry_t entry, CFTypeRef properties) |
kern_return_t | IORegistryCreateIterator (mach_port_t master, const io_name_t plane, uint32_t options, io_iterator_t *it) |
kern_return_t | IORegistryEntryCreateIterator (io_registry_entry_t entry, const io_name_t plane, uint32_t options, io_iterator_t *it) |
kern_return_t | IORegistryEntryGetChildIterator (io_registry_entry_t entry, const io_name_t plane, io_iterator_t *it) |
kern_return_t | IORegistryEntryGetParentIterator (io_registry_entry_t entry, const io_name_t plane, io_iterator_t *it) |
io_object_t | IOIteratorNext (io_iterator_t it) |
boolean_t | IOIteratorIsValid (io_iterator_t it) |
void | IOIteratorReset (io_iterator_t it) |
CFMutableDictionaryRef | IOServiceMatching (const char *name) CF_RETURNS_RETAINED |
CFMutableDictionaryRef | IOServiceNameMatching (const char *name) CF_RETURNS_RETAINED |
io_service_t | IOServiceGetMatchingService (mach_port_t master, CFDictionaryRef matching CF_RELEASES_ARGUMENT) |
kern_return_t | IOServiceGetMatchingServices (mach_port_t master, CFDictionaryRef matching CF_RELEASES_ARGUMENT, io_iterator_t *it) |
Variables | |
static const char * | kIOServicePlane = "IOService" |
const mach_port_t | kIOMasterPortDefault |
typedef io_object_t io_connect_t |
typedef io_object_t io_iterator_t |
typedef io_object_t io_registry_entry_t |
typedef io_object_t io_service_t |
boolean_t IOIteratorIsValid | ( | io_iterator_t | it | ) |
io_object_t IOIteratorNext | ( | io_iterator_t | it | ) |
void IOIteratorReset | ( | io_iterator_t | it | ) |
boolean_t IOObjectConformsTo | ( | io_object_t | object, |
const io_name_t | name | ||
) |
CFStringRef IOObjectCopyBundleIdentifierForClass | ( | CFStringRef | name | ) |
CFStringRef IOObjectCopyClass | ( | io_object_t | object | ) |
CFStringRef IOObjectCopySuperclassForClass | ( | CFStringRef | name | ) |
kern_return_t IOObjectGetClass | ( | io_object_t | object, |
io_name_t | name | ||
) |
uint32_t IOObjectGetKernelRetainCount | ( | io_object_t | object | ) |
kern_return_t IOObjectRelease | ( | io_object_t | object | ) |
kern_return_t IOObjectRetain | ( | io_object_t | object | ) |
kern_return_t IORegistryCreateIterator | ( | mach_port_t | master, |
const io_name_t | plane, | ||
uint32_t | options, | ||
io_iterator_t * | it | ||
) |
kern_return_t IORegistryEntryCreateCFProperties | ( | io_registry_entry_t | entry, |
CFMutableDictionaryRef * | properties, | ||
CFAllocatorRef | allocator, | ||
uint32_t | options | ||
) |
CFTypeRef IORegistryEntryCreateCFProperty | ( | io_registry_entry_t | entry, |
CFStringRef | key, | ||
CFAllocatorRef | allocator, | ||
uint32_t | options | ||
) |
kern_return_t IORegistryEntryCreateIterator | ( | io_registry_entry_t | entry, |
const io_name_t | plane, | ||
uint32_t | options, | ||
io_iterator_t * | it | ||
) |
kern_return_t IORegistryEntryGetChildIterator | ( | io_registry_entry_t | entry, |
const io_name_t | plane, | ||
io_iterator_t * | it | ||
) |
kern_return_t IORegistryEntryGetName | ( | io_registry_entry_t | entry, |
io_name_t | name | ||
) |
kern_return_t IORegistryEntryGetParentIterator | ( | io_registry_entry_t | entry, |
const io_name_t | plane, | ||
io_iterator_t * | it | ||
) |
kern_return_t IORegistryEntryGetPath | ( | io_registry_entry_t | entry, |
const io_name_t | plane, | ||
io_string_t | path | ||
) |
kern_return_t IORegistryEntryGetProperty | ( | io_registry_entry_t | entry, |
const io_name_t | name, | ||
io_struct_inband_t | buffer, | ||
uint32_t * | size | ||
) |
kern_return_t IORegistryEntryGetRegistryEntryID | ( | io_registry_entry_t | entry, |
uint64_t * | entryID | ||
) |
kern_return_t IORegistryEntrySetCFProperties | ( | io_registry_entry_t | entry, |
CFTypeRef | properties | ||
) |
io_registry_entry_t IORegistryGetRootEntry | ( | mach_port_t | master | ) |
io_service_t IOServiceGetMatchingService | ( | mach_port_t | master, |
CFDictionaryRef matching | CF_RELEASES_ARGUMENT | ||
) |
kern_return_t IOServiceGetMatchingServices | ( | mach_port_t | master, |
CFDictionaryRef matching | CF_RELEASES_ARGUMENT, | ||
io_iterator_t * | it | ||
) |
CFMutableDictionaryRef IOServiceMatching | ( | const char * | name | ) |
CFMutableDictionaryRef IOServiceNameMatching | ( | const char * | name | ) |
const mach_port_t kIOMasterPortDefault |