Unnamed: 0
int64
0
0
repo_id
stringlengths
5
186
file_path
stringlengths
15
223
content
stringlengths
1
32.8M
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/AppKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/AppKit.framework/Modules/module.modulemap
framework module AppKit [extern_c] [system] { umbrella header "AppKit.h" export * module * { export * } exclude header "NSFileWrapper.h" exclude header "NSNibConnector.h" exclude header "NSNibControlConnector.h" exclude header "NSNibOutletConnector.h" exclude header "NSSpellServer.h" }
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/DiskArbitration.framework/DiskArbitration.tbd
--- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] uuids: - target: x86_64-macos value: 047F8361-0A74-3753-BA4F-991447B4C7D6 - target: x86_64-maccatalyst value: 047F8361-0A74-3753-BA4F-991447B4C7D6 - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64-maccatalyst value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 002C7E5D-60B6-30F2-9C7B-54F85CC3C104 - target: arm64e-maccatalyst value: 002C7E5D-60B6-30F2-9C7B-54F85CC3C104 install-name: '/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration' exports: - targets: [ x86_64-macos, arm64e-macos, x86_64-maccatalyst, arm64e-maccatalyst, arm64-macos, arm64-maccatalyst ] symbols: [ _DAApprovalSessionCreate, _DAApprovalSessionGetTypeID, _DAApprovalSessionScheduleWithRunLoop, _DAApprovalSessionUnscheduleFromRunLoop, _DADiskClaim, _DADiskCopyDescription, _DADiskCopyIOMedia, _DADiskCopyWholeDisk, _DADiskCreateFromBSDName, _DADiskCreateFromIOMedia, _DADiskCreateFromVolumePath, _DADiskEject, _DADiskGetBSDName, _DADiskGetOptions, _DADiskGetTypeID, _DADiskIsClaimed, _DADiskMount, _DADiskMountWithArguments, _DADiskRename, _DADiskSetOptions, _DADiskUnclaim, _DADiskUnmount, _DADissenterCreate, _DADissenterGetProcessID, _DADissenterGetStatus, _DADissenterGetStatusString, _DARegisterDiskAppearedCallback, _DARegisterDiskDescriptionChangedCallback, _DARegisterDiskDisappearedCallback, _DARegisterDiskEjectApprovalCallback, _DARegisterDiskListCompleteCallback, _DARegisterDiskMountApprovalCallback, _DARegisterDiskPeekCallback, _DARegisterDiskUnmountApprovalCallback, _DARegisterIdleCallback, _DASessionCreate, _DASessionGetTypeID, _DASessionScheduleWithRunLoop, _DASessionSetDispatchQueue, _DASessionUnscheduleFromRunLoop, _DAUnregisterApprovalCallback, _DAUnregisterCallback, __DADiskCreateFromSerialization, __DADiskGetSession, __DADiskSetAdoption, __DADiskSetEncoding, __DAmkdir, __DArmdir, _kDAApprovalRunLoopMode, _kDADiskDescriptionAppearanceTimeKey, _kDADiskDescriptionBusNameKey, _kDADiskDescriptionBusPathKey, _kDADiskDescriptionDeviceGUIDKey, _kDADiskDescriptionDeviceInternalKey, _kDADiskDescriptionDeviceModelKey, _kDADiskDescriptionDevicePathKey, _kDADiskDescriptionDeviceProtocolKey, _kDADiskDescriptionDeviceRevisionKey, _kDADiskDescriptionDeviceTDMLockedKey, _kDADiskDescriptionDeviceUnitKey, _kDADiskDescriptionDeviceVendorKey, _kDADiskDescriptionMatchMediaUnformatted, _kDADiskDescriptionMatchMediaWhole, _kDADiskDescriptionMatchVolumeMountable, _kDADiskDescriptionMatchVolumeUnrecognized, _kDADiskDescriptionMediaBSDMajorKey, _kDADiskDescriptionMediaBSDMinorKey, _kDADiskDescriptionMediaBSDNameKey, _kDADiskDescriptionMediaBSDUnitKey, _kDADiskDescriptionMediaBlockSizeKey, _kDADiskDescriptionMediaContentKey, _kDADiskDescriptionMediaEjectableKey, _kDADiskDescriptionMediaEncryptedKey, _kDADiskDescriptionMediaEncryptionDetailKey, _kDADiskDescriptionMediaIconKey, _kDADiskDescriptionMediaKindKey, _kDADiskDescriptionMediaLeafKey, _kDADiskDescriptionMediaMatchKey, _kDADiskDescriptionMediaNameKey, _kDADiskDescriptionMediaPathKey, _kDADiskDescriptionMediaRemovableKey, _kDADiskDescriptionMediaSizeKey, _kDADiskDescriptionMediaTypeKey, _kDADiskDescriptionMediaUUIDKey, _kDADiskDescriptionMediaWholeKey, _kDADiskDescriptionMediaWritableKey, _kDADiskDescriptionVolumeKindKey, _kDADiskDescriptionVolumeMountableKey, _kDADiskDescriptionVolumeNameKey, _kDADiskDescriptionVolumeNetworkKey, _kDADiskDescriptionVolumePathKey, _kDADiskDescriptionVolumeTypeKey, _kDADiskDescriptionVolumeUUIDKey, _kDADiskDescriptionWatchVolumeName, _kDADiskDescriptionWatchVolumePath ] ...
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/DiskArbitration.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/DiskArbitration.framework/Headers/DADissenter.h
/* * Copyright (c) 1998-2015 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef __DISKARBITRATION_DADISSENTER__ #define __DISKARBITRATION_DADISSENTER__ #include <mach/error.h> #include <CoreFoundation/CoreFoundation.h> #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ CF_ASSUME_NONNULL_BEGIN CF_IMPLICIT_BRIDGING_ENABLED #define err_local_diskarbitration err_sub( 0x368 ) /*! * @enum DAReturn * @abstract A return code. */ enum { kDAReturnSuccess = 0, kDAReturnError = err_local | err_local_diskarbitration | 0x01, /* ( 0xF8DA0001 ) */ kDAReturnBusy = err_local | err_local_diskarbitration | 0x02, /* ( 0xF8DA0002 ) */ kDAReturnBadArgument = err_local | err_local_diskarbitration | 0x03, /* ( 0xF8DA0003 ) */ kDAReturnExclusiveAccess = err_local | err_local_diskarbitration | 0x04, /* ( 0xF8DA0004 ) */ kDAReturnNoResources = err_local | err_local_diskarbitration | 0x05, /* ( 0xF8DA0005 ) */ kDAReturnNotFound = err_local | err_local_diskarbitration | 0x06, /* ( 0xF8DA0006 ) */ kDAReturnNotMounted = err_local | err_local_diskarbitration | 0x07, /* ( 0xF8DA0007 ) */ kDAReturnNotPermitted = err_local | err_local_diskarbitration | 0x08, /* ( 0xF8DA0008 ) */ kDAReturnNotPrivileged = err_local | err_local_diskarbitration | 0x09, /* ( 0xF8DA0009 ) */ kDAReturnNotReady = err_local | err_local_diskarbitration | 0x0A, /* ( 0xF8DA000A ) */ kDAReturnNotWritable = err_local | err_local_diskarbitration | 0x0B, /* ( 0xF8DA000B ) */ kDAReturnUnsupported = err_local | err_local_diskarbitration | 0x0C /* ( 0xF8DA000C ) */ }; typedef mach_error_t DAReturn; #ifndef __DISKARBITRATIOND__ /*! * @typedef DADissenterRef * Type of a reference to DADissenter instances. */ typedef const struct CF_BRIDGED_TYPE( id ) __DADissenter * DADissenterRef; /*! * @function DADissenterCreate * @abstract Creates a new dissenter object. * @param allocator The allocator object to be used to allocate memory. * @param status The return code. * @param string The return code string. Pass NULL for no reason. * @result A reference to a new DADissenter. */ extern DADissenterRef DADissenterCreate( CFAllocatorRef __nullable allocator, DAReturn status, CFStringRef __nullable string ); /*! * @function DADissenterGetStatus * @abstract Obtains the return code. * @param dissenter The DADissenter for which to obtain the return code. * @result The return code. A BSD return code, if applicable, is encoded with unix_err(). */ extern DAReturn DADissenterGetStatus( DADissenterRef dissenter ); /*! * @function DADissenterGetStatusString * @abstract Obtains the return code string. * @param dissenter The DADissenter for which to obtain the return code string. * @result The return code string. */ extern CFStringRef __nullable DADissenterGetStatusString( DADissenterRef dissenter ); #endif /* !__DISKARBITRATIOND__ */ CF_IMPLICIT_BRIDGING_DISABLED CF_ASSUME_NONNULL_END #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* !__DISKARBITRATION_DADISSENTER__ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/DiskArbitration.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h
/* * Copyright (c) 1998-2015 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef __DISKARBITRATION_DADISK__ #define __DISKARBITRATION_DADISK__ #include <CoreFoundation/CoreFoundation.h> #include <IOKit/IOKitLib.h> #include <DiskArbitration/DASession.h> #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ CF_ASSUME_NONNULL_BEGIN CF_IMPLICIT_BRIDGING_ENABLED extern const CFStringRef kDADiskDescriptionVolumeKindKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionVolumeMountableKey; /* ( CFBoolean ) */ extern const CFStringRef kDADiskDescriptionVolumeNameKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionVolumeNetworkKey; /* ( CFBoolean ) */ extern const CFStringRef kDADiskDescriptionVolumePathKey; /* ( CFURL ) */ extern const CFStringRef kDADiskDescriptionVolumeTypeKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionVolumeUUIDKey; /* ( CFUUID ) */ extern const CFStringRef kDADiskDescriptionMediaBlockSizeKey; /* ( CFNumber ) */ extern const CFStringRef kDADiskDescriptionMediaBSDMajorKey; /* ( CFNumber ) */ extern const CFStringRef kDADiskDescriptionMediaBSDMinorKey; /* ( CFNumber ) */ extern const CFStringRef kDADiskDescriptionMediaBSDNameKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionMediaBSDUnitKey; /* ( CFNumber ) */ extern const CFStringRef kDADiskDescriptionMediaContentKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionMediaEjectableKey; /* ( CFBoolean ) */ extern const CFStringRef kDADiskDescriptionMediaIconKey; /* ( CFDictionary ) */ extern const CFStringRef kDADiskDescriptionMediaKindKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionMediaLeafKey; /* ( CFBoolean ) */ extern const CFStringRef kDADiskDescriptionMediaNameKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionMediaPathKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionMediaRemovableKey; /* ( CFBoolean ) */ extern const CFStringRef kDADiskDescriptionMediaSizeKey; /* ( CFNumber ) */ extern const CFStringRef kDADiskDescriptionMediaTypeKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionMediaUUIDKey; /* ( CFUUID ) */ extern const CFStringRef kDADiskDescriptionMediaWholeKey; /* ( CFBoolean ) */ extern const CFStringRef kDADiskDescriptionMediaWritableKey; /* ( CFBoolean ) */ extern const CFStringRef kDADiskDescriptionMediaEncryptedKey; /* ( CFBoolean ) */ extern const CFStringRef kDADiskDescriptionMediaEncryptionDetailKey; /* ( CFNumber ) */ extern const CFStringRef kDADiskDescriptionDeviceGUIDKey; /* ( CFData ) */ extern const CFStringRef kDADiskDescriptionDeviceInternalKey; /* ( CFBoolean ) */ extern const CFStringRef kDADiskDescriptionDeviceModelKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionDevicePathKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionDeviceProtocolKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionDeviceRevisionKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionDeviceUnitKey; /* ( CFNumber ) */ extern const CFStringRef kDADiskDescriptionDeviceVendorKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionDeviceTDMLockedKey; /* ( CFBoolean ) */ extern const CFStringRef kDADiskDescriptionBusNameKey; /* ( CFString ) */ extern const CFStringRef kDADiskDescriptionBusPathKey; /* ( CFString ) */ #ifndef __DISKARBITRATIOND__ /*! * @typedef DADiskRef * Type of a reference to DADisk instances. */ typedef struct CF_BRIDGED_TYPE( id ) __DADisk * DADiskRef; /*! * @function DADiskGetTypeID * @abstract Returns the type identifier of all DADisk instances. */ extern CFTypeID DADiskGetTypeID( void ); /*! * @function DADiskCreateFromBSDName * @abstract Creates a new disk object. * @param allocator The allocator object to be used to allocate memory. * @param session The DASession in which to contact Disk Arbitration. * @param name The BSD device name. * @result A reference to a new DADisk. * @discussion * The caller of this function receives a reference to the returned object. The * caller also implicitly retains the object and is responsible for releasing it * with CFRelease(). */ extern DADiskRef __nullable DADiskCreateFromBSDName( CFAllocatorRef __nullable allocator, DASessionRef session, const char * name ); /*! * @function DADiskCreateFromIOMedia * @abstract Creates a new disk object. * @param allocator The allocator object to be used to allocate memory. * @param session The DASession in which to contact Disk Arbitration. * @param media The I/O Kit media object. * @result A reference to a new DADisk. * @discussion * The caller of this function receives a reference to the returned object. The * caller also implicitly retains the object and is responsible for releasing it * with CFRelease(). */ extern DADiskRef __nullable DADiskCreateFromIOMedia( CFAllocatorRef __nullable allocator, DASessionRef session, io_service_t media ); /*! * @function DADiskCreateFromVolumePath * @abstract Creates a new disk object. * @param allocator The allocator object to be used to allocate memory. * @param session The DASession in which to contact Disk Arbitration. * @param path The BSD mount point. * @result A reference to a new DADisk. * @discussion * The caller of this function receives a reference to the returned object. The * caller also implicitly retains the object and is responsible for releasing it * with CFRelease(). */ extern DADiskRef __nullable DADiskCreateFromVolumePath( CFAllocatorRef __nullable allocator, DASessionRef session, CFURLRef path ); /*! * @function DADiskGetBSDName * @abstract Obtains the BSD device name for the specified disk. * @param disk The DADisk for which to obtain the BSD device name. * @result The disk's BSD device name. * @discussion * The BSD device name can be used with opendev() to open the BSD device. */ extern const char * __nullable DADiskGetBSDName( DADiskRef disk ); /*! * @function DADiskCopyIOMedia * @abstract Obtains the I/O Kit media object for the specified disk. * @param disk The DADisk for which to obtain the I/O Kit media object. * @result The disk's I/O Kit media object. * @discussion * The caller of this function receives a reference to the returned object. The * caller also implicitly retains the object and is responsible for releasing it * with IOObjectRelease(). */ extern io_service_t DADiskCopyIOMedia( DADiskRef disk ); /*! * @function DADiskCopyDescription * @abstract Obtains the Disk Arbitration description of the specified disk. * @param disk The DADisk for which to obtain the Disk Arbitration description. * @result The disk's Disk Arbitration description. * @discussion * This function will contact Disk Arbitration to acquire the latest description * of the specified disk, unless this function is called on a disk object passed * within the context of a registered callback, in which case the description is * current as of that callback event. * * The caller of this function receives a reference to the returned object. The * caller also implicitly retains the object and is responsible for releasing it * with CFRelease(). */ extern CFDictionaryRef __nullable DADiskCopyDescription( DADiskRef disk ); /*! * @function DADiskCopyWholeDisk * @abstract Obtain the associated whole disk object for the specified disk. * @param disk The disk object. * @result The disk's associated whole disk object. * @discussion * The caller of this function receives a reference to the returned object. The * caller also implicitly retains the object and is responsible for releasing it * with CFRelease(). */ extern DADiskRef __nullable DADiskCopyWholeDisk( DADiskRef disk ); #endif /* !__DISKARBITRATIOND__ */ CF_IMPLICIT_BRIDGING_DISABLED CF_ASSUME_NONNULL_END #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* !__DISKARBITRATION_DADISK__ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/DiskArbitration.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h
/* * Copyright (c) 1998-2015 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef __DISKARBITRATION_DASESSION__ #define __DISKARBITRATION_DASESSION__ #include <CoreFoundation/CoreFoundation.h> #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ CF_ASSUME_NONNULL_BEGIN CF_IMPLICIT_BRIDGING_ENABLED #ifndef __DISKARBITRATIOND__ /*! * @typedef DASessionRef * Type of a reference to DASession instances. */ typedef struct CF_BRIDGED_TYPE( id ) __DASession * DASessionRef; /*! * @function DASessionGetTypeID * @abstract Returns the type identifier of all DASession instances. */ extern CFTypeID DASessionGetTypeID( void ); /*! * @function DASessionCreate * @abstract Creates a new session. * @result A reference to a new DASession. * @discussion * The caller of this function receives a reference to the returned object. The * caller also implicitly retains the object and is responsible for releasing it. */ extern DASessionRef __nullable DASessionCreate( CFAllocatorRef __nullable allocator ); /*! * @function DASessionScheduleWithRunLoop * @abstract Schedules the session on a run loop. * @param session The session which is being scheduled. * @param runLoop The run loop on which the session should be scheduled. * @param runLoopMode The run loop mode in which the session should be scheduled. */ extern void DASessionScheduleWithRunLoop( DASessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode ); /*! * @function DASessionUnscheduleFromRunLoop * @abstract Unschedules the session from a run loop. * @param session The session which is being unscheduled. * @param runLoop The run loop on which the session is scheduled. * @param runLoopMode The run loop mode in which the session is scheduled. */ extern void DASessionUnscheduleFromRunLoop( DASessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode ); /*! * @function DASessionSetDispatchQueue * @abstract Schedules the session on a dispatch queue. * @param session The session which is being scheduled. * @param queue The dispatch queue on which the session should be scheduled. Pass NULL to unschedule. */ extern void DASessionSetDispatchQueue( DASessionRef session, dispatch_queue_t __nullable queue ); /* * @typedef DAApprovalSessionRef * Type of a reference to DAApprovalSession instances. */ typedef struct CF_BRIDGED_TYPE( id ) __DASession * DAApprovalSessionRef CF_SWIFT_UNAVAILABLE( "Use DASessionRef instead" ); /* * @function DAApprovalSessionGetTypeID * @abstract Returns the type identifier of all DAApprovalSession instances. */ extern CFTypeID DAApprovalSessionGetTypeID( void ) CF_SWIFT_UNAVAILABLE( "Use DASessionGetTypeID instead" ); /* * @function DAApprovalSessionCreate * @abstract Creates a new approval session. * @result A reference to a new DAApprovalSession. * @discussion * The caller of this function receives a reference to the returned object. The * caller also implicitly retains the object and is responsible for releasing it. */ extern DAApprovalSessionRef __nullable DAApprovalSessionCreate( CFAllocatorRef __nullable allocator ) CF_SWIFT_UNAVAILABLE( "Use DASessionCreate instead" ); /* * @function DAApprovalSessionScheduleWithRunLoop * @abstract Schedules the approval session on a run loop. * @param session The approval session which is being scheduled. * @param runLoop The run loop on which the approval session should be scheduled. * @param runLoopMode The run loop mode in which the approval session should be scheduled. */ extern void DAApprovalSessionScheduleWithRunLoop( DAApprovalSessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode ) CF_SWIFT_UNAVAILABLE( "Use DASessionSetDispatchQueue instead" ); /* * @function DAApprovalSessionUnscheduleFromRunLoop * @abstract Unschedules the approval session from a run loop. * @param session The approval session which is being unscheduled. * @param runLoop The run loop on which the approval session is scheduled. * @param runLoopMode The run loop mode in which the approval session is scheduled. */ extern void DAApprovalSessionUnscheduleFromRunLoop( DAApprovalSessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode ) CF_SWIFT_UNAVAILABLE( "Use DASessionSetDispatchQueue instead" ); #endif /* !__DISKARBITRATIOND__ */ CF_IMPLICIT_BRIDGING_DISABLED CF_ASSUME_NONNULL_END #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* !__DISKARBITRATION_DASESSION__ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/DiskArbitration.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/DiskArbitration.framework/Headers/DiskArbitration.h
/* * Copyright (c) 1998-2015 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef __DISKARBITRATION_DISKARBITRATION__ #define __DISKARBITRATION_DISKARBITRATION__ #include <CoreFoundation/CoreFoundation.h> #include <DiskArbitration/DADisk.h> #include <DiskArbitration/DADissenter.h> #include <DiskArbitration/DASession.h> #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ CF_ASSUME_NONNULL_BEGIN CF_IMPLICIT_BRIDGING_ENABLED /*! * @enum DADiskMountOptions * @abstract Options for DADiskMount(). * @constant kDADiskMountOptionWhole Mount the volumes tied to the whole disk object. */ enum { kDADiskMountOptionDefault = 0x00000000, kDADiskMountOptionWhole = 0x00000001 }; typedef UInt32 DADiskMountOptions; /*! * @enum DADiskRenameOptions * @abstract Options for DADiskRename(). */ enum { kDADiskRenameOptionDefault = 0x00000000 }; typedef UInt32 DADiskRenameOptions; /*! * @enum DADiskUnmountOptions * @abstract Options for DADiskUnmount(). * @constant kDADiskUnmountOptionForce Unmount the volume even if files are still active. * @constant kDADiskUnmountOptionWhole Unmount the volumes tied to the whole disk object. */ enum { kDADiskUnmountOptionDefault = 0x00000000, kDADiskUnmountOptionForce = 0x00080000, kDADiskUnmountOptionWhole = 0x00000001 }; typedef UInt32 DADiskUnmountOptions; /*! * @enum DADiskEjectOptions * @abstract Options for DADiskEject(). */ enum { kDADiskEjectOptionDefault = 0x00000000 }; typedef UInt32 DADiskEjectOptions; /*! * @enum DADiskClaimOptions * @abstract Options for DADiskClaim(). */ enum { kDADiskClaimOptionDefault = 0x00000000 }; typedef UInt32 DADiskClaimOptions; /*! * @enum DADiskOptions * @abstract Options for DADiskGetOptions() and DADiskSetOptions(). */ enum { kDADiskOptionDefault = 0x00000000 }; typedef UInt32 DADiskOptions; /*! * @constant kDADiskDescriptionMatchMediaUnformatted * Predefined CFDictionary object containing a set of disk description keys and values * appropriate for matching unformatted media using DARegister*Callback(). */ extern CFDictionaryRef kDADiskDescriptionMatchMediaUnformatted; /*! * @constant kDADiskDescriptionMatchMediaWhole * Predefined CFDictionary object containing a set of disk description keys and values * appropriate for matching whole media using DARegister*Callback(). */ extern CFDictionaryRef kDADiskDescriptionMatchMediaWhole; /*! * @constant kDADiskDescriptionMatchVolumeMountable * Predefined CFDictionary object containing a set of disk description keys and values * appropriate for matching mountable volumes using DARegister*Callback(). */ extern CFDictionaryRef kDADiskDescriptionMatchVolumeMountable; /*! * @constant kDADiskDescriptionMatchVolumeUnrecognized * Predefined CFDictionary object containing a set of disk description keys and values * appropriate for matching unrecognized volumes using DARegister*Callback(). */ extern CFDictionaryRef kDADiskDescriptionMatchVolumeUnrecognized; /*! * @constant kDADiskDescriptionWatchVolumeName * Predefined CFArray object containing a set of disk description keys appropriate for * watching volume name changes using DARegisterDiskDescriptionChangedCallback(). */ extern CFArrayRef kDADiskDescriptionWatchVolumeName; /*! * @constant kDADiskDescriptionWatchVolumePath * Predefined CFArray object containing a set of disk description keys appropriate for * watching volume mount changes using DARegisterDiskDescriptionChangedCallback(). */ extern CFArrayRef kDADiskDescriptionWatchVolumePath; #ifndef __DISKARBITRATIOND__ /*! * @typedef DADiskAppearedCallback * @abstract Type of the callback function used by DARegisterDiskAppearedCallback(). * @param disk A disk object. * @param context The user-defined context parameter given to the registration function. */ typedef void ( *DADiskAppearedCallback )( DADiskRef disk, void * __nullable context ); /*! * @function DARegisterDiskAppearedCallback * @abstract Registers a callback function to be called whenever a disk has appeared. * @param session The session object. * @param match The disk description keys to match. Pass NULL for all disk objects. * @param callback The callback function to call when a disk has appeared. * @param context The user-defined context parameter to pass to the callback function. */ extern void DARegisterDiskAppearedCallback( DASessionRef session, CFDictionaryRef __nullable match, DADiskAppearedCallback callback, void * __nullable context ); /*! * @typedef DADiskDescriptionChangedCallback * @abstract Type of the callback function used by DARegisterDiskDescriptionChangedCallback(). * @param disk A disk object. * @param keys A list of changed keys. * @param context The user-defined context parameter given to the registration function. */ typedef void ( *DADiskDescriptionChangedCallback )( DADiskRef disk, CFArrayRef keys, void * __nullable context ); /*! * @function DARegisterDiskDescriptionChangedCallback * @abstract Registers a callback function to be called whenever a disk description has changed. * @param session The session object. * @param match The disk description keys to match. Pass NULL for all disk objects. * @param watch The disk description keys to watch. Pass NULL for all keys. * @param callback The callback function to call when a watched key changes. * @param context The user-defined context parameter to pass to the callback function. */ extern void DARegisterDiskDescriptionChangedCallback( DASessionRef session, CFDictionaryRef __nullable match, CFArrayRef __nullable watch, DADiskDescriptionChangedCallback callback, void * __nullable context ); /*! * @typedef DADiskDisappearedCallback * @abstract Type of the callback function used by DARegisterDiskDisappearedCallback(). * @param disk A disk object. * @param context The user-defined context parameter given to the registration function. */ typedef void ( *DADiskDisappearedCallback )( DADiskRef disk, void * __nullable context ); /*! * @function DARegisterDiskDisappearedCallback * @abstract Registers a callback function to be called whenever a disk has disappeared. * @param session The session object. * @param match The disk description keys to match. Pass NULL for all disk objects. * @param callback The callback function to call when a disk has disappeared. * @param context The user-defined context parameter to pass to the callback function. */ extern void DARegisterDiskDisappearedCallback( DASessionRef session, CFDictionaryRef __nullable match, DADiskDisappearedCallback callback, void * __nullable context ); /*! * @typedef DADiskMountCallback * @abstract Type of the callback function used by DADiskMount(). * @param disk The disk object. * @param dissenter A dissenter object on failure or NULL on success. * @param context The user-defined context parameter given to the mount function. * @discussion * If the disk is already mounted, then status code in the dissenter object will be set to kDAReturnBusy */ typedef void ( *DADiskMountCallback )( DADiskRef disk, DADissenterRef __nullable dissenter, void * __nullable context ); /*! * @function DADiskMount * @abstract Mounts the volume at the specified disk object. * @param disk The disk object. * @param path The mount path. Pass NULL for a "standard" mount path. * @param options The mount options. * @param callback The callback function to call once the mount completes. * @param context The user-defined context parameter to pass to the callback function. */ extern void DADiskMount( DADiskRef disk, CFURLRef __nullable path, DADiskMountOptions options, DADiskMountCallback __nullable callback, void * __nullable context ); /*! * @function DADiskMountWithArguments * @abstract Mounts the volume at the specified disk object, with the specified mount options. * @param disk The disk object. * @param path The mount path. Pass NULL for a "standard" mount path. * @param options The mount options. * @param callback The callback function to call once the mount completes. * @param context The user-defined context parameter to pass to the callback function. * @param arguments The null-terminated list of mount options to pass to /sbin/mount -o. */ extern void DADiskMountWithArguments( DADiskRef disk, CFURLRef __nullable path, DADiskMountOptions options, DADiskMountCallback __nullable callback, void * __nullable context, CFStringRef __nullable arguments[_Nullable] ); /*! * @typedef DADiskMountApprovalCallback * @abstract Type of the callback function used by DARegisterDiskMountApprovalCallback(). * @param disk A disk object. * @param context The user-defined context parameter given to the registration function. * @result A dissenter reference. Pass NULL to approve. * @discussion * The caller of this callback receives a reference to the returned object. The * caller also implicitly retains the object and is responsible for releasing it * with CFRelease(). */ typedef DADissenterRef __nullable ( *DADiskMountApprovalCallback )( DADiskRef disk, void * __nullable context ); /*! * @function DARegisterDiskMountApprovalCallback * @abstract Registers a callback function to be called whenever a volume is to be mounted. * @param session The session object. * @param match The disk description keys to match. Pass NULL for all disk objects. * @param callback The callback function to call when a volume is to be mounted. * @param context The user-defined context parameter to pass to the callback function. */ extern void DARegisterDiskMountApprovalCallback( DASessionRef session, CFDictionaryRef __nullable match, DADiskMountApprovalCallback callback, void * __nullable context ); /*! * @typedef DADiskRenameCallback * @abstract Type of the callback function used by DADiskRename(). * @param disk The disk object. * @param dissenter A dissenter object on failure or NULL on success. * @param context The user-defined context parameter given to the rename function. */ typedef void ( *DADiskRenameCallback )( DADiskRef disk, DADissenterRef __nullable dissenter, void * __nullable context ); /*! * @function DADiskRename * @abstract Renames the volume at the specified disk object. * @param disk The disk object. * @param options The rename options. * @param callback The callback function to call once the rename completes. * @param context The user-defined context parameter to pass to the callback function. */ extern void DADiskRename( DADiskRef disk, CFStringRef name, DADiskRenameOptions options, DADiskRenameCallback __nullable callback, void * __nullable context ); /*! * @typedef DADiskUnmountCallback * @abstract Type of the callback function used by DADiskUnmount(). * @param disk The disk object. * @param dissenter A dissenter object on failure or NULL on success. * @param context The user-defined context parameter given to the unmount function. */ typedef void ( *DADiskUnmountCallback )( DADiskRef disk, DADissenterRef __nullable dissenter, void * __nullable context ); /*! * @function DADiskUnmount * @abstract Unmounts the volume at the specified disk object. * @param disk The disk object. * @param options The unmount options. * @param callback The callback function to call once the unmount completes. * @param context The user-defined context parameter to pass to the callback function. */ extern void DADiskUnmount( DADiskRef disk, DADiskUnmountOptions options, DADiskUnmountCallback __nullable callback, void * __nullable context ); /*! * @typedef DADiskUnmountApprovalCallback * @abstract Type of the callback function used by DARegisterDiskUnmountApprovalCallback(). * @param disk A disk object. * @param context The user-defined context parameter given to the registration function. * @result A dissenter reference. Pass NULL to approve. * @discussion * The caller of this callback receives a reference to the returned object. The * caller also implicitly retains the object and is responsible for releasing it * with CFRelease(). */ typedef DADissenterRef __nullable ( *DADiskUnmountApprovalCallback )( DADiskRef disk, void * __nullable context ); /*! * @function DARegisterDiskUnmountApprovalCallback * @abstract Registers a callback function to be called whenever a volume is to be unmounted. * @param session The session object. * @param match The disk description keys to match. Pass NULL for all disk objects. * @param callback The callback function to call when a volume is to be unmounted. * @param context The user-defined context parameter to pass to the callback function. */ extern void DARegisterDiskUnmountApprovalCallback( DASessionRef session, CFDictionaryRef __nullable match, DADiskUnmountApprovalCallback callback, void * __nullable context ); /*! * @typedef DADiskEjectCallback * @abstract Type of the callback function used by DADiskEject(). * @param disk The disk object. * @param dissenter A dissenter object on failure or NULL on success. * @param context The user-defined context parameter given to the eject function. */ typedef void ( *DADiskEjectCallback )( DADiskRef disk, DADissenterRef __nullable dissenter, void * __nullable context ); /*! * @function DADiskEject * @abstract Ejects the specified disk object. * @param disk The disk object. * @param options The eject options. * @param callback The callback function to call once the ejection completes. * @param context The user-defined context parameter to pass to the callback function. */ extern void DADiskEject( DADiskRef disk, DADiskEjectOptions options, DADiskEjectCallback __nullable callback, void * __nullable context ); /*! * @typedef DADiskEjectApprovalCallback * @abstract Type of the callback function used by DARegisterDiskEjectApprovalCallback(). * @param disk A disk object. * @param context The user-defined context parameter given to the registration function. * @result A dissenter reference. Pass NULL to approve. * @discussion * The caller of this callback receives a reference to the returned object. The * caller also implicitly retains the object and is responsible for releasing it * with CFRelease(). */ typedef DADissenterRef __nullable ( *DADiskEjectApprovalCallback )( DADiskRef disk, void * __nullable context ); /*! * @function DARegisterDiskEjectApprovalCallback * @abstract Registers a callback function to be called whenever a volume is to be ejected. * @param session The session object. * @param match The disk description keys to match. Pass NULL for all disk objects. * @param callback The callback function to call when a volume is to be ejected. * @param context The user-defined context parameter to pass to the callback function. */ extern void DARegisterDiskEjectApprovalCallback( DASessionRef session, CFDictionaryRef __nullable match, DADiskEjectApprovalCallback callback, void * __nullable context ); /*! * @typedef DADiskClaimCallback * @abstract Type of the callback function used by DADiskClaim(). * @param disk The disk object. * @param dissenter A dissenter object on failure or NULL on success. * @param context The user-defined context parameter given to the claim function. */ typedef void ( *DADiskClaimCallback )( DADiskRef disk, DADissenterRef __nullable dissenter, void * __nullable context ); /*! * @typedef DADiskClaimReleaseCallback * @abstract Type of the callback function used by DADiskClaim(). * @param disk The disk object. * @param context The user-defined context parameter given to the claim function. * @result A dissenter reference. Pass NULL to release claim. * @discussion * The caller of this callback receives a reference to the returned object. The * caller also implicitly retains the object and is responsible for releasing it * with CFRelease(). */ typedef DADissenterRef __nullable ( *DADiskClaimReleaseCallback )( DADiskRef disk, void * __nullable context ); /*! * @function DADiskClaim * @abstract Claims the specified disk object for exclusive use. * @param disk The disk object. * @param options The claim options. * @param release The callback function to call when the claim is to be released. * @param releaseContext The user-defined context parameter to pass to the callback function. * @param callback The callback function to call once the claim completes. * @param callbackContext The user-defined context parameter to pass to the callback function. */ extern void DADiskClaim( DADiskRef disk, DADiskClaimOptions options, DADiskClaimReleaseCallback __nullable release, void * __nullable releaseContext, DADiskClaimCallback __nullable callback, void * __nullable callbackContext ); /*! * @function DADiskIsClaimed * @abstract Reports whether or not the disk is claimed. * @param disk The disk object. * @result TRUE if the disk is claimed, otherwise FALSE. */ extern Boolean DADiskIsClaimed( DADiskRef disk ); /*! * @function DADiskUnclaim * @abstract Unclaims the specified disk object. * @param disk The disk object. */ extern void DADiskUnclaim( DADiskRef disk ); /*! * @typedef DADiskPeekCallback * @abstract Type of the callback function used by DARegisterDiskPeekCallback(). * @param disk A disk object. * @param context The user-defined context parameter given to the registration function. * @discussion * The peek callback functions are called in a specific order, from lowest order to highest * order. DADiskClaim() could be used here to claim the disk object and DADiskSetOptions() * could be used here to set up options on the disk object. */ typedef void ( *DADiskPeekCallback )( DADiskRef disk, void * __nullable context ); /*! * @function DARegisterDiskPeekCallback * @abstract Registers a callback function to be called whenever a disk has been probed. * @param session The session object. * @param match The disk description keys to match. Pass NULL for all disk objects. * @param order The callback order, from lowest to highest. Pass 0 for the default. * @param callback The callback function to call when a disk has been probed. * @param context The user-defined context parameter to pass to the callback function. */ extern void DARegisterDiskPeekCallback( DASessionRef session, CFDictionaryRef __nullable match, CFIndex order, DADiskPeekCallback callback, void * __nullable context ); /*! * @function DADiskGetOptions * @abstract Obtains the options for the specified disk. * @param disk The disk object for which to obtain the options. * @result The options. */ extern DADiskOptions DADiskGetOptions( DADiskRef disk ); /*! * @function DADiskSetOptions * @abstract Sets the options for the specified disk. * @param disk The disk object for which to set the options. * @param options The options to set or clear. * @param value Pass TRUE to set options; otherwise pass FALSE to clear options. * @result A result code. */ extern DAReturn DADiskSetOptions( DADiskRef disk, DADiskOptions options, Boolean value ); /*! * @function DAUnregisterCallback * @abstract Unregisters a registered callback function. * @param session The session object. * @param callback The registered callback function. * @param context The user-defined context parameter. */ extern void DAUnregisterCallback( DASessionRef session, void * callback, void * __nullable context ); /* * @function DAUnregisterApprovalCallback * @abstract Unregisters a registered callback function. * @param session The session object. * @param callback The registered callback function. * @param context The user-defined context parameter. */ extern void DAUnregisterApprovalCallback( DASessionRef session, void * callback, void * __nullable context ) CF_SWIFT_UNAVAILABLE( "Use DAUnregisterCallback instead" ); #endif /* !__DISKARBITRATIOND__ */ CF_IMPLICIT_BRIDGING_DISABLED CF_ASSUME_NONNULL_END #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* !__DISKARBITRATION_DISKARBITRATION__ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/DiskArbitration.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/DiskArbitration.framework/Modules/module.modulemap
framework module DiskArbitration [extern_c] [system] { umbrella header "DiskArbitration.h" export * module * { export * } }
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Carbon.tbd
--- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 4A421290-C065-3A5B-A1B6-CFD3089777A2 - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 9D2BB9C5-35D3-359E-AB34-EF8E5165F513 install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon' current-version: 165 compatibility-version: 2 exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _CarbonVersionNumber, _CarbonVersionString ] --- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 77D1909A-B552-3B89-BAA3-4968DBE58A3E - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 83145A1E-897C-34E0-8378-6F14F11E851E install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels' current-version: 101 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon allowable-clients: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] clients: [ AppKit ] exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _CCP_FontPanelClose, _CCP_FontPanelGetSelection, _CCP_FontPanelIsVisible, _CCP_FontPanelOpen, _CCP_FontPanelSelectFonts, _CCP_NPickColor, _CMCalibrateDisplay, _Call_CommonCocoaPanels_NPickColor, _CommonPanelsVersionNumber, _CommonPanelsVersionString, _DisposeCalibrateEventUPP, _DisposeCalibrateUPP, _DisposeCanCalibrateUPP, _DisposeNColorChangedUPP, _FCAddCollection, _FCAddFontDescriptorToCollection, _FCCopyCollectionNames, _FCCopyFontDescriptorsInCollection, _FCFontDescriptorCreateWithFontAttributes, _FCFontDescriptorCreateWithName, _FCRemoveCollection, _FCRemoveFontDescriptorFromCollection, _FPIsFontPanelVisible, _FPShowHideFontPanel, _GetColor, _GetHandleApplicationEventsUPP, _GetHandleWinEventsUPP, _InvokeCalibrateEventUPP, _InvokeCalibrateUPP, _InvokeCanCalibrateUPP, _InvokeNColorChangedUPP, _LoadNSTypographyBundle, _NPickColor, _NewCalibrateEventUPP, _NewCalibrateUPP, _NewCanCalibrateUPP, _NewNColorChangedUPP, _SetFontInfoForSelection, _SoftLinkingGetFunctionPointerFromBundleInDirectory, _UserWantsColorPanelFromCommonCocoaPanels, __SoftLinkingLoadBundleFromLocation, _gApplicationDeactivated, _gApplicationHandler, _gCallingApp, _gCallingCCP, _gEventTarget, _gFontPanelInitialized, _gFontPanelRef, _gHandler, _gNSTypographyBundle, _gSelFontInfo, _kFCFontCGColorAttribute, _kFCFontFaceAttribute, _kFCFontFamilyAttribute, _kFCFontNameAttribute, _kFCFontSizeAttribute, _kFCFontVisibleNameAttribute, _kFontPanelATSUFontIDKey, _kFontPanelAttributeSizesKey, _kFontPanelAttributeTagsKey, _kFontPanelAttributeValuesKey, _kFontPanelAttributesKey, _kFontPanelBackgroundColorAttributeName, _kFontPanelDocumentAttributesKey, _kFontPanelFeatureSelectorsKey, _kFontPanelFeatureTypesKey, _kFontPanelMouseTrackingState, _kFontPanelVariationAxesKey, _kFontPanelVariationValuesKey ] --- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 6320CF1B-CCD8-336D-ADB8-888AC1D8A1AA - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 7E5988A9-A641-398E-A67D-4B3ED39C3B51 install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox' current-version: 1111.3 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon allowable-clients: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] clients: [ AGL, AppKit, AppleShareClient, Backup, Dock, Finder, FinderKit, ImageKit, Printing_UI, QTKit, QTKitServer, RemoteViewServices, Shortcut, Suggestions, UIKitMacHelper, ViewBridge, loginwindow ] exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _AEGetInteractionAllowed, _AEGetTheCurrentEvent, _AEInteractWithUser, _AEProcessAppleEvent, _AEProcessEvent, _AEResetTimer, _AEResumeTheCurrentEvent, _AESend, _AESetInteractionAllowed, _AESetTheCurrentEvent, _AESuspendTheCurrentEvent, _AXNotificationHIObjectNotify, _AXNotificationHIObjectNotifyWithUserInfo, _AXUIElementCreateWithHIObjectAndIdentifier, _AXUIElementGetHIObject, _AXUIElementGetIdentifier, _AcquireFirstMatchingEventInQueue, _AcquireRootMenu, _ActivateControl, _ActivateTSMDocument, _ActivateWindow, _ActiveNonFloatingWindow, _AddDataBrowserItems, _AddEventTypesToHandler, _AppendDITL, _AppendMenuItemTextWithCFString, _BeginAppModalStateForWindow, _BeginWindowProxyDrag, _BlockUntilNextEventMatchingListInMode, _BringToFront, _Button, _CalcMenuSize, _CallNextEventHandler, _CancelMenuTracking, _ChangeMenuAttributes, _ChangeMenuItemAttributes, _ChangeWindowAttributes, _CheckEventQueueForUserCancel, _CheckMenuItem, _ClearKeyboardFocus, _ClearMenuBar, _CollapseAllWindows, _CollapseWindow, _ConfirmAppShowHideEvent, _ConstrainWindowToScreen, _ConvertEventRefToEventRecord, _CopyControlTitleAsCFString, _CopyEvent, _CopyEventAs, _CopyEventCGEvent, _CopyMenuItemData, _CopyMenuItemTextAsCFString, _CopyMenuItems, _CopyMenuTitleAsCFString, _CopySymbolicHotKeys, _CopyThemeIdentifier, _CopyWindowTitleAsCFString, _CountDITL, _CountMenuItems, _CreateCheckBoxControl, _CreateEvent, _CreateEventWithCGEvent, _CreateIconControl, _CreateLocaleIdentifierForItl0Itl1ResID, _CreateMenuFromNib, _CreateNewMenu, _CreateNewWindow, _CreateNibReference, _CreateNibReferenceWithCFBundle, _CreatePushButtonControl, _CreateRootControl, _CreateShrinkToFitEditControl, _CreateStandardAlert, _CreateStandardSheet, _CreateStandardWindowMenu, _CreateStaticTextControl, _CreateTypeStringWithOSType, _CreateWindowFromNib, _CreateWindowGroup, _CreateWindowWithCGSWindow, _DeactivateControl, _DeactivateTSMDocument, _DebugPrintAllWindowGroups, _DebugPrintControl, _DebugPrintControlHierarchy, _DebugPrintDialogInfo, _DebugPrintEvent, _DebugPrintEventQueue, _DebugPrintMainEventQueue, _DebugPrintMenu, _DebugPrintMenuItem, _DebugPrintMenuList, _DebugPrintTracedEvents, _DebugPrintWindow, _DebugPrintWindowGroup, _DebugPrintWindowList, _DebugSetEventTraceEnabled, _DebugTraceEvent, _DebugTraceEventByName, _DeleteMenu, _DeleteMenuItem, _DeleteMenuItems, _DeleteTSMDocument, _DetachSheetWindow, _DialogSelect, _DisableControl, _DisableMenuCommand, _DisableMenuItem, _DisableScreenUpdates, _DisableSecureEventInput, _DisposeNibReference, _DisposeWindow, _DragWindow, _DrawMenuBar, _EnableControl, _EnableMenuItem, _EnableScreenUpdates, _EnableSecureEventInput, _EndAppModalStateForWindow, _EndWindowProxyDrag, _EventAvail, _FindControlUnderMouse, _FindSpecificEventInQueue, _FindWindow, _FixTSMDocument, _FlashMenuBar, _FlushEventQueue, _FlushEvents, _FlushEventsMatchingListFromQueue, _FlushSpecificEventsFromQueue, _FrontNonFloatingWindow, _FrontWindow, _GetApplicationEventTarget, _GetApplicationScript, _GetApplicationTextEncoding, _GetBestControlRect, _GetCFRunLoopFromEventLoop, _GetCarbonAccessibilityCallbacks, _GetCaretTime, _GetControlBounds, _GetControlByID, _GetControlData, _GetControlEventTarget, _GetControlFeatures, _GetControlHilite, _GetControlKind, _GetControlOwner, _GetControlProperty, _GetControlValue, _GetCurrentButtonState, _GetCurrentEvent, _GetCurrentEventButtonState, _GetCurrentEventKeyModifiers, _GetCurrentEventLoop, _GetCurrentEventQueue, _GetCurrentEventTime, _GetCurrentKeyModifiers, _GetDataBrowserItemCount, _GetDataBrowserItemState, _GetDataBrowserItems, _GetDataBrowserPropertyFlags, _GetDataBrowserSelectionAnchor, _GetDataBrowserSelectionFlags, _GetDataBrowserTableViewColumnPosition, _GetDataBrowserTableViewColumnWidth, _GetDataBrowserTableViewNamedColumnWidth, _GetDataBrowserTableViewRowHeight, _GetDblTime, _GetDialogFromWindow, _GetDialogItem, _GetDialogItemAsControl, _GetDialogWindow, _GetEventAttributes, _GetEventClass, _GetEventDispatcherTarget, _GetEventKind, _GetEventMonitorTarget, _GetEventParameter, _GetEventRetainCount, _GetEventTime, _GetFrontWindowOfClass, _GetGrayRgn, _GetIndMenuItemWithCommandID, _GetIndexedSubControl, _GetItemMark, _GetItlResourceIDsForLocale, _GetKeyboardFocus, _GetKeys, _GetMBarHeight, _GetMainEventLoop, _GetMainEventQueue, _GetMenuAttributes, _GetMenuDefinition, _GetMenuEventTarget, _GetMenuHandle, _GetMenuHeight, _GetMenuID, _GetMenuItemAttributes, _GetMenuItemBounds, _GetMenuItemCommandID, _GetMenuItemCommandKey, _GetMenuItemHierarchicalMenu, _GetMenuItemModifiers, _GetMenuItemProperty, _GetMenuItemRefCon, _GetMenuTitleIcon, _GetMenuTrackingData, _GetMenuType, _GetMenuWidth, _GetNativeWindowFromWindowRef, _GetNextMenu, _GetNextWindow, _GetNextWindowOfClass, _GetNumEventsInQueue, _GetPreviousMenu, _GetPreviousWindow, _GetRootControl, _GetSheetWindowParent, _GetStandardAlertDefaultParams, _GetSuperControl, _GetSymbolicHotKeyMode, _GetSystemUIMode, _GetThemeBrushAsColor, _GetThemeMenuBarHeight, _GetThemeMenuItemExtra, _GetThemeMenuSeparatorHeight, _GetThemeMenuTitleExtra, _GetThemeMetric, _GetThemeTextColor, _GetThemeTextShadowOutset, _GetUserFocusEventTarget, _GetUserFocusWindow, _GetWRefCon, _GetWindowActivationScope, _GetWindowAttributes, _GetWindowBounds, _GetWindowCancelButton, _GetWindowClass, _GetWindowDefaultButton, _GetWindowEventTarget, _GetWindowFeatures, _GetWindowGroup, _GetWindowGroupLevel, _GetWindowGroupOfClass, _GetWindowGroupParent, _GetWindowIdealUserState, _GetWindowKind, _GetWindowList, _GetWindowModality, _GetWindowPortBounds, _GetWindowProperty, _GetWindowRefFromNativeWindow, _GetWindowStandardState, _GetWindowSystemProperty, _HICopyAccessibilityActionDescription, _HICopyAccessibilityRoleDescription, _HIDictionaryWindowShow, _HIGetMousePosition, _HIGetScaleFactor, _HIGrowBoxViewIsTransparent, _HIGrowBoxViewSetTransparent, _HIMenuCopyFont, _HIMenuCopyParents, _HIMenuGetContentView, _HIMenuItemViewCancelMenuTracking, _HIMenuItemViewGetEnclosingMenuItem, _HIMenuSetAttributedItemText, _HIMenuSetFont, _HIMenuSetSelection, _HIMouseTrackingGetParameters, _HIObjectAddDelegate, _HIObjectCopyClassID, _HIObjectCopyDelegates, _HIObjectCreate, _HIObjectCreateFromBundle, _HIObjectDynamicCast, _HIObjectFromEventTarget, _HIObjectGetEventHandlerObject, _HIObjectGetEventTarget, _HIObjectIsAccessibilityIgnored, _HIObjectIsArchivingIgnored, _HIObjectIsOfClass, _HIObjectOverrideAccessibilityContainment, _HIObjectPrintDebugInfo, _HIObjectRegisterSubclass, _HIObjectRemoveDelegate, _HIObjectSetAccessibilityIgnored, _HIObjectSetAuxiliaryAccessibilityAttribute, _HIObjectUnregisterClass, _HIPointConvert, _HIRectConvert, _HIScrollViewCreate, _HIScrollViewGetAllowGrow, _HIScrollViewGetScrollBarAutoHide, _HIScrollViewSetAllowGrow, _HIScrollViewSetScrollBarAutoHide, _HISearchFieldChangeAttributes, _HISearchFieldCreate, _HISearchFieldGetAttributes, _HISearchWindowShow, _HISegmentedViewChangeSegmentAttributes, _HISegmentedViewGetSegmentBehavior, _HISegmentedViewGetSegmentCommand, _HISegmentedViewGetSegmentCount, _HISegmentedViewIsSegmentEnabled, _HISegmentedViewSetSegmentBehavior, _HISegmentedViewSetSegmentCommand, _HISegmentedViewSetSegmentContentWidth, _HISegmentedViewSetSegmentCount, _HISegmentedViewSetSegmentEnabled, _HISegmentedViewSetSegmentImage, _HISizeConvert, _HITextViewCreate, _HITextViewGetTXNObject, _HIThemeApplyBackground, _HIThemeBeginFocus, _HIThemeBrushCreateCGColor, _HIThemeDrawBackground, _HIThemeDrawButton, _HIThemeDrawChasingArrows, _HIThemeDrawFocusRect, _HIThemeDrawFrame, _HIThemeDrawGenericWell, _HIThemeDrawGrabber, _HIThemeDrawGroupBox, _HIThemeDrawGrowBox, _HIThemeDrawHeader, _HIThemeDrawMenuBackground, _HIThemeDrawMenuBarBackground, _HIThemeDrawMenuItem, _HIThemeDrawMenuSeparator, _HIThemeDrawMenuTitle, _HIThemeDrawPaneSplitter, _HIThemeDrawPlacard, _HIThemeDrawPopupArrow, _HIThemeDrawScrollBarDelimiters, _HIThemeDrawSegment, _HIThemeDrawSeparator, _HIThemeDrawTab, _HIThemeDrawTabPane, _HIThemeDrawTextBox, _HIThemeDrawTickMark, _HIThemeDrawTitleBarWidget, _HIThemeDrawTrack, _HIThemeDrawTrackTickMarks, _HIThemeDrawWindowFrame, _HIThemeEndFocus, _HIThemeGetButtonBackgroundBounds, _HIThemeGetButtonContentBounds, _HIThemeGetButtonShape, _HIThemeGetGrowBoxBounds, _HIThemeGetMenuBackgroundShape, _HIThemeGetScrollBarTrackRect, _HIThemeGetTabDrawShape, _HIThemeGetTabPaneContentShape, _HIThemeGetTabPaneDrawShape, _HIThemeGetTabShape, _HIThemeGetTextColorForThemeBrush, _HIThemeGetTextDimensions, _HIThemeGetTrackBounds, _HIThemeGetTrackDragRect, _HIThemeGetTrackLiveValue, _HIThemeGetTrackPartBounds, _HIThemeGetTrackParts, _HIThemeGetTrackThumbPositionFromBounds, _HIThemeGetTrackThumbPositionFromOffset, _HIThemeGetTrackThumbShape, _HIThemeGetUIFontType, _HIThemeGetWindowRegionHit, _HIThemeGetWindowShape, _HIThemeHitTestScrollBarArrows, _HIThemeHitTestTrack, _HIThemeSetFill, _HIThemeSetStroke, _HIThemeSetTextFill, _HIThemeSetTextStroke, _HIToolbarAppendItem, _HIToolbarChangeAttributes, _HIToolbarCopyItems, _HIToolbarCreate, _HIToolbarCreateItemWithIdentifier, _HIToolbarGetDisplayMode, _HIToolbarGetDisplaySize, _HIToolbarItemChangeAttributes, _HIToolbarItemChangeAttributesInWindow, _HIToolbarItemCopyIdentifier, _HIToolbarItemCreate, _HIToolbarItemGetCommandID, _HIToolbarItemGetToolbar, _HIToolbarItemSetCommandID, _HIToolbarItemSetHelpText, _HIToolbarItemSetIconRef, _HIToolbarItemSetLabel, _HIToolbarItemSetMenu, _HIToolbarRemoveItemAtIndex, _HIToolbarSetDelegate, _HIToolbarSetDisplayMode, _HIToolbarSetDisplaySize, _HIViewAddSubview, _HIViewAdvanceFocus, _HIViewApplyLayout, _HIViewChangeFeatures, _HIViewConvertPoint, _HIViewConvertRect, _HIViewCopyText, _HIViewCountSubviews, _HIViewCreateOffscreenImage, _HIViewDisposeTrackingArea, _HIViewDrawCGImage, _HIViewFindByID, _HIViewFlashDirtyArea, _HIViewGetBounds, _HIViewGetCommandID, _HIViewGetFeatures, _HIViewGetFirstSubview, _HIViewGetFocus, _HIViewGetFocusPart, _HIViewGetFrame, _HIViewGetID, _HIViewGetIndexedSubview, _HIViewGetKind, _HIViewGetLayoutInfo, _HIViewGetMaximum, _HIViewGetMinimum, _HIViewGetNextView, _HIViewGetOptimalBounds, _HIViewGetRoot, _HIViewGetSuperview, _HIViewGetThemeTextInfo, _HIViewGetTrackingAreaID, _HIViewGetValue, _HIViewGetViewForMouseEvent, _HIViewGetViewSize, _HIViewGetWindow, _HIViewIsActive, _HIViewIsCompositingEnabled, _HIViewIsDrawingEnabled, _HIViewIsEnabled, _HIViewIsLatentlyVisible, _HIViewIsLayoutActive, _HIViewIsLayoutLatentlyActive, _HIViewIsVisible, _HIViewMoveBy, _HIViewNewTrackingArea, _HIViewRegionChanged, _HIViewRemoveFromSuperview, _HIViewRender, _HIViewResumeLayout, _HIViewScrollRect, _HIViewSetActivated, _HIViewSetBoundsOrigin, _HIViewSetCommandID, _HIViewSetDrawingEnabled, _HIViewSetEnabled, _HIViewSetFocus, _HIViewSetFrame, _HIViewSetHilite, _HIViewSetID, _HIViewSetLayoutInfo, _HIViewSetMaximum, _HIViewSetMinimum, _HIViewSetNeedsDisplay, _HIViewSetNeedsDisplayInRect, _HIViewSetNeedsDisplayInShape, _HIViewSetSubviewsNeedDisplayInShape, _HIViewSetText, _HIViewSetTextFont, _HIViewSetTextHorizontalFlush, _HIViewSetTextTruncation, _HIViewSetTextVerticalFlush, _HIViewSetValue, _HIViewSetViewSize, _HIViewSetVisible, _HIViewSetZOrder, _HIViewSimulateClick, _HIViewSubtreeContainsFocus, _HIViewSuspendLayout, _HIWindowChangeAttributes, _HIWindowChangeClass, _HIWindowChangeFeatures, _HIWindowCopyAvailablePositioningShape, _HIWindowFindAtLocation, _HIWindowFlush, _HIWindowFromCGWindowID, _HIWindowGetAvailablePositioningBounds, _HIWindowGetBounds, _HIWindowGetCGWindowID, _HIWindowGetGreatestAreaDisplay, _HIWindowGetScaleMode, _HIWindowIsDocumentModalTarget, _HIWindowSetBottomBarHeight, _HIWindowTestAttribute, _HMAreHelpTagsDisplayed, _HMGetTagDelay, _HMInstallControlContentCallback, _HMSetControlHelpContent, _HMSetHelpTagsDisplayed, _HMSetMenuItemHelpContent, _HMSetTagDelay, _HandleControlSetCursor, _HideControl, _HideMenuBar, _HideSheetWindow, _HideWindow, _HiliteControl, _HiliteMenu, _HiliteWindow, _IMKBaselineKey, _IMKChromaticMarkedTextAttributeName, _IMKDictationHilightAttributeName, _IMKDictationHilightHypothesisDeltaAttributeName, _IMKDictationInsertionUndoableAttributeName, _IMKIronwoodTextAlternativeCorrectedKey, _IMKIronwoodTextAlternativeCorrectionIDKey, _IMKIronwoodTextAlternativeOriginalKey, _IMKIronwoodTextAlternativesAttributeName, _IMKIronwoodTextAlternativesKey, _IMKLineAscentKey, _IMKLineHeightKey, _IMKTextOrientationName, _INIT_ScriptHL, _InitDataBrowserCallbacks, _InitDataBrowserCustomCallbacks, _InsertMenu, _InsertMenuItemTextWithCFString, _InstallEventHandler, _InstallEventLoopIdleTimer, _InstallEventLoopTimer, _InstallEventLoopTimerInMode, _InstallInputSourceMgrHandlers, _InstallStandardEventHandler, _IntlCountResources, _IntlGetIndexedResInfo, _IntlGetScriptCustomResourceID, _IntlGetValue, _IntlResourceIDToScriptCode, _IntlSetValue, _InvalMenuBar, _InvalidateMenuBarFilter, _InvalidateMenuItems, _InvalidateMenuSize, _IsAutomaticControlDragTrackingEnabledForWindow, _IsCmdChar, _IsControlActive, _IsControlDragTrackingEnabled, _IsControlHilited, _IsControlVisible, _IsCurrentTSMDocumentUnicode, _IsDataBrowserItemSelected, _IsEventInInstantMouser, _IsEventInQueue, _IsMenuBarVisible, _IsMenuItemEnabled, _IsMenuKeyEvent, _IsMenuSizeInvalid, _IsMouseCoalescingEnabled, _IsSecureEventInputEnabled, _IsShowContextualMenuEvent, _IsUserCancelEventRef, _IsValidControlHandle, _IsValidMenu, _IsValidWindowPtr, _IsWindowActive, _IsWindowCollapsed, _IsWindowHilited, _IsWindowInStandardState, _IsWindowLatentVisible, _IsWindowPathSelectEvent, _IsWindowToolbarVisible, _IsWindowVisible, _KBGetLayoutType, _KLCreateKCAPDataForKbdType, _KeyEventMatchesMenuItem, _KeyTranslate, _LMGetKbdLast, _LMGetKbdType, _LMGetKeyRepThresh, _LMGetKeyThresh, _LMSetKbdLast, _LMSetKbdType, _LMSetKeyRepThresh, _LMSetKeyThresh, _LaunchAppleCharacterPalette, _MenuEvent, _MenuSelect, _MoveControl, _MoveWindow, _MoveWindowStructure, _NMInstall, _NMRemove, _NewTSMDocument, _OpenThemeResFileMapped, _ParamText, _PopSymbolicHotKeyMode, _PopUpMenuSelect, _PostEvent, _PostEventToQueue, _PostEventToQueueInternal, _PostFakeMenuSelectionEvent, _ProcessHICommand, _ProcessInputSourceSwitchEventCandidate, _ProcessInputSourceSwitchKeySequenceCandidate, _PushSymbolicHotKeyMode, _QuitAppModalLoopForWindow, _QuitApplicationEventLoop, _QuitEventLoop, _ReceiveNextEvent, _RegisterEventHotKey, _RegisterSystemToolboxListenerWithOptions, _ReleaseEvent, _RemoveControlProperty, _RemoveDataBrowserItems, _RemoveEventFromQueue, _RemoveEventHandler, _RemoveEventLoopTimer, _RemoveEventParameter, _RemoveEventTypesFromHandler, _RemoveMenuItemProperty, _RemoveWindowProperty, _RemoveWindowProxy, _RepositionWindow, _RetainEvent, _RevealDataBrowserItem, _RunAppModalLoopForWindow, _RunApplicationEventLoop, _RunCurrentEventLoop, _RunStandardAlert, _SelectWindow, _SendBehind, _SendEventToEventTarget, _SendEventToEventTargetWithOptions, _SendTextInputEvent, _SendWindowGroupBehind, _SetAnimatedThemeCursor, _SetApplicationDockTileMenu, _SetAutomaticControlDragTrackingEnabledForWindow, _SetBevelButtonContentInfo, _SetCocoaAccessibilityCallbacks, _SetControlAction, _SetControlCommandID, _SetControlData, _SetControlDragTrackingEnabled, _SetControlFontStyle, _SetControlID, _SetControlProperty, _SetControlTitleWithCFString, _SetControlValue, _SetControlVisibility, _SetDataBrowserCallbacks, _SetDataBrowserCustomCallbacks, _SetDataBrowserItemDataIcon, _SetDataBrowserItemDataText, _SetDataBrowserPropertyFlags, _SetDataBrowserSelectedItems, _SetDataBrowserSelectionFlags, _SetDataBrowserSortProperty, _SetDataBrowserTableViewColumnPosition, _SetDataBrowserTableViewColumnWidth, _SetDataBrowserTableViewGeometry, _SetDataBrowserTableViewNamedColumnWidth, _SetDialogItemRectangle, _SetDialogTimeout, _SetEventLoopTimerNextFireTime, _SetEventParameter, _SetEventTime, _SetItemMark, _SetItemStyle, _SetKeyboardFocus, _SetMenuBarFromNib, _SetMenuDefinition, _SetMenuExcludesMarkColumn, _SetMenuItemCommandID, _SetMenuItemCommandKey, _SetMenuItemHierarchicalMenu, _SetMenuItemIconHandle, _SetMenuItemIndent, _SetMenuItemKeyGlyph, _SetMenuItemModifiers, _SetMenuItemProperty, _SetMenuItemRefCon, _SetMenuItemTextWithCFString, _SetMenuTitleIcon, _SetMenuTitleWithCFString, _SetModalDialogEventMask, _SetMouseCoalescingEnabled, _SetNextMenu, _SetRootMenu, _SetSystemAppMenuSectionAllowed, _SetSystemUIMode, _SetThemeCursor, _SetThemeWindowBackground, _SetUserFocusWindow, _SetWindowActivationScope, _SetWindowAlternateTitle, _SetWindowBounds, _SetWindowCancelButton, _SetWindowDefaultButton, _SetWindowGroup, _SetWindowGroupLevel, _SetWindowIdealUserState, _SetWindowModality, _SetWindowModified, _SetWindowProperty, _SetWindowProxyAlias, _SetWindowProxyIcon, _SetWindowResizeLimits, _SetWindowTitleWithCFString, _SetWindowToolbar, _ShowControl, _ShowHide, _ShowHideWindowToolbar, _ShowMenuBar, _ShowSheetWindow, _ShowWindow, _SizeControl, _SizeWindow, _StdFilterProc, _SyncWindowToCGSWindow, _TISCapsLockSwitchShouldKeyboardLayoutUseAlternateForModifiers, _TISCopyCurrentASCIICapableKeyboardInputSource, _TISCopyCurrentASCIICapableKeyboardLayoutInputSource, _TISCopyCurrentKeyboardInputSource, _TISCopyCurrentKeyboardLayoutInputSource, _TISCopyCurrentNonRomanInputSourceForRomanSwitch, _TISCopyInputMethodKeyboardLayoutOverride, _TISCopyInputSourceForLanguage, _TISCopyInputSourceRefForInputSourceID, _TISCopyInputSourcesForAttachedKeyboardsFilteredByLocale, _TISCreateASCIICapableInputSourceList, _TISCreateCompressedInfoStringForInputSource, _TISCreateDefaultASCIIInputSourceForLocale, _TISCreateInputSourceList, _TISCreatePrunedPreferredInputSourcesWithABC, _TISCreateSecureKeyboardInputSourceList, _TISDeselectInputSource, _TISDisableInputSource, _TISEnableInputSource, _TISEnableInputSourceWithOptions, _TISGetAppleKeyLayoutCount, _TISGetAppleKeyLayoutIndexForKeyLayoutName, _TISGetAppleKeyLayoutIndexForNumericID, _TISGetAppleKeyLayoutKLPropertyAtIndex, _TISGetDictationShouldAutoEnable, _TISGetFnUsageType, _TISGetGestureHandwritingState, _TISGetInputSourceProperty, _TISHardwareSupportsGestureHandwriting, _TISInputMethodDataFileReaderCreateBasicProperties, _TISInputMethodDataFileReaderCreatePropertyListAndWordList, _TISInputSourceGetTypeID, _TISIsKeyboardLayoutCapsLockSwitchAllowed, _TISIsKeyboardLayoutCapsLockSwitched, _TISIsRomanSwitchAllowed, _TISIsRomanSwitchEnabled, _TISKeyboardLayoutInputSourceIsQWERTY, _TISLaunchCharacterPalette, _TISPerformInputMethodDependentBlockDuringWorkBlock, _TISPrefsCopyCurrentKeyboardLayoutID, _TISPrefsUserSnapshotCopyForMachinePrefs, _TISRegisterInputSource, _TISSelectInputSource, _TISSetDefaultAsciiCapableKeyboardLayoutInputSource, _TISSetDictationShouldAutoEnable, _TISSetExtensionsForIntlFileCacheUpdate, _TISSetGestureHandwritingState, _TISSetInputMethodKeyboardLayoutOverride, _TISSetRomanSwitchState, _TISUpdateFnUsageType, _TISUpdateIntlFileCache, _TISUpdaterEnsureKotoeriHiraganaModeForSUMavericks, _TISUpdaterMigrateDictationAutoEnableFromSpeechRecognition, _TISUpdaterMigrateKotoeriToJapaneseIM, _TISUpdaterMigratePrefsFromByHostDomain, _TISWriteKeyLayoutCollection, _TSMCanChangeInputSourceEnabledState, _TSMCopyTextInputGlobalProperty, _TSMCreateInputSourceForKeyboardLayoutRef, _TSMCreateInputSourceRefForIndex, _TSMCurrentKeyboardInputSourceRefCreate, _TSMDefaultAsciiCapableKeyboardLayoutCopy, _TSMDeselectInputSource, _TSMDisableInputSource, _TSMEnableInputSource, _TSMGetActiveDocument, _TSMGetDeadKeyState, _TSMGetDocumentProperty, _TSMGetInputSourceCount, _TSMGetInputSourceProperty, _TSMGetIronwoodSessionState, _TSMInvalidateClientGeometry, _TSMIsInkWithMouseEnabled, _TSMIsInputSourceAsciiCapable, _TSMIsPressAndHoldActive, _TSMKeyTranslateWithInputSource, _TSMProcessIronwoodSessionAction, _TSMProcessMouseEvent, _TSMProcessMouseEventWithCompletionHandler, _TSMProcessRawKeyCode, _TSMProcessRawKeyEvent, _TSMProcessRawKeyEventWithCompletionHandler, _TSMProcessRawKeyEventWithOptionsAndCompletionHandler, _TSMProcessTabletEvent, _TSMRecentInputSourcesCreate, _TSMRemoveDocumentProperty, _TSMSelectInputSource, _TSMSetCurrentAsciiCapableInputSource, _TSMSetDeadKeyState, _TSMSetDocumentProperty, _TSMSetInkWithMouseEnabled, _TSMSetInputMethodProperty, _TSMSetTextInputGlobalProperty, _TSMShouldTextInputMenuBeDisplayed, _TSMUnrestrictInputSourceAccess, _TSMUpgradePrefBundleIDsToLeopard, _TSMUpgradeScriptMgrPrefsToInputSourcePrefs, _TXNAdjustCursor, _TXNClear, _TXNCopy, _TXNDataSize, _TXNGetData, _TXNGetHIRect, _TXNGetIndexedRunInfoFromRange, _TXNGetSelection, _TXNIsScrapPastable, _TXNPaste, _TXNSelectAll, _TXNSetData, _TXNSetDataFromCFURLRef, _TXNSetHIRectBounds, _TXNSetSelection, _TXNSetTXNObjectControls, _TXNShowSelection, _TestWindowLiveResizePerformance, _TrackWindowProxyFromExistingDrag, _TransitionWindow, _TransitionWindowWithOptions, _TruncateThemeText, _UnregisterEventHotKey, _UseInputWindow, _WaitNextEvent, _WindowPathSelect, __AcquireMatchingCGEvent, __AcquireMatchingCGEventInQueue, __AcquireNextEvent, __BeginAppModalState, __BeginEventReceiptOnThread, __BlockUntilNextEventMatchingListInModeWithFilter, __CancelMenuTracking, __CheckForMenuCancelEvent, __CloseMenu, __ContextualMenuInsertItems, __ConvertMatchingCGEvents, __CopyCGEventAssociatedData, __CopyMenuItemDataU, __CopyMenuItemTextAsCFStringU, __CountMenuItemsU, __CreateFlattenedInputSource, __CreateInputModeArrayForInputMethodInUIOrder, __CreateInputModeArrayForInputMethodInUIOrderWithOptions, __CreatePrivateDialogRefAndBindToWindowRef, __CreateUnflattenedInputSource, __DeclineBackgroundMouseMovedEvents, __EndAppModalState, __EndEventReceiptOnThread, __EventQueueSetEventLimit, __FlattenMenuItems2, __GetActiveSystemUIMode, __GetActiveSystemUIModeAndOptions, __GetAggregateUIMode, __GetAllEventsOfClass, __GetCurrentMenuContext, __GetDefaultMenuFont, __GetMenuItemBoundsU, __GetMenuItemHierarchicalMenuU, __GetMenuMinimumWidth, __GetMenuTitleBounds, __GetOpenMenuDirection, __GetSymbolicHotKeyValue, __GetSymbolicHotKeyValue2, __GetWindowCGContext, __GetWindowCGOrderingEnabled, __GetWindowReshapingEnabled, __GetWindowZOrderingEnabled, __HIBevelButtonRegisterClass, __HIChasingArrowsRegisterClass, __HICheckBoxRegisterClass, __HIDisableSuddenTerminationForSendEvent, __HIDisclosureButtonRegisterClass, __HIDisclosureTriangleRegisterClass, __HIEnableAutomaticTerminationIfRequestedByPlist, __HIEnableSuddenTerminationForSendEvent, __HIEnableSuddenTerminationIfRequestedByPlist, __HIFullScreenAnimationFinished, __HIFullScreenAnimationPrepare, __HIIconViewRegisterClass, __HIIsSuddenTerminationDisabledForSendEvent, __HIMagnifiedMode, __HIMenuBarGetAppearance, __HIMenuBarGetReveal, __HIMenuBarGetTransitionDuration, __HIMenuBarPositionLock, __HIMenuBarPositionUnlock, __HIMenuBarRequestVisibility, __HIMenuBarSetAppearanceOverride, __HIMenuBarSetAutoHideHeight, __HIMenuBarSetAutoShowDelay, __HIMenuBarSetTransitionDuration, __HIMenuBarShowAsPopupFromKeyboard, __HIMenuCopyItemViewClass, __HIMenuCreateConfiguredMarkImage, __HIMenuDisableAutoDismissal, __HIMenuEnableAutoDismissal, __HIMenuGetBackgroundBleed, __HIMenuGetCommandKey, __HIMenuGetContentDirectionality, __HIMenuGetContentSize, __HIMenuGetEffectiveDirectionality, __HIMenuGetItemView, __HIMenuGetMenuBarHeight, __HIMenuGetMenuBarHeightWithOptions, __HIMenuGetNewItemsCount, __HIMenuIsCarbonMenuKeyEvent, __HIMenuIsDark, __HIMenuPerformKeyboardNavigation, __HIMenuSendItemSelectedEvent, __HIMenuSetCommandKey, __HIMenuSetContentDirectionality, __HIMenuSetContentSize, __HIMenuSetEventProc, __HIMenuSetIndentWidth, __HIMenuSetItemIndent, __HIMenuSetItemViewClass, __HIMenuSetNSImageInterface, __HIMenuSetNewItemsCount, __HIMenuUseBackdrops, __HIMenuViewRegisterClass, __HIPopupButtonRegisterClass, __HIPresentationInstanceCreateForFullScreenSpace, __HIPresentationInstanceCreateWithFullScreenMode, __HIPresentationInstanceDisplayDidChange, __HIPresentationInstanceRelease, __HIPresentationInstanceSetAutoHideHeight, __HIPresentationInstanceSetSpace, __HIPresentationInstanceSetUIMode, __HIPresentationInstanceStartMenuBarAnimation, __HIProgressBarRegisterClass, __HIPushButtonRegisterClass, __HIRadioGroupRegisterClass, __HIRawObjectRegisterClass, __HIRegisterAEWillInteractProc, __HIRoundButtonRegisterClass, __HIScrollViewRegisterClass, __HISegmentViewRegisterClass, __HISegmentViewSetIsInset, __HIShrinkToFitEditRegisterClass, __HISliderRegisterClass, __HIStandardMenuViewRegisterClass, __HIStaticTextViewRegisterClass, __HIStdAppHandlerRegisterClass, __HIStdEventLoopRegisterClass, __HITextFieldRegisterClass, __HITextViewRegisterClass, __HIThemeCreateImage, __HIThemeDrawAppleMenuTitle, __HIThemeDrawSegment, __HIThemeDrawSelectionMarquee, __HIThemeDrawWell, __HIThemeGetChasingArrowDimensions, __HIThemeGetLegacyModeEnabled, __HIThemeGetMenuBarLogoRect, __HIThemeGetMenuCalloutDimensions, __HIThemeGetWindowGrowSides, __HIThemeGetWindowTitleBaselineOffset, __HIThemeRefreshPreferences, __HIThemeSetColor, __HIThemeSetDrawingCallback, __HIThemeSetTextColor, __HIToolbarItemRegisterClass, __HIToolbarViewRegisterClass, __HIViewAdvanceFocusFollowingView, __HIViewCopyVisibleShape, __HIViewNotifySetFocusPart, __HIViewRegisterClass, __HIViewScrollRectWithOptions, __HIWindowFrameViewRegisterClass, __HIWindowSetAutoReleaseFocus, __HIWindowSetNeedsQDPrepWhenDrawingViews, __HLTBAddEventSourceToMode, __HLTBRemoveEventSourceFromMode, __HandleHelpSymbolicHotKey, __HandleMenuSelection, __HandlePopUpMenuSelection7, __HandlePopUpMenuSelectionWithDictionary, __HiliteMenuTitle, __InstallEventLoopObserver, __InvalidateAllEnabledInputSourceState, __InvalidateAllInputSourceState, __InvalidateAllSelectedInputSourceState, __IsFullTabbingEnabled, __IsMenuAlreadyPopulated, __IsMenuItemEnabledU, __IsSymbolicHotKeyEvent, __LoadPerformanceMenu, __MenuIterCreate, __MenuIterFirst, __MenuIterNext, __MenuIterRelease, __NotifyEventLoopObservers, __OpenMenuWithOptions, __OpenSubmenuFromItem, __OpenSubmenuFromItemWithOptions, __PostCGEventToQueue, __PushMouseCoalescingState, __QuitAppModalLoop, __RegisterSharedDockClientWithRunLoop, __RemoveCGEventFromQueue, __RemoveEventLoopObserver, __RemoveMouseCoalescingState, __RequestBackgroundMouseMovedEvents, __RunAppModalLoop, __SetAppleMenuEnabled, __SetAppleMenuInstallerMode, __SetBaroloFullScreenModeUIMode, __SetCGEventAssociatedData, __SetCGEventConversionFilter, __SetDefaultMenuFont, __SetFullTabbingEnabled, __SetJavaThreadHook, __SetMenuCallout, __SetMenuItemIconSize, __SetMenuMinimumWidth, __SetMenuTrackingShouldReraiseNSExceptions, __SetMenuWindowLevel, __SetOpenMenuOrigin, __SetWindowCGOrderingEnabled, __SetWindowReshapingEnabled, __SetWindowZOrderingEnabled, __SimulateMenuClosed, __SimulateMenuOpening, __SimulateMenuSelection, __SimulateMenuSelectionU, __StartSystemUIModeMenuBarAnimation, __SyncWindowWithCGAfterMove, __TISCopyParentInputMethodForInputSource, __TISCreateEnabledInputSourcePrefs, __TISGetPhysicalKeyboardLanguage, __TISRestrictToReadOnlyMachinePrefs, __TISUpdateEnabledInputSourcePrefs, __TSMCopySelectableInputSourcesInUIOrder, __TSMInvalidateDocumentClient, __TSMIsRemoteViewAccessoryView, __TSMIsRemoteViewKeyEquivalentHandling, __TSMParentInputMethodInputSourceForInputModeCreate, __TSMRegisterRemoteViewClient, __TSMRemoteViewActivationIsOn, __TSMSetRemoteViewActivation, __TSMSetRemoteViewIsAccessoryView, __TSMSetRemoteViewKeyEquivalentHandling, __TSMWouldEventBeProcessedByPressAndHold, ___CDCreateScreenFramesDictionaryRepresentation, ___CoreDragAnimateOrderOut, ___CoreDragAutoScaleSourceDragComponents, ___CoreDragBeginDropAnimationTransaction, ___CoreDragBeginFlockingAnimation, ___CoreDragBeginSlideBackAnimation, ___CoreDragBeginUnflockingAnimation, ___CoreDragCancelDropAnimationTransaction, ___CoreDragCancelOutstandingFlockingAnimation, ___CoreDragClearAllImageOverrides, ___CoreDragCommitDropAnimationTransaction, ___CoreDragCreateCFStringFromCGEvent, ___CoreDragCreateDictionaryRepOfLayerTree, ___CoreDragCreateImageData, ___CoreDragCreateImageDataFromCFDictionary, ___CoreDragCreateImageDataWithComponentsBlock, ___CoreDragCreateImageDataWithImage, ___CoreDragGetValueForKey, ___CoreDragHasImageOverrides, ___CoreDragImageDataCreateDictionaryRepresentation, ___CoreDragImageDataDeleteSlotForCAContext, ___CoreDragImageDataGetComponentsBlock, ___CoreDragImageDataGetItemRef, ___CoreDragImageDataSet, ___CoreDragItemGetImageComponents, ___CoreDragItemGetImageData, ___CoreDragItemGetScreenFrame, ___CoreDragItemHasAlternate, ___CoreDragItemSetImageComponents, ___CoreDragReleaseImageData, ___CoreDragResetAutoScaleSourceDragComponents, ___CoreDragSetDestClippingRect, ___CoreDragSetRootCALayer, ___CoreDragSetSourceClippingRect, ___CoreDragSetValueForKey, ___CoreDragSetupDragImageLayers, ___CoreDragUpdateClippingSuperLayer, ___CoreDragUpdateDragLayerContent, ___CoreDragUpdateFlockingFormation, ___CoreDragUpdateLayerPositions, ___DisposeLayerBackedSurfaceAndRender, ___DragInfoCopyFilterParams, ___DragInfoPtrClearAllImageOverrides, ___DragInfoPtrCreateDictionaryRepresentationForImageData, ___DragInfoPtrGetCAContext, ___DragInfoPtrGetComponentDataForItem, ___DragInfoPtrGetImageDataForItem, ___DragInfoPtrHasImageOverrides, ___DragInfoPtrImageDataCount, ___DragInfoPtrMergeRemoteOverrides, ___DragInfoPtrMergeSourceImagesForDestinationContext, ___DragInfoPtrSetDestClippingRect, ___DragInfoPtrSetValueForKey, ___DragInfoSetAlpha, ___InitLayerBackedDragWindow, _kHIDelegateAfterKey, _kHIDelegateBeforeKey, _kHIObjectCustomDataClassIDKey, _kHIObjectCustomDataDelegateGroupParametersKey, _kHIObjectCustomDataParameterNamesKey, _kHIObjectCustomDataParameterTypesKey, _kHIObjectCustomDataParameterValuesKey, _kHIObjectCustomDataSuperClassIDKey, _kHIObjectInitParamDescription, _kHIObjectInitParamEventName, _kHIObjectInitParamEventType, _kHIObjectInitParamUserName, _kHITextViewClassID, _kHIToolboxVersionNumber, _kHIViewMenuContentID, _kHIViewWindowContentID, _kHIViewWindowGrowBoxID, _kIMKRequestInputMethodsCheckinEndpoints, _kIMKXPCPrivateRunLoopMode, _kTISAppleCharacterPaletteInputSourceID, _kTISAppleChineseHandwritingInputSourceID, _kTISAppleEmojiDFRPaletteInputSourceID, _kTISAppleJapaneseKanaPaletteInputSourceID, _kTISAppleKeyboardViewerPaletteInputSourceID, _kTISApplePressAndHoldInputSourceID, _kTISAppleSyntheticRomanModeInputSourceID, _kTISCategoryInkInputSource, _kTISCategoryKeyboardInputSource, _kTISCategoryPaletteInputSource, _kTISIterationPropertyPreferredInputSourceLocalePart, _kTISNotifyEnabledKeyboardInputSourcesChanged, _kTISNotifyEnabledNonKeyboardInputSourcesChanged, _kTISNotifyHandwritingInputSourceChanged, _kTISNotifyInstalledInputSourcesChanged, _kTISNotifyIronwoodAutoEnableChanged, _kTISNotifySelectedKeyboardInputSourceChanged, _kTISPlistKeyCapsLockIsSwitch, _kTISPlistKeyCapsLockIsSwitchToIMRomanMode, _kTISPlistKeyDoubleSpaceSubstitution, _kTISPlistKeyHandwritingLanguages, _kTISPlistKeyIconLabels, _kTISPlistKeyIconShouldBeTemplate, _kTISPlistKeyInputSourceID, _kTISPlistKeyIntendedLanguage, _kTISPlistKeyParticipatesInTouchBar, _kTISPropertyAlternateIconImage, _kTISPropertyBundleID, _kTISPropertyDataFileProperties, _kTISPropertyDataFileWordList, _kTISPropertyHandwritingLanguages, _kTISPropertyHandwritingLocalizedNames, _kTISPropertyIconFamilyOrURL, _kTISPropertyIconImage, _kTISPropertyIconImageURL, _kTISPropertyIconRef, _kTISPropertyIconShouldBeTemplate, _kTISPropertyInputModeID, _kTISPropertyInputSourceCategory, _kTISPropertyInputSourceDoesCapsLockSwitch, _kTISPropertyInputSourceDoesCapsLockSwitchToRomanMode, _kTISPropertyInputSourceDoubleSpaceSubstitution, _kTISPropertyInputSourceID, _kTISPropertyInputSourceIconLabels, _kTISPropertyInputSourceIsASCIICapable, _kTISPropertyInputSourceIsEnableCapable, _kTISPropertyInputSourceIsEnabled, _kTISPropertyInputSourceIsFromSystem, _kTISPropertyInputSourceIsInvisible, _kTISPropertyInputSourceIsSelectCapable, _kTISPropertyInputSourceIsSelected, _kTISPropertyInputSourceLanguages, _kTISPropertyInputSourceLocalePartsForPreferred, _kTISPropertyInputSourceOverrideCapsLockDelay, _kTISPropertyInputSourceParticipatesInTouchBar, _kTISPropertyInputSourceType, _kTISPropertyIntendedLanguage, _kTISPropertyKeyLayoutName, _kTISPropertyKeyLayoutNumber, _kTISPropertyLocale, _kTISPropertyLocalizedName, _kTISPropertyRepertoireSetPattern, _kTISPropertyScriptCode, _kTISPropertyUSBCountry, _kTISPropertyUnicodeKeyLayoutData, _kTISTypeCharacterPalette, _kTISTypeInk, _kTISTypeKeyboardInputMethodModeEnabled, _kTISTypeKeyboardInputMethodWithoutModes, _kTISTypeKeyboardInputMode, _kTISTypeKeyboardLayout, _kTISTypeKeyboardSyntheticRomanMode, _kTISTypeKeyboardViewer ] reexports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _ShowHideProcess ] --- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: EE5FA0C7-753F-3232-8D72-F9E834BF16C0 - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 3C094BDD-B284-36F4-917D-F3DFB2CD4319 install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help' current-version: 71 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon allowable-clients: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] clients: [ PrintingUI ] exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _AHGotoApplicationHelp, _AHGotoMainTOC, _AHGotoPage, _AHLookupAnchor, _AHRegisterHelpBook, _AHRegisterHelpBookWithURL, _AHSearch, _AppendEncodingHint, _CFStringToCString, _CopyBookDetails, _CreateBookDetailsFromAppBundle, _CreateBookDetailsFromAppBundleAtIndex, _CreateBookDetailsWithBookNameAndID, _EscapeMacCharacters, _MacPathToURLPath, _kANCHOR, _kBOOKID, _kDEFAULT_BUNDLE_ID, _kFILE, _kOPENBOOK, _kSEARCH, _kSEARCHALL, _kSTRING ] --- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 4FFADD43-2EC1-3A67-8C43-5E7EB7D73554 - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 963345BE-8865-34F5-9500-6752AF50A1B3 install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture' current-version: 5 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _ICACloseSession, _ICAConvertJPEGDataToICADataInPlace, _ICAConvertTIFFDataToICADataInPlace, _ICACopyMatchingDeviceDictionaries, _ICACopyObjectData, _ICACopyObjectPropertyDictionary, _ICACopyObjectThumbnail, _ICACopyParameterBlockPtrForAsyncCall, _ICACreateCutsomIconForImageAtPath, _ICACreateJPEGThumbnailDataFromURL, _ICADictionaryApplierFunction, _ICADoMacho2CFMConversion, _ICADownloadFile, _ICADownloadFileWithOptions, _ICAElapsedTime, _ICAGetBehaviorFlags, _ICAGetChildCount, _ICAGetDateFromSeconds, _ICAGetDateFromSecondsSince1904, _ICAGetDateFromSecondsSince1970, _ICAGetDeviceList, _ICAGetEXIFDateCStringFromSecondsSince1904, _ICAGetEXIFDateCStringFromSecondsSince1970, _ICAGetEXIFUTCDateCStringFromSecondsSince1904, _ICAGetEXIFUTCDateCStringFromSecondsSince1970, _ICAGetICAObjectForFile, _ICAGetICAObjectFromDict, _ICAGetLongValueFromDict, _ICAGetNthChild, _ICAGetNthProperty, _ICAGetObjectInfo, _ICAGetObjectRefCon, _ICAGetParentOfObject, _ICAGetParentOfProperty, _ICAGetPropertyByType, _ICAGetPropertyCount, _ICAGetPropertyData, _ICAGetPropertyInfo, _ICAGetPropertyRefCon, _ICAGetRootOfObject, _ICAGetRootOfProperty, _ICAGetSInt16ValueFromDict, _ICAGetSInt32ValueFromDict, _ICAGetSInt64ValueFromDict, _ICAGetUTCDateFromDateCString, _ICAGetUTCDateFromSeconds, _ICAGetUTCDateFromSecondsSince1904, _ICAImportImage, _ICALoadDeviceModule, _ICAObjectSendMessage, _ICAOpenSession, _ICARegisterEventNotification, _ICARegisterForEventNotification, _ICAScannerCloseSession, _ICAScannerGetParameters, _ICAScannerInitialize, _ICAScannerOpenSession, _ICAScannerSetParameters, _ICAScannerStart, _ICAScannerStatus, _ICASetBehaviorFlags, _ICASetICAObjectInDict, _ICASetLongValueInDict, _ICASetObjectRefCon, _ICASetPropertyData, _ICASetPropertyRefCon, _ICASetSInt16ValueInDict, _ICASetSInt32ValueInDict, _ICASetSInt64ValueInDict, _ICASetUTF8StringInDict, _ICASharedMemoryCreate, _ICASharedMemoryDestroy, _ICASharedMemoryMap, _ICASharedMemoryUnmap, _ICAShowDeviceBrowser, _ICAUnloadDeviceModule, _ICAUpdateDeviceDictionary, _ICAUploadFile, _ICDBulkNewObject, _ICDBulkNewProperty, _ICDDeviceNotification, _ICDDeviceRegister, _ICDDeviceUnRegister, _ICDDisposeObject, _ICDDisposeProperty, _ICDNewObject, _ICDNewProperty, _kICAAddMetaDataToFinderCommentKey, _kICAAdjustCreationDateKey, _kICAAudioCodecsKey, _kICABIPVersionKey, _kICABluetoothAddressKey, _kICABluetoothTransportType, _kICABonjourServiceNameKey, _kICABonjourServiceTypeKey, _kICABonjourTXTRecordKey, _kICACreateCustomIconKey, _kICACreationDateStringKey, _kICADataPropertyKey, _kICADataSizeKey, _kICADataTypeKey, _kICADeleteAfterDownloadKey, _kICADeviceBrowserDeviceRefKey, _kICADeviceCapabilitiesKey, _kICADeviceDatabaseKey, _kICADeviceIconPathKey, _kICADeviceModulePathKey, _kICADeviceNameKey, _kICADevicePropArtist, _kICADevicePropBatteryLevel, _kICADevicePropBurstInterval, _kICADevicePropBurstNumber, _kICADevicePropCaptureDelay, _kICADevicePropCompressionSetting, _kICADevicePropContrast, _kICADevicePropCopyrightInfo, _kICADevicePropDateTime, _kICADevicePropDigitalZoom, _kICADevicePropEffectMode, _kICADevicePropExposureBiasCompensation, _kICADevicePropExposureIndex, _kICADevicePropExposureMeteringMode, _kICADevicePropExposureProgramMode, _kICADevicePropExposureTime, _kICADevicePropFNumber, _kICADevicePropFlashMode, _kICADevicePropFocalLength, _kICADevicePropFocusDistance, _kICADevicePropFocusMeteringMode, _kICADevicePropFocusMode, _kICADevicePropFunctionalMode, _kICADevicePropImageSize, _kICADevicePropRGBGain, _kICADevicePropSharpness, _kICADevicePropStillCaptureMode, _kICADevicePropTimelapseInterval, _kICADevicePropTimelapseNumber, _kICADevicePropUndefined, _kICADevicePropUploadURL, _kICADevicePropWhiteBalance, _kICADeviceSharedKey, _kICADeviceTypeCamera, _kICADeviceTypeKey, _kICADeviceTypeScanner, _kICADeviceUsedKey, _kICADeviceWebSharedKey, _kICADevicesArrayKey, _kICADirPathKey, _kICADisplayNameKey, _kICADontEmbedColorSyncProfileKey, _kICAErrorKey, _kICAExecutableArchitectureKey, _kICAFileCreatorKey, _kICAFileTypeKey, _kICAFileUTTypeKey, _kICAFireWireGUIDKey, _kICAFireWireTransportType, _kICAIOServicePathKey, _kICAIPAddressKey, _kICAIPGUIDKey, _kICAIPNameKey, _kICAIPPortKey, _kICAIconFilePathKey, _kICAInstancesKey, _kICAKeywordsKey, _kICALockStatusKey, _kICAManualConnectDeviceRefKey, _kICAMediaDurationInSecondsKey, _kICAMediaFormatsKey, _kICAMediaHeightKey, _kICAMediaMaxDurationKey, _kICAMediaSizesKey, _kICAMediaWidthKey, _kICAModelNameKey, _kICAModificationDateStringKey, _kICANotificationClassKey, _kICANotificationClassPTPStandard, _kICANotificationClassPTPVendor, _kICANotificationClassProprietary, _kICANotificationDataCookieKey, _kICANotificationDataKey, _kICANotificationDataSizeKey, _kICANotificationDeviceICAObjectKey, _kICANotificationDeviceListICAObjectKey, _kICANotificationICAObjectKey, _kICANotificationImageBytesPerRowKey, _kICANotificationImageDataKey, _kICANotificationImageDataSizeKey, _kICANotificationImageHeightKey, _kICANotificationImageKey, _kICANotificationImageNumberOfRowsKey, _kICANotificationImageStartRowKey, _kICANotificationImageWidthKey, _kICANotificationNumerOfImagesRemainingKey, _kICANotificationPercentDownloadedKey, _kICANotificationRawEventKey, _kICANotificationScannerButtonTypeKey, _kICANotificationScannerDocumentNameKey, _kICANotificationSubTypeDocumentLoaded, _kICANotificationSubTypeDocumentNotLoaded, _kICANotificationSubTypeKey, _kICANotificationSubTypePerformOverviewScan, _kICANotificationSubTypeWarmUpDone, _kICANotificationSubTypeWarmUpStarted, _kICANotificationTypeCaptureComplete, _kICANotificationTypeDeviceAdded, _kICANotificationTypeDeviceConnectionProgress, _kICANotificationTypeDeviceInfoChanged, _kICANotificationTypeDevicePropertyChanged, _kICANotificationTypeDeviceRemoved, _kICANotificationTypeDeviceStatusError, _kICANotificationTypeDeviceStatusInfo, _kICANotificationTypeDeviceWasReset, _kICANotificationTypeDownloadProgressStatus, _kICANotificationTypeKey, _kICANotificationTypeObjectAdded, _kICANotificationTypeObjectInfoChanged, _kICANotificationTypeObjectRemoved, _kICANotificationTypeProprietary, _kICANotificationTypeRequestObjectTransfer, _kICANotificationTypeScanProgressStatus, _kICANotificationTypeScannerButtonPressed, _kICANotificationTypeScannerOverviewOverlayAvailable, _kICANotificationTypeScannerPageDone, _kICANotificationTypeScannerScanDone, _kICANotificationTypeScannerSessionClosed, _kICANotificationTypeStoreAdded, _kICANotificationTypeStoreFull, _kICANotificationTypeStoreInfoChanged, _kICANotificationTypeStoreRemoved, _kICANotificationTypeTransactionCanceled, _kICANotificationTypeUnreportedStatus, _kICANotificationVendorErrorCodeKey, _kICAOBEXVersionKey, _kICAObjectKey, _kICAObjectNameKey, _kICAOrientationKey, _kICAOverwriteKey, _kICAPhysicalTransportsKey, _kICAPictureFolderKey, _kICAProtocolKey, _kICARawKey, _kICARefconKey, _kICARemoteDeviceKey, _kICASCSITransportType, _kICASaveAsFilenameKey, _kICASavedFilenameKey, _kICAScreenHeightKey, _kICAScreenWidthKey, _kICASoundFolderKey, _kICAStarRatingKey, _kICASupportedFeaturesKey, _kICASupportingSoftwaresKey, _kICATCPIPTransportType, _kICATWAINDSPathKey, _kICATWAINTransportType, _kICATelephoneNetworksKey, _kICAThumbnailPropertyKey, _kICAThumbnailSizeKey, _kICATransportTypeKey, _kICAUSBLocationIDKey, _kICAUSBProductIDKey, _kICAUSBTransportType, _kICAUSBVendorIDKey, _kICAUserAssignedDeviceNameKey, _kICAVendorNameKey, _kICAVideoCodecsKey, _kICAVideoFolderKey, _kICAWMCVersionKey, _kMetaDataDictionaryKey ] --- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: B93B6A30-0B53-3834-87E8-AB39E50B7FCE - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 4FF5F789-FA55-3B93-816F-2F21BB55AA30 install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink' current-version: 227 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _InkAddStrokeToCurrentPhrase, _InkIsPhraseInProgress, _InkSetApplicationRecognitionMode, _InkSetApplicationWritingMode, _InkSetDrawingMode, _InkSetPhraseTerminationMode, _InkStrokeGetPointCount, _InkStrokeGetPoints, _InkStrokeGetTypeID, _InkTerminateCurrentPhrase, _InkTextAlternatesCount, _InkTextBounds, _InkTextCopy, _InkTextCreateCFString, _InkTextCreateFromCFData, _InkTextDraw, _InkTextFlatten, _InkTextGetStroke, _InkTextGetStrokeCount, _InkTextGetTypeID, _InkTextKeyModifiers, _InkUserWritingMode ] --- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 7094B0DD-B83F-325A-A2DA-0788DC2E02CC - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 63B3CFC6-6CE7-37BE-BFA7-D3871AAB1E5C install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting' parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _ASCopySourceAttributes, _ASGetSourceStyleNames, _ASGetSourceStyles, _ASInit, _ASSetSourceAttributes, _ASSetSourceStyles, _OSAAddStorageType, _OSAAppletShowStartupScreenKey, _OSAAppletStayOpenKey, _OSAAuthorizeEvent, _OSAAvailableDialectCodeList, _OSAAvailableDialects, _OSACoerceFromDesc, _OSACoerceToDesc, _OSACompile, _OSACompileExecute, _OSACopyDisplayString, _OSACopyID, _OSACopyScript, _OSACopyScriptingDefinition, _OSACopyScriptingDefinitionFromFile, _OSACopyScriptingDefinitionFromURL, _OSACopySourceString, _OSACopyURLForLibraryInDomainURL, _OSACopyURLForLibraryInFolderURL, _OSACopyURLForLibraryInScriptURL, _OSACopyURLForLibraryName, _OSACreateFile, _OSADebuggerCreateSession, _OSADebuggerDisposeCallFrame, _OSADebuggerDisposeSession, _OSADebuggerGetBreakpoint, _OSADebuggerGetCallFrameState, _OSADebuggerGetCurrentCallFrame, _OSADebuggerGetDefaultBreakpoint, _OSADebuggerGetPreviousCallFrame, _OSADebuggerGetSessionState, _OSADebuggerGetStatementRanges, _OSADebuggerGetVariable, _OSADebuggerSessionStep, _OSADebuggerSetBreakpoint, _OSADebuggerSetVariable, _OSADisplay, _OSADispose, _OSADoEvent, _OSADoScript, _OSADoScriptFile, _OSAExecute, _OSAExecuteEvent, _OSAFindEventHandler, _OSAGenericToRealID, _OSAGetActiveProc, _OSAGetCreateProc, _OSAGetCreateProgressProc, _OSAGetCurrentDialect, _OSAGetDefaultScriptingComponent, _OSAGetDialectInfo, _OSAGetEventHandler, _OSAGetHandler, _OSAGetHandlerNames, _OSAGetProperty, _OSAGetPropertyNames, _OSAGetReleaseProgressProc, _OSAGetResumeDispatchProc, _OSAGetScriptDataFromURL, _OSAGetScriptInfo, _OSAGetScriptingComponent, _OSAGetScriptingComponentFromStored, _OSAGetSendProc, _OSAGetSource, _OSAGetStorageType, _OSAGetSysTerminology, _OSAInstallEventHandler, _OSAInstallGestaltValues, _OSAInstallScriptingDescCoercions, _OSAInstallScriptingEventHandlers, _OSAInstallStdDescCoercions, _OSAInstallStdEventHandlers, _OSAInstallStdPtrCoercions, _OSAInstallUnitPtrCoercions, _OSAIsEventAuthorizationRequested, _OSAIsEventAuthorized, _OSAIsScriptableBundle, _OSAIsScriptableRef, _OSAIsScriptableURL, _OSALoad, _OSALoadExecute, _OSALoadExecuteFile, _OSALoadFile, _OSALoadScriptData, _OSALoadScriptDataFromFile, _OSAMakeContext, _OSARealToGenericID, _OSARecordEvent, _OSARemoveEventHandler, _OSARemoveStorageType, _OSARequestEventAuthorization, _OSAScriptError, _OSAScriptingComponentName, _OSASetActiveProc, _OSASetCreateProc, _OSASetCreateProgressProc, _OSASetCurrentDialect, _OSASetDefaultScriptingComponent, _OSASetDefaultTarget, _OSASetHandler, _OSASetProperty, _OSASetReleaseProgressProc, _OSASetResumeDispatchProc, _OSASetScriptInfo, _OSASetSendProc, _OSAStartRecording, _OSAStopRecording, _OSAStore, _OSAStoreFile, _OSAStoreScriptDataToFile, _OSAStoreScriptDataToNewFile, __HandleGDUT, __OSACopyDisplayString, __OSACopyScriptingDefinitionFromFile, __OSACopySourceString, __OSACreateURL, __OSADoScriptURL, __OSALoadExecuteURL, __OSALoadURL, __OSAStoreScriptDataToURL, __OSAStoreURL ] --- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 89117C65-4F2D-35B6-AAAF-72F864A8361A - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 8BBA4D72-F069-306E-90D5-EF6B6BE48F91 install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print' current-version: 272 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon --- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 19278940-6BBC-303B-980C-1DB4331DF80F - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 7E410562-7A94-32CF-8FD3-735ABF3BCE07 install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI' current-version: 55008 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon allowable-clients: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] clients: [ AppleShareClient ] exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _DisposeURLNotifyUPP, _DisposeURLSystemEventUPP, _InvokeURLNotifyUPP, _InvokeURLSystemEventUPP, _KCAddAppleSharePassword, _KCAddGenericPassword, _KCAddInternetPassword, _KCAddInternetPasswordWithPath, _KCAddItem, _KCChangeSettings, _KCCreateKeychain, _KCUnlock, _NewURLNotifyUPP, _NewURLSystemEventUPP, _SecChooseIdentity, _SecChooseIdentityAsSheet, _SecDisplayCertificate, _SecDisplayCertificateGroup, _SecEditTrust, _SecEditTrustAsSheet, _kcaddapplesharepassword, _kcaddgenericpassword, _kcaddinternetpassword, _kcaddinternetpasswordwithpath, _kccreatekeychain, _kcunlock ] --- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 1D7D200D-3537-3095-8F7F-BE03E40FC12C - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: BE259DCA-1DD4-30C8-BBD8-797D9D86272F install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition' parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon allowable-clients: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] clients: [ AppKit, LatentSemanticMapping ] exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _DisposeSRCallBackUPP, _InvokeSRCallBackUPP, _NewSRCallBackUPP, _SFSAvatarCaptionVisible, _SFSCopyActiveRecognizer, _SFSCopyCurrentAvatarIdentifier, _SFSCopyIndAvatarInfo, _SFSCopyIndRecognizerPluginBundleRef, _SFSCopyNamedAvatarInfo, _SFSCopyProperty, _SFSCountAvatars, _SFSCountRecognizerPlugins, _SFSCreateSpeechFeedbackService, _SFSCreateSpeechFeedbackServiceFromRecognizerIdentifier, _SFSDeminimizeFeedbackWindow, _SFSDeminimizeUtilityWindow, _SFSFeedbackWindowVisible, _SFSGetAvatarExpression, _SFSGetTargetProcess, _SFSHideAvatarCaption, _SFSHideFeedbackWindow, _SFSHideRecognizerArea, _SFSHideTextArea, _SFSHideUtilityWindow, _SFSIsRecognizerAreaVisible, _SFSIsTextAreaVisible, _SFSMinimizeFeedbackWindow, _SFSMinimizeUtilityWindow, _SFSReleaseSpeechFeedbackService, _SFSRequestMicrophone, _SFSReturnMicrophone, _SFSSendMessageToRecognizerArea, _SFSSetActiveRecognizer, _SFSSetAvatarCaption, _SFSSetAvatarExpression, _SFSSetAvatarSpeakingState, _SFSSetIdentityBadge, _SFSSetMicrophoneMeterStatus, _SFSSetProperty, _SFSSetRecognizerStartupAction, _SFSSetSpeakableCommandsData, _SFSShowAvatarCaption, _SFSShowFeedbackWindow, _SFSShowRecognizerArea, _SFSShowTextArea, _SFSShowUtilityWindow, _SFSSpeakAndDrawString, _SFSSpeakAndDrawStringUsingVoice, _SFSSpecifyMicrophoneToMeter, _SFSSpeechBusy, _SFSStopSpeech, _SFSSyncFeedbackWindowWithPrefs, _SFSUseAvatar, _SFSUseAvatarBundle, _SFSUseRecognizerAreaBundle, _SFSUtilityWindowVisible, _SRAddLanguageObject, _SRAddText, _SRCancelRecognition, _SRChangeLanguageObject, _SRCloseRecognitionSystem, _SRContinueRecognition, _SRCountItems, _SRDrawRecognizedText, _SRDrawText, _SREmptyLanguageObject, _SRGetIndexedItem, _SRGetLanguageModel, _SRGetProperty, _SRGetReference, _SRIdle, _SRNewLanguageModel, _SRNewLanguageObjectFromDataFile, _SRNewLanguageObjectFromHandle, _SRNewPath, _SRNewPhrase, _SRNewRecognizer, _SRNewWord, _SROpenRecognitionSystem, _SRProcessBegin, _SRProcessEnd, _SRPutLanguageObjectIntoDataFile, _SRPutLanguageObjectIntoHandle, _SRReleaseObject, _SRRemoveIndexedItem, _SRRemoveLanguageObject, _SRSetIndexedItem, _SRSetLanguageModel, _SRSetProperty, _SRSpeakAndDrawText, _SRSpeakText, _SRSpeechBusy, _SRStartListening, _SRStopListening, _SRStopSpeech ] ...
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h
/* File: Carbon/Carbon.h Contains: Master include for all of Carbon Version: Carbon-~1 Copyright: � 2000-2019 by Apple Computer, Inc., all rights reserved. Bugs?: For bug reports, consult the following page on the World Wide Web: http://developer.apple.com/bugreporter/ */ #ifndef __CARBON__ #define __CARBON__ #ifndef __CORESERVICES__ #include <CoreServices/CoreServices.h> #endif #ifndef __APPLICATIONSERVICES__ #include <ApplicationServices/ApplicationServices.h> #endif #ifndef __HITOOLBOX__ #include <HIToolbox/HIToolbox.h> #endif #ifndef __OPENSCRIPTING__ #include <OpenScripting/OpenScripting.h> #endif #ifndef __COMMONPANELS__ #include <CommonPanels/CommonPanels.h> #endif #ifndef __SPEECHRECOGNITION__ #include <SpeechRecognition/SpeechRecognition.h> #endif #ifndef __SECURITYHI__ #include <SecurityHI/SecurityHI.h> #endif #ifndef __HELP__ #include <Help/Help.h> #endif #ifndef __IMAGECAPTURE__ #include <ImageCapture/ImageCapture.h> #endif #endif /* __CARBON__ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Modules/module.modulemap
framework module Carbon [extern_c] { umbrella header "Carbon.h" export * module * { export * } framework module CommonPanels { umbrella header "CommonPanels.h" export * module * { export * } } framework module Help { umbrella header "Help.h" export * module * { export * } } framework module HIToolbox { umbrella header "HIToolbox.h" export * module * { export * } } framework module ImageCapture { umbrella header "ImageCapture.h" export * module * { export * } } framework module OpenScripting { umbrella header "OpenScripting.h" export * module * { export * } } framework module Print { umbrella header "Print.h" export * module * { export * } } framework module SecurityHI { umbrella header "SecurityHI.h" export * module * { export * } } framework module SpeechRecognition { umbrella header "SpeechRecognition.h" export * module * { export * } } }
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Help.tbd
--- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: EE5FA0C7-753F-3232-8D72-F9E834BF16C0 - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 3C094BDD-B284-36F4-917D-F3DFB2CD4319 install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help' current-version: 71 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon allowable-clients: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] clients: [ PrintingUI ] exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _AHGotoApplicationHelp, _AHGotoMainTOC, _AHGotoPage, _AHLookupAnchor, _AHRegisterHelpBook, _AHRegisterHelpBookWithURL, _AHSearch, _AppendEncodingHint, _CFStringToCString, _CopyBookDetails, _CreateBookDetailsFromAppBundle, _CreateBookDetailsFromAppBundleAtIndex, _CreateBookDetailsWithBookNameAndID, _EscapeMacCharacters, _MacPathToURLPath, _kANCHOR, _kBOOKID, _kDEFAULT_BUNDLE_ID, _kFILE, _kOPENBOOK, _kSEARCH, _kSEARCHALL, _kSTRING ] ...
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/Help.framework/Headers/AppleHelp.h
/* File: Help/AppleHelp.h Contains: Apple Help Version: Help-36~232 Copyright: � 2000-2008 by Apple Computer, Inc., all rights reserved. Bugs?: For bug reports, consult the following page on the World Wide Web: http://developer.apple.com/bugreporter/ */ #ifndef __APPLEHELP__ #define __APPLEHELP__ #ifndef __CORESERVICES__ #include <CoreServices/CoreServices.h> #endif #include <AvailabilityMacros.h> #if PRAGMA_ONCE #pragma once #endif #ifdef __cplusplus extern "C" { #endif /* AppleHelp Error Codes */ enum { kAHInternalErr = -10790, kAHInternetConfigPrefErr = -10791 }; typedef SInt16 AHTOCType; enum { kAHTOCTypeUser = 0, kAHTOCTypeDeveloper = 1 }; /* * AHSearch() * * Discussion: * Delivers a request to perform the specified search to the Help * Viewer application. * * Parameters: * * bookname: * Optionally, the AppleTitle of the Help book to be searched. If * NULL, all installed Help books are searched. * * query: * The query to be made. This string can, if desired, have boolean * operators or be a natural language phrase. * * Result: * An operating system result code that indicates whether the * request was successfully sent to the Help Viewer application. * Possible values: noErr, paramErr, kAHInternalErr. * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.1 and later * Non-Carbon CFM: not available */ extern OSStatus AHSearch( CFStringRef bookname, CFStringRef query) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER; /* * AHGotoMainTOC() *** DEPRECATED *** * * Discussion: * Delivers a request to load the main table of contents of * installed help books to the Help Viewer application. This method * has been deprecated in Mac OS X 10.4. Instead, please use * AHGotoPage to jump directly to different books or anchors. * * Parameters: * * toctype: * The type of table of contents to be loaded: user or developer. * * Result: * An operating system result code that indicates whether the * request was successfully sent to the Help Viewer application. * Possible values: noErr, paramErr, kAHInternalErr. * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework but deprecated in 10.4 * CarbonLib: in CarbonLib 1.1 and later * Non-Carbon CFM: not available */ extern OSStatus AHGotoMainTOC(AHTOCType toctype) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4; /* * AHGotoPage() * * Discussion: * Delivers a request to load a specific text/html file to the Help * Viewer application. * * Parameters: * * bookname: * Optionally, the AppleTitle of an installed Help book. If NULL, * the path parameter must be a full file: URL to the file to be * opened. * * path: * Optionally, one of two types of paths: 1) a URL-style path to a * file that is relative to the main folder of the book supplied * in the bookname parameter, or 2) if bookname is NULL, a full * file: URL to the file to be opened. If this parameter is NULL, * then bookname must not be NULL, and is used to open the Help * Viewer to the main page of Help content for the specified book. * * anchor: * Optionally, the name of anchor tag to scroll to in the newly * opened file. Can be NULL. * * Result: * An operating system result code that indicates whether the * request was successfully sent to the Help Viewer application. * Possible values: noErr, paramErr, kAHInternalErr. * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.1 and later * Non-Carbon CFM: not available */ extern OSStatus AHGotoPage( CFStringRef bookname, CFStringRef path, CFStringRef anchor) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER; /* * AHLookupAnchor() * * Discussion: * Delivers a request to perform an anchor lookup to the Help Viewer * application. Note: anchor lookups will fail unless you have * indexed your help content with anchor indexing turned on in the * indexing tool's preferences panel. * * Parameters: * * bookname: * Optionally, the AppleTitle of the Help book to searched. If * NULL, the anchor lookup is performed using all installed Help * books. * * anchor: * The name of the anchor tag to look up. * * Result: * An operating system result code that indicates whether the * request was successfully sent to the Help Viewer application. * Possible values: noErr, paramErr, kAHInternalErr. * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.1 and later * Non-Carbon CFM: not available */ extern OSStatus AHLookupAnchor( CFStringRef bookname, CFStringRef anchor) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER; /* * AHRegisterHelpBook() * * Discussion: * Registers a book of Help content such that the book will appear * in the current user's main table of contents (Help Center) in the * Help Viewer application. To be used when help books reside * outside of the known help folders (i.e. help books that are kept * inside of application bundles). * * Parameters: * * appBundleRef: * An FSRef pointer to the bundle within which one or more Help * books is stored. This is likely an FSRef to your application's * main bundle. * * Result: * An operating system result code that indicates whether all help * books contained within the specified bundle were registered. * Possible values: noErr, paramErr, kAHInternalErr, dirNFErr. * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.1 and later * Non-Carbon CFM: not available */ extern OSStatus AHRegisterHelpBook(const FSRef * appBundleRef) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4; extern OSStatus AHRegisterHelpBookWithURL(const CFURLRef applicationURL) AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER; #ifdef __cplusplus } #endif #endif /* __APPLEHELP__ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/OpenScripting.tbd
--- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 7094B0DD-B83F-325A-A2DA-0788DC2E02CC - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 63B3CFC6-6CE7-37BE-BFA7-D3871AAB1E5C install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting' parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _ASCopySourceAttributes, _ASGetSourceStyleNames, _ASGetSourceStyles, _ASInit, _ASSetSourceAttributes, _ASSetSourceStyles, _OSAAddStorageType, _OSAAppletShowStartupScreenKey, _OSAAppletStayOpenKey, _OSAAuthorizeEvent, _OSAAvailableDialectCodeList, _OSAAvailableDialects, _OSACoerceFromDesc, _OSACoerceToDesc, _OSACompile, _OSACompileExecute, _OSACopyDisplayString, _OSACopyID, _OSACopyScript, _OSACopyScriptingDefinition, _OSACopyScriptingDefinitionFromFile, _OSACopyScriptingDefinitionFromURL, _OSACopySourceString, _OSACopyURLForLibraryInDomainURL, _OSACopyURLForLibraryInFolderURL, _OSACopyURLForLibraryInScriptURL, _OSACopyURLForLibraryName, _OSACreateFile, _OSADebuggerCreateSession, _OSADebuggerDisposeCallFrame, _OSADebuggerDisposeSession, _OSADebuggerGetBreakpoint, _OSADebuggerGetCallFrameState, _OSADebuggerGetCurrentCallFrame, _OSADebuggerGetDefaultBreakpoint, _OSADebuggerGetPreviousCallFrame, _OSADebuggerGetSessionState, _OSADebuggerGetStatementRanges, _OSADebuggerGetVariable, _OSADebuggerSessionStep, _OSADebuggerSetBreakpoint, _OSADebuggerSetVariable, _OSADisplay, _OSADispose, _OSADoEvent, _OSADoScript, _OSADoScriptFile, _OSAExecute, _OSAExecuteEvent, _OSAFindEventHandler, _OSAGenericToRealID, _OSAGetActiveProc, _OSAGetCreateProc, _OSAGetCreateProgressProc, _OSAGetCurrentDialect, _OSAGetDefaultScriptingComponent, _OSAGetDialectInfo, _OSAGetEventHandler, _OSAGetHandler, _OSAGetHandlerNames, _OSAGetProperty, _OSAGetPropertyNames, _OSAGetReleaseProgressProc, _OSAGetResumeDispatchProc, _OSAGetScriptDataFromURL, _OSAGetScriptInfo, _OSAGetScriptingComponent, _OSAGetScriptingComponentFromStored, _OSAGetSendProc, _OSAGetSource, _OSAGetStorageType, _OSAGetSysTerminology, _OSAInstallEventHandler, _OSAInstallGestaltValues, _OSAInstallScriptingDescCoercions, _OSAInstallScriptingEventHandlers, _OSAInstallStdDescCoercions, _OSAInstallStdEventHandlers, _OSAInstallStdPtrCoercions, _OSAInstallUnitPtrCoercions, _OSAIsEventAuthorizationRequested, _OSAIsEventAuthorized, _OSAIsScriptableBundle, _OSAIsScriptableRef, _OSAIsScriptableURL, _OSALoad, _OSALoadExecute, _OSALoadExecuteFile, _OSALoadFile, _OSALoadScriptData, _OSALoadScriptDataFromFile, _OSAMakeContext, _OSARealToGenericID, _OSARecordEvent, _OSARemoveEventHandler, _OSARemoveStorageType, _OSARequestEventAuthorization, _OSAScriptError, _OSAScriptingComponentName, _OSASetActiveProc, _OSASetCreateProc, _OSASetCreateProgressProc, _OSASetCurrentDialect, _OSASetDefaultScriptingComponent, _OSASetDefaultTarget, _OSASetHandler, _OSASetProperty, _OSASetReleaseProgressProc, _OSASetResumeDispatchProc, _OSASetScriptInfo, _OSASetSendProc, _OSAStartRecording, _OSAStopRecording, _OSAStore, _OSAStoreFile, _OSAStoreScriptDataToFile, _OSAStoreScriptDataToNewFile, __HandleGDUT, __OSACopyDisplayString, __OSACopyScriptingDefinitionFromFile, __OSACopySourceString, __OSACreateURL, __OSADoScriptURL, __OSALoadExecuteURL, __OSALoadURL, __OSAStoreScriptDataToURL, __OSAStoreURL ] ...
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/OpenScripting.framework/Headers/ASRegistry.h
/* File: OpenScripting/ASRegistry.h Contains: AppleScript Registry constants. Version: OpenScripting Copyright: � 1991-2013 by Apple Inc., all rights reserved Bugs?: For bug reports, consult the following page on the World Wide Web: http://developer.apple.com/bugreporter/ */ #ifndef __ASREGISTRY__ #define __ASREGISTRY__ #ifndef __CORESERVICES__ #include <CoreServices/CoreServices.h> #endif #include <Availability.h> #if PRAGMA_ONCE #pragma once #endif enum { keyAETarget = 'targ', keySubjectAttr = 'subj', /* Magic 'returning' parameter: */ keyASReturning = 'Krtn', /* AppleScript Specific Codes: */ kASAppleScriptSuite = 'ascr', kASScriptEditorSuite = 'ToyS', kASTypeNamesSuite = 'tpnm', /* dynamic terminologies */ typeAETE = 'aete', typeAEUT = 'aeut', kGetAETE = 'gdte', kGetAEUT = 'gdut', kUpdateAEUT = 'udut', kUpdateAETE = 'udte', kCleanUpAEUT = 'cdut', kASComment = 'cmnt', kASLaunchEvent = 'noop', keyScszResource = 'scsz', typeScszResource = 'scsz', /* subroutine calls */ kASSubroutineEvent = 'psbr', keyASSubroutineName = 'snam', kASPrepositionalSubroutine = 'psbr', keyASPositionalArgs = 'parg' }; enum { /* Add this parameter to a Get Data result if your app handled the 'as' parameter */ keyAppHandledCoercion = 'idas' }; enum { /* Miscellaneous AppleScript commands */ kASStartLogEvent = 'log1', kASStopLogEvent = 'log0', kASCommentEvent = 'cmnt' }; /* Operator Events: */ enum { /* Binary: */ kASAdd = '+ ', kASSubtract = '- ', kASMultiply = '* ', kASDivide = '/ ', kASQuotient = 'div ', kASRemainder = 'mod ', kASPower = '^ ', kASEqual = kAEEquals, kASNotEqual = (int)0xAD202020, kASGreaterThan = kAEGreaterThan, kASGreaterThanOrEqual = kAEGreaterThanEquals, kASLessThan = kAELessThan, kASLessThanOrEqual = kAELessThanEquals, kASComesBefore = 'cbfr', kASComesAfter = 'cafr', kASConcatenate = 'ccat', kASStartsWith = kAEBeginsWith, kASEndsWith = kAEEndsWith, kASContains = kAEContains }; enum { kASAnd = kAEAND, kASOr = kAEOR, /* Unary: */ kASNot = kAENOT, kASNegate = 'neg ', keyASArg = 'arg ' }; enum { /* event code for the 'error' statement */ kASErrorEventCode = 'err ', kOSAErrorArgs = 'erra', keyAEErrorObject = 'erob', /* event code for the 'use' statement */ kASUseEventCode = 'use ', kASMinimumVersion = 'minv', kASImporting = 'impr', kASExcluding = 'impx', /* Properties: */ pLength = 'leng', pReverse = 'rvse', pRest = 'rest', pInherits = 'c@#^', pProperties = 'pALL', /* User-Defined Record Fields: */ keyASUserRecordFields = 'usrf', typeUserRecordFields = typeAEList }; /* Prepositions: */ enum { keyASPrepositionAt = 'at ', keyASPrepositionIn = 'in ', keyASPrepositionFrom = 'from', keyASPrepositionFor = 'for ', keyASPrepositionTo = 'to ', keyASPrepositionThru = 'thru', keyASPrepositionThrough = 'thgh', keyASPrepositionBy = 'by ', keyASPrepositionOn = 'on ', keyASPrepositionInto = 'into', keyASPrepositionOnto = 'onto', keyASPrepositionBetween = 'btwn', keyASPrepositionAgainst = 'agst', keyASPrepositionOutOf = 'outo', keyASPrepositionInsteadOf = 'isto', keyASPrepositionAsideFrom = 'asdf', keyASPrepositionAround = 'arnd', keyASPrepositionBeside = 'bsid', keyASPrepositionBeneath = 'bnth', keyASPrepositionUnder = 'undr' }; enum { keyASPrepositionOver = 'over', keyASPrepositionAbove = 'abve', keyASPrepositionBelow = 'belw', keyASPrepositionApartFrom = 'aprt', keyASPrepositionGiven = 'givn', keyASPrepositionWith = 'with', keyASPrepositionWithout = 'wout', keyASPrepositionAbout = 'abou', keyASPrepositionSince = 'snce', keyASPrepositionUntil = 'till' }; enum { /* Terminology & Dialect things: */ kDialectBundleResType = 'Dbdl', /* AppleScript Classes and Enums: */ cConstant = typeEnumerated, cClassIdentifier = pClass, cObjectBeingExamined = typeObjectBeingExamined, cList = typeAEList, cSmallReal = typeIEEE32BitFloatingPoint, cReal = typeIEEE64BitFloatingPoint, cRecord = typeAERecord, cReference = cObjectSpecifier, cUndefined = 'undf', cMissingValue = 'msng', cSymbol = 'symb', cLinkedList = 'llst', cVector = 'vect', cEventIdentifier = 'evnt', cKeyIdentifier = 'kyid', cUserIdentifier = 'uid ', cPreposition = 'prep', cKeyForm = enumKeyForm, cScript = 'scpt', cHandler = 'hand', cProcedure = 'proc', cFramework = 'frmk', cDynamicLibrary = 'dylb', cScriptingAddition = 'osax' }; enum { cHandleBreakpoint = 'brak' }; enum { cClosure = 'clsr', cRawData = 'rdat', cStringClass = typeChar, cNumber = 'nmbr', cListElement = 'celm', cListOrRecord = 'lr ', cListOrString = 'ls ', cListRecordOrString = 'lrs ', cNumberOrString = 'ns ', cNumberOrDateTime = 'nd ', cNumberDateTimeOrString = 'nds ', cAliasOrString = 'sf ', cSeconds = 'scnd', typeSound = 'snd ', enumBooleanValues = 'boov', /* Use this instead of typeBoolean to avoid with/without conversion */ kAETrue = typeTrue, kAEFalse = typeFalse, enumMiscValues = 'misc', kASCurrentApplication = 'cura', /* User-defined property ospecs: */ formUserPropertyID = 'usrp' }; enum { cString = cStringClass /* old name for cStringClass - can't be used in .r files*/ }; enum { /* Global properties: */ pASIt = 'it ', pASMe = 'me ', pASResult = 'rslt', pASSpace = 'spac', pASReturn = 'ret ', pASTab = 'tab ', pASPi = 'pi ', pASParent = 'pare', kASInitializeEventCode = 'init', pASPrintLength = 'prln', pASPrintDepth = 'prdp', pASTopLevelScript = 'ascr', pASRequiredImportItems = 'pimr' }; enum { /* Considerations */ kAECase = 'case', kAEDiacritic = 'diac', kAEWhiteSpace = 'whit', kAEHyphens = 'hyph', kAEExpansion = 'expa', kAEPunctuation = 'punc', kAEZenkakuHankaku = 'zkhk', kAESmallKana = 'skna', kAEKataHiragana = 'hika', kASConsiderReplies = 'rmte', kASNumericStrings = 'nume', enumConsiderations = 'cons' }; /* Considerations bit masks */ enum { kAECaseConsiderMask = 0x00000001, kAEDiacriticConsiderMask = 0x00000002, kAEWhiteSpaceConsiderMask = 0x00000004, kAEHyphensConsiderMask = 0x00000008, kAEExpansionConsiderMask = 0x00000010, kAEPunctuationConsiderMask = 0x00000020, kASConsiderRepliesConsiderMask = 0x00000040, kASNumericStringsConsiderMask = 0x00000080, kAECaseIgnoreMask = 0x00010000, kAEDiacriticIgnoreMask = 0x00020000, kAEWhiteSpaceIgnoreMask = 0x00040000, kAEHyphensIgnoreMask = 0x00080000, kAEExpansionIgnoreMask = 0x00100000, kAEPunctuationIgnoreMask = 0x00200000, kASConsiderRepliesIgnoreMask = 0x00400000, kASNumericStringsIgnoreMask = 0x00800000, enumConsidsAndIgnores = 'csig' }; enum { cCoercion = 'coec', cCoerceUpperCase = 'txup', cCoerceLowerCase = 'txlo', cCoerceRemoveDiacriticals = 'txdc', cCoerceRemovePunctuation = 'txpc', cCoerceRemoveHyphens = 'txhy', cCoerceOneByteToTwoByte = 'txex', cCoerceRemoveWhiteSpace = 'txws', cCoerceSmallKana = 'txsk', cCoerceZenkakuhankaku = 'txze', cCoerceKataHiragana = 'txkh', /* Lorax things: */ cZone = 'zone', cMachine = 'mach', cAddress = 'addr', cRunningAddress = 'radd', cStorage = 'stor' }; enum { /* DateTime things: */ pASWeekday = 'wkdy', pASMonth = 'mnth', pASDay = 'day ', pASYear = 'year', pASTime = 'time', pASDateString = 'dstr', pASTimeString = 'tstr', /* Months */ cMonth = pASMonth, cJanuary = 'jan ', cFebruary = 'feb ', cMarch = 'mar ', cApril = 'apr ', cMay = 'may ', cJune = 'jun ', cJuly = 'jul ', cAugust = 'aug ', cSeptember = 'sep ', cOctober = 'oct ', cNovember = 'nov ', cDecember = 'dec ' }; enum { /* Weekdays */ cWeekday = pASWeekday, cSunday = 'sun ', cMonday = 'mon ', cTuesday = 'tue ', cWednesday = 'wed ', cThursday = 'thu ', cFriday = 'fri ', cSaturday = 'sat ', /* AS 1.1 Globals: */ pASQuote = 'quot', pASSeconds = 'secs', pASMinutes = 'min ', pASHours = 'hour', pASDays = 'days', pASWeeks = 'week', /* Writing Code things: */ cWritingCodeInfo = 'citl', pScriptCode = 'pscd', pLangCode = 'plcd', /* Magic Tell and End Tell events for logging: */ kASMagicTellEvent = 'tell', kASMagicEndTellEvent = 'tend' }; #endif /* __ASREGISTRY__ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/SecurityHI.tbd
--- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 19278940-6BBC-303B-980C-1DB4331DF80F - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 7E410562-7A94-32CF-8FD3-735ABF3BCE07 install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI' current-version: 55008 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon allowable-clients: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] clients: [ AppleShareClient ] exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _DisposeURLNotifyUPP, _DisposeURLSystemEventUPP, _InvokeURLNotifyUPP, _InvokeURLSystemEventUPP, _KCAddAppleSharePassword, _KCAddGenericPassword, _KCAddInternetPassword, _KCAddInternetPasswordWithPath, _KCAddItem, _KCChangeSettings, _KCCreateKeychain, _KCUnlock, _NewURLNotifyUPP, _NewURLSystemEventUPP, _SecChooseIdentity, _SecChooseIdentityAsSheet, _SecDisplayCertificate, _SecDisplayCertificateGroup, _SecEditTrust, _SecEditTrustAsSheet, _kcaddapplesharepassword, _kcaddgenericpassword, _kcaddinternetpassword, _kcaddinternetpasswordwithpath, _kccreatekeychain, _kcunlock ] ...
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/SecurityHI.framework/Headers/SecCertificateSupport.h
/* * SecCertificateSupport.h * SecurityHI * * Copyright (c) 2002 Apple Computer, Inc. All rights reserved. * */ /*! @header SecCertificateSupport The SecurityHI framework provides APIs that display a human interface for the user. These APIs are specific to the management of certificates, policies, trust and identities. The functions in the SecurityHI framework aren't directly callable using the Carbon stub library for CFM applications. They are, however, directly callable for Mach-O applications. To call them from CFM applications, you still link with the Carbon framework and you can use the following code for calling into the SecChooseIdentity function, for example: void *funcPtr = NULL; CFBundleRef secHIBundle = NULL; secHIBundle = CFBundleGetBundleWithIdentifier(CFSTR("com.apple.securityhi")); if (secHIBundle != NULL) { funcPtr = CFBundleGetFunctionPointerForName(secHIBundle, CFSTR("SecChooseIdentity")); if (funcPtr != NULL) ; // call into funcPtr with parms to SecChooseIdentity() CFRelease(secHIBundle); } */ #if !defined(__SECCERTIFICATESUPPORT__) #define __SECCERTIFICATESUPPORT__ 1 #include <HIToolbox/MacWindows.h> #include <Security/SecIdentity.h> #include <Security/SecTrust.h> #include <Security/cssmtype.h> #if defined(__cplusplus) extern "C" { #endif /*! @enum CommandEventParameters @abstract Specifies a command event parameter. @constant typeSecIdentityRef Indicates an identity reference (typeUInt32). */ enum { typeSecIdentityRef = 'sidy' }; /*! @function SecChooseIdentity @abstract Displays a list of identities in a panel and allows the user to pick one. @param displayInfo A reference to a string to display in the panel that the user sees. @param identities A reference to an array of identities to choose from. The identities are obtained by calling the SecCreateIdentitySearch and SecIdentitySearchNext functions. @param identityRef On return, a pointer to an identity reference that was chosen by the user. @result A result code. See "Security Error Codes" (SecBase.h). @discussion This Carbon function is deprecated in OS X 10.9 and later; use SFChooseIdentityPanel (in the SecurityInterface framework) instead. */ OSStatus SecChooseIdentity(CFStringRef displayInfo, CFArrayRef identities, SecIdentityRef *identityRef) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9; /*! @function SecChooseIdentityAsSheet @abstract Displays a list of identities in a sheet and allows the user to pick one. You obtain the chosen identity from the event after the target event handler is called. @param parentWindow A reference to the window in which the sheet will appear. @param inTarget A reference to the event target to receive the event. @param displayInfo A reference to a string to display in the sheet that the user sees. @param identities A reference to an array of identities to choose from. You call the functions SecCreateIdentitySearch and SecIdentitySearchNext to obtain the identities. @result A result code. See "Security Error Codes" (SecBase.h). @discussion This Carbon function is deprecated in OS X 10.9 and later; use SFChooseIdentityPanel (in the SecurityInterface framework) instead. */ OSStatus SecChooseIdentityAsSheet(WindowRef parentWindow, EventTargetRef inTarget, CFStringRef displayInfo, CFArrayRef identities) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9; /*! @function SecDisplayCertificate @abstract Displays a certificate that already exists in a keychain. The user can perform trust editing in this user interface. @param certificateRef A reference to the certificate to display. @param keychainList A reference to a list of keychains to assist in the finding of intermediate certificates. Pass NULL to specify the user's default keychain search list. @result A result code. See "Security Error Codes" (SecBase.h). @discussion This Carbon function is deprecated in OS X 10.9 and later; use SFCertificatePanel (in the SecurityInterface framework) instead. */ OSStatus SecDisplayCertificate(SecCertificateRef certificate, CFArrayRef keychainList) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9; /*! @function SecDisplayCertificateGroup @abstract Displays the contents of a certificate group with a user interface. This user interface allows the user to change the trust decisions for these certificates. @param certificates A pointer to the certificate group to display. @param keychainList A reference to a list of keychains to assist in the finding of intermediate certificates. Pass NULL to specify the user's default keychain search list. @result A result code. See "Security Error Codes" (SecBase.h). @discussion This Carbon function is deprecated in OS X 10.9 and later; use SFCertificatePanel (in the SecurityInterface framework) instead. */ OSStatus SecDisplayCertificateGroup(const CSSM_CERTGROUP *certificates, CFArrayRef keychainList) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9; /*! @function SecEditTrust @abstract Edits the trust information of a SecTrust object in a panel. @param displayInfo A reference to a string to display in the edit trust panel that the user sees. Pass NULL for a default-provided string. @param trust The reference to a trust object in which to edit the trust. @result A result code. See "Security Error Codes" (SecBase.h). @discussion You must call the SecTrustEvaluate function prior to editing the trust information of the trust object. Pass in a string with arbitrary encoding for display purposes in the edit trust panel. For example, the user interface can show what went wrong during a verify or it can indicate that a certificate has expired. The user can edit the trust decisions at this time. If any certificate that is involved in the verification doesn't exist in a keychain, it can be added to a keychain by the user. @discussion This Carbon function is deprecated in OS X 10.9 and later; use SFCertificateTrustPanel (in the SecurityInterface framework) instead. */ OSStatus SecEditTrust(CFStringRef displayInfo, SecTrustRef trust) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9; /*! @function SecEditTrustAsSheet @abstract Edits the trust information of a SecTrust object in a sheet. When the target event handler is called, you can see if the user clicked Cancel or OK. @param parentWindow A reference to the window in which the sheet appears. @param inTarget A reference to the event target to receive the event. @param displayInfo A reference to a string to display in the Edit Trust sheet that the user sees. Pass NULL for a default-provided string. @param trust A reference to the trust object in which to edit the trust. @result A result code. See "Security Error Codes" (SecBase.h). @discussion This Carbon function is deprecated in OS X 10.9 and later; use SFCertificateTrustPanel (in the SecurityInterface framework) instead. */ OSStatus SecEditTrustAsSheet(WindowRef parentWindow, EventTargetRef inTarget, CFStringRef displayInfo, SecTrustRef trust) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9; #if defined(__cplusplus) } #endif #endif /* ! __SECCERTIFICATESUPPORT__ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/CommonPanels.framework/CommonPanels.tbd
--- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 77D1909A-B552-3B89-BAA3-4968DBE58A3E - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 83145A1E-897C-34E0-8378-6F14F11E851E install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels' current-version: 101 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon allowable-clients: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] clients: [ AppKit ] exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _CCP_FontPanelClose, _CCP_FontPanelGetSelection, _CCP_FontPanelIsVisible, _CCP_FontPanelOpen, _CCP_FontPanelSelectFonts, _CCP_NPickColor, _CMCalibrateDisplay, _Call_CommonCocoaPanels_NPickColor, _CommonPanelsVersionNumber, _CommonPanelsVersionString, _DisposeCalibrateEventUPP, _DisposeCalibrateUPP, _DisposeCanCalibrateUPP, _DisposeNColorChangedUPP, _FCAddCollection, _FCAddFontDescriptorToCollection, _FCCopyCollectionNames, _FCCopyFontDescriptorsInCollection, _FCFontDescriptorCreateWithFontAttributes, _FCFontDescriptorCreateWithName, _FCRemoveCollection, _FCRemoveFontDescriptorFromCollection, _FPIsFontPanelVisible, _FPShowHideFontPanel, _GetColor, _GetHandleApplicationEventsUPP, _GetHandleWinEventsUPP, _InvokeCalibrateEventUPP, _InvokeCalibrateUPP, _InvokeCanCalibrateUPP, _InvokeNColorChangedUPP, _LoadNSTypographyBundle, _NPickColor, _NewCalibrateEventUPP, _NewCalibrateUPP, _NewCanCalibrateUPP, _NewNColorChangedUPP, _SetFontInfoForSelection, _SoftLinkingGetFunctionPointerFromBundleInDirectory, _UserWantsColorPanelFromCommonCocoaPanels, __SoftLinkingLoadBundleFromLocation, _gApplicationDeactivated, _gApplicationHandler, _gCallingApp, _gCallingCCP, _gEventTarget, _gFontPanelInitialized, _gFontPanelRef, _gHandler, _gNSTypographyBundle, _gSelFontInfo, _kFCFontCGColorAttribute, _kFCFontFaceAttribute, _kFCFontFamilyAttribute, _kFCFontNameAttribute, _kFCFontSizeAttribute, _kFCFontVisibleNameAttribute, _kFontPanelATSUFontIDKey, _kFontPanelAttributeSizesKey, _kFontPanelAttributeTagsKey, _kFontPanelAttributeValuesKey, _kFontPanelAttributesKey, _kFontPanelBackgroundColorAttributeName, _kFontPanelDocumentAttributesKey, _kFontPanelFeatureSelectorsKey, _kFontPanelFeatureTypesKey, _kFontPanelMouseTrackingState, _kFontPanelVariationAxesKey, _kFontPanelVariationValuesKey ] ...
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/SpeechRecognition.tbd
--- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 1D7D200D-3537-3095-8F7F-BE03E40FC12C - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: BE259DCA-1DD4-30C8-BBD8-797D9D86272F install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition' parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon allowable-clients: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] clients: [ AppKit, LatentSemanticMapping ] exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _DisposeSRCallBackUPP, _InvokeSRCallBackUPP, _NewSRCallBackUPP, _SFSAvatarCaptionVisible, _SFSCopyActiveRecognizer, _SFSCopyCurrentAvatarIdentifier, _SFSCopyIndAvatarInfo, _SFSCopyIndRecognizerPluginBundleRef, _SFSCopyNamedAvatarInfo, _SFSCopyProperty, _SFSCountAvatars, _SFSCountRecognizerPlugins, _SFSCreateSpeechFeedbackService, _SFSCreateSpeechFeedbackServiceFromRecognizerIdentifier, _SFSDeminimizeFeedbackWindow, _SFSDeminimizeUtilityWindow, _SFSFeedbackWindowVisible, _SFSGetAvatarExpression, _SFSGetTargetProcess, _SFSHideAvatarCaption, _SFSHideFeedbackWindow, _SFSHideRecognizerArea, _SFSHideTextArea, _SFSHideUtilityWindow, _SFSIsRecognizerAreaVisible, _SFSIsTextAreaVisible, _SFSMinimizeFeedbackWindow, _SFSMinimizeUtilityWindow, _SFSReleaseSpeechFeedbackService, _SFSRequestMicrophone, _SFSReturnMicrophone, _SFSSendMessageToRecognizerArea, _SFSSetActiveRecognizer, _SFSSetAvatarCaption, _SFSSetAvatarExpression, _SFSSetAvatarSpeakingState, _SFSSetIdentityBadge, _SFSSetMicrophoneMeterStatus, _SFSSetProperty, _SFSSetRecognizerStartupAction, _SFSSetSpeakableCommandsData, _SFSShowAvatarCaption, _SFSShowFeedbackWindow, _SFSShowRecognizerArea, _SFSShowTextArea, _SFSShowUtilityWindow, _SFSSpeakAndDrawString, _SFSSpeakAndDrawStringUsingVoice, _SFSSpecifyMicrophoneToMeter, _SFSSpeechBusy, _SFSStopSpeech, _SFSSyncFeedbackWindowWithPrefs, _SFSUseAvatar, _SFSUseAvatarBundle, _SFSUseRecognizerAreaBundle, _SFSUtilityWindowVisible, _SRAddLanguageObject, _SRAddText, _SRCancelRecognition, _SRChangeLanguageObject, _SRCloseRecognitionSystem, _SRContinueRecognition, _SRCountItems, _SRDrawRecognizedText, _SRDrawText, _SREmptyLanguageObject, _SRGetIndexedItem, _SRGetLanguageModel, _SRGetProperty, _SRGetReference, _SRIdle, _SRNewLanguageModel, _SRNewLanguageObjectFromDataFile, _SRNewLanguageObjectFromHandle, _SRNewPath, _SRNewPhrase, _SRNewRecognizer, _SRNewWord, _SROpenRecognitionSystem, _SRProcessBegin, _SRProcessEnd, _SRPutLanguageObjectIntoDataFile, _SRPutLanguageObjectIntoHandle, _SRReleaseObject, _SRRemoveIndexedItem, _SRRemoveLanguageObject, _SRSetIndexedItem, _SRSetLanguageModel, _SRSetProperty, _SRSpeakAndDrawText, _SRSpeakText, _SRSpeechBusy, _SRStartListening, _SRStopListening, _SRStopSpeech ] ...
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/SpeechRecognition.framework/Headers/SpeechRecognition.h
/* File: SpeechRecognition/SpeechRecognition.h Note: This API has been deprecated. Please use NSSpeechRecognizer class instead. Copyright: 1992-2017 by Apple Inc., all rights reserved. */ #ifndef __SPEECHRECOGNITION__ #define __SPEECHRECOGNITION__ #ifndef __CORESERVICES__ #include <CoreServices/CoreServices.h> #endif #include <stdint.h> #include <AvailabilityMacros.h> #if PRAGMA_ONCE #pragma once #endif #ifdef __cplusplus extern "C" { #endif #pragma pack(push, 2) /* Error Codes [Speech recognition gets -5100 through -5199] */ enum { kSRNotAvailable = -5100, /* the service requested is not avail or applicable */ kSRInternalError = -5101, /* a system internal or hardware error condition */ kSRComponentNotFound = -5102, /* a needed system resource was not located */ kSROutOfMemory = -5103, /* an out of memory error occurred in the toolbox memory space */ kSRNotASpeechObject = -5104, /* the object specified is no longer or never was valid */ kSRBadParameter = -5105, /* an invalid parameter was specified */ kSRParamOutOfRange = -5106, /* when we say 0-100, don't pass in 101. */ kSRBadSelector = -5107, /* an unrecognized selector was specified */ kSRBufferTooSmall = -5108, /* returned from attribute access functions */ kSRNotARecSystem = -5109, /* the object used was not a SRRecognitionSystem */ kSRFeedbackNotAvail = -5110, /* there is no feedback window associated with SRRecognizer */ kSRCantSetProperty = -5111, /* a non-settable property was specified */ kSRCantGetProperty = -5112, /* a non-gettable property was specified */ kSRCantSetDuringRecognition = -5113, /* the property can't be set while recognition is in progress -- do before or between utterances. */ kSRAlreadyListening = -5114, /* in response to SRStartListening */ kSRNotListeningState = -5115, /* in response to SRStopListening */ kSRModelMismatch = -5116, /* no acoustical models are avail to match request */ kSRNoClientLanguageModel = -5117, /* trying to access a non-specified SRLanguageModel */ kSRNoPendingUtterances = -5118, /* nothing to continue search on */ kSRRecognitionCanceled = -5119, /* an abort error occurred during search */ kSRRecognitionDone = -5120, /* search has finished, but nothing was recognized */ kSROtherRecAlreadyModal = -5121, /* another recognizer is modal at the moment, so can't set this recognizer's kSRBlockModally property right now */ kSRHasNoSubItems = -5122, /* SRCountItems or related routine was called on an object without subelements -- e.g. a word -- rather than phrase, path, or LM. */ kSRSubItemNotFound = -5123, /* returned when accessing a non-existent sub item of a container */ kSRLanguageModelTooBig = -5124, /* Cant build language models so big */ kSRAlreadyReleased = -5125, /* this object has already been released before */ kSRAlreadyFinished = -5126, /* the language model can't be finished twice */ kSRWordNotFound = -5127, /* the spelling couldn't be found in lookup(s) */ kSRNotFinishedWithRejection = -5128, /* property not found because the LMObj is not finished with rejection */ kSRExpansionTooDeep = -5129, /* Language model is left recursive or is embedded too many levels */ kSRTooManyElements = -5130, /* Too many elements added to phrase or path or other langauge model object */ kSRCantAdd = -5131, /* Can't add given type of object to the base SRLanguageObject (e.g.in SRAddLanguageObject) */ kSRSndInSourceDisconnected = -5132, /* Sound input source is disconnected */ kSRCantReadLanguageObject = -5133, /* An error while trying to create new Language object from file or pointer -- possibly bad format */ /* non-release debugging error codes are included here */ kSRNotImplementedYet = -5199 /* you'd better wait for this feature in a future release */ }; /* Type Definitions */ typedef struct OpaqueSRSpeechObject* SRSpeechObject; typedef SRSpeechObject SRRecognitionSystem; typedef SRSpeechObject SRRecognizer; typedef SRSpeechObject SRSpeechSource; typedef SRSpeechSource SRRecognitionResult; typedef SRSpeechObject SRLanguageObject; typedef SRLanguageObject SRLanguageModel; typedef SRLanguageObject SRPath; typedef SRLanguageObject SRPhrase; typedef SRLanguageObject SRWord; /* between 0 and 100 */ typedef UInt16 SRSpeedSetting; /* between 0 and 100 */ typedef UInt16 SRRejectionLevel; /* When an event occurs, the user supplied proc will be called with a pointer */ /* to the param passed in and a flag to indicate conditions such */ /* as interrupt time or system background time. */ struct SRCallBackStruct { UInt32 what; /* one of notification flags */ long message; /* contains SRRecognitionResult id (32 / 64 bits) */ SRRecognizer instance; /* ID of recognizer being notified */ OSErr status; /* result status of last search */ SInt16 flags; /* non-zero if occurs during interrupt */ SRefCon refCon; /* user defined - set from SRCallBackParam */ }; typedef struct SRCallBackStruct SRCallBackStruct; /* Call back procedure definition */ typedef CALLBACK_API( void , SRCallBackProcPtr )(SRCallBackStruct * param); typedef STACK_UPP_TYPE(SRCallBackProcPtr) SRCallBackUPP; /* * NewSRCallBackUPP() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0.2 and later * Non-Carbon CFM: available as macro/inline */ extern SRCallBackUPP NewSRCallBackUPP(SRCallBackProcPtr userRoutine) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * DisposeSRCallBackUPP() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0.2 and later * Non-Carbon CFM: available as macro/inline */ extern void DisposeSRCallBackUPP(SRCallBackUPP userUPP) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * InvokeSRCallBackUPP() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0.2 and later * Non-Carbon CFM: available as macro/inline */ extern void InvokeSRCallBackUPP( SRCallBackStruct * param, SRCallBackUPP userUPP) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); #if __MACH__ #ifdef __cplusplus inline SRCallBackUPP NewSRCallBackUPP(SRCallBackProcPtr userRoutine) { return userRoutine; } inline void DisposeSRCallBackUPP(SRCallBackUPP) { } inline void InvokeSRCallBackUPP(SRCallBackStruct * param, SRCallBackUPP userUPP) { (*userUPP)(param); } #else #define NewSRCallBackUPP(userRoutine) ((SRCallBackUPP)userRoutine) #define DisposeSRCallBackUPP(userUPP) #define InvokeSRCallBackUPP(param, userUPP) (*userUPP)(param) #endif #endif struct SRCallBackParam { SRCallBackUPP callBack; SRefCon refCon; }; typedef struct SRCallBackParam SRCallBackParam; /* Recognition System Types */ enum { kSRDefaultRecognitionSystemID = 0 }; /* Recognition System Properties */ enum { kSRFeedbackAndListeningModes = 'fbwn', /* short: one of kSRNoFeedbackHasListenModes, kSRHasFeedbackHasListenModes, kSRNoFeedbackNoListenModes */ kSRRejectedWord = 'rejq', /* the SRWord used to represent a rejection */ kSRCleanupOnClientExit = 'clup' /* Boolean: Default is true. The rec system and everything it owns is disposed when the client application quits */ }; enum { kSRNoFeedbackNoListenModes = 0, /* next allocated recognizer has no feedback window and doesn't use listening modes */ kSRHasFeedbackHasListenModes = 1, /* next allocated recognizer has feedback window and uses listening modes */ kSRNoFeedbackHasListenModes = 2 /* next allocated recognizer has no feedback window but does use listening modes */ }; /* Speech Source Types */ enum { kSRDefaultSpeechSource = 0, kSRLiveDesktopSpeechSource = 'dklv', /* live desktop sound input */ kSRCanned22kHzSpeechSource = 'ca22' /* AIFF file based 16 bit, 22.050 KHz sound input */ }; /* Notification via Apple Event or Callback */ /* Notification Flags */ enum { kSRNotifyRecognitionBeginning = 1L << 0, /* recognition can begin. client must now call SRContinueRecognition or SRCancelRecognition */ kSRNotifyRecognitionDone = 1L << 1 /* recognition has terminated. result (if any) is available. */ }; /* Apple Event selectors */ /* AppleEvent message class */ enum { kAESpeechSuite = 'sprc' }; /* AppleEvent message event ids */ enum { kAESpeechDone = 'srsd', kAESpeechDetected = 'srbd' }; /* AppleEvent Parameter ids */ enum { keySRRecognizer = 'krec', keySRSpeechResult = 'kspr', keySRSpeechStatus = 'ksst' }; /* AppleEvent Parameter types */ enum { typeSRRecognizer = 'trec', typeSRSpeechResult = 'tspr' }; /* SRRecognizer Properties */ enum { kSRNotificationParam = 'noti', /* SInt32: See notification flags below */ kSRCallBackParam = 'call', /* type SRCallBackParam */ kSRSearchStatusParam = 'stat', /* SInt32: see status flags below */ kSRAutoFinishingParam = 'afin', /* SInt32: Automatic finishing applied on LM for search */ kSRForegroundOnly = 'fgon', /* Boolean: Default is true. If true, client recognizer only active when in foreground. */ kSRBlockBackground = 'blbg', /* Boolean: Default is false. If true, when client recognizer in foreground, rest of LMs are inactive. */ kSRBlockModally = 'blmd', /* Boolean: Default is false. When true, this client's LM is only active LM; all other LMs are inactive. Be nice, don't be modal for long periods! */ kSRWantsResultTextDrawn = 'txfb', /* Boolean: Default is true. If true, search results are posted to Feedback window */ kSRWantsAutoFBGestures = 'dfbr', /* Boolean: Default is true. If true, client needn't call SRProcessBegin/End to get default feedback behavior */ kSRSoundInVolume = 'volu', /* short in [0..100] log scaled sound input power. Can't set this property */ kSRReadAudioFSSpec = 'aurd', /* *FSSpec: Specify FSSpec where raw audio is to be read (AIFF format) using kSRCanned22kHzSpeechSource. Reads until EOF */ kSRReadAudioURL = 'aurl', /* CFURLRef: Specify CFURLRef where raw audio is to be read (AIFF format) using kSRCanned22kHzSpeechSource. Reads until EOF */ kSRCancelOnSoundOut = 'caso', /* Boolean: Default is true. If any sound is played out during utterance, recognition is aborted. */ kSRSpeedVsAccuracyParam = 'sped' /* SRSpeedSetting between 0 and 100 */ }; /* 0 means more accurate but slower. */ /* 100 means (much) less accurate but faster. */ enum { kSRUseToggleListen = 0, /* listen key modes */ kSRUsePushToTalk = 1 }; enum { kSRListenKeyMode = 'lkmd', /* short: either kSRUseToggleListen or kSRUsePushToTalk */ kSRListenKeyCombo = 'lkey', /* short: Push-To-Talk key combination; high byte is high byte of event->modifiers, the low byte is the keycode from event->message */ kSRListenKeyName = 'lnam', /* Str63: string representing ListenKeyCombo */ kSRKeyWord = 'kwrd', /* Str255: keyword preceding spoken commands in kSRUseToggleListen mode */ kSRKeyExpected = 'kexp' /* Boolean: Must the PTT key be depressed or the key word spoken before recognition can occur? */ }; /* Operational Status Flags */ enum { kSRIdleRecognizer = 1L << 0, /* engine is not active */ kSRSearchInProgress = 1L << 1, /* search is in progress */ kSRSearchWaitForAllClients = 1L << 2, /* search is suspended waiting on all clients' input */ kSRMustCancelSearch = 1L << 3, /* something has occurred (sound played, non-speech detected) requiring the search to abort */ kSRPendingSearch = 1L << 4 /* we're about to start searching */ }; /* Recognition Result Properties */ enum { kSRTEXTFormat = 'TEXT', /* raw text in user supplied memory */ kSRPhraseFormat = 'lmph', /* SRPhrase containing result words */ kSRPathFormat = 'lmpt', /* SRPath containing result phrases or words */ kSRLanguageModelFormat = 'lmfm' /* top level SRLanguageModel for post parse */ }; /* SRLanguageObject Family Properties */ enum { kSRSpelling = 'spel', /* spelling of a SRWord or SRPhrase or SRPath, or name of a SRLanguageModel */ kSRLMObjType = 'lmtp', /* Returns one of SRLanguageObject Types listed below */ kSRRefCon = 'refc', /* long (4/8 bytes) for user storage */ kSROptional = 'optl', /* Boolean -- true if SRLanguageObject is optional */ kSREnabled = 'enbl', /* Boolean -- true if SRLanguageObject enabled */ kSRRepeatable = 'rptb', /* Boolean -- true if SRLanguageObject is repeatable */ kSRRejectable = 'rjbl', /* Boolean -- true if SRLanguageObject is rejectable (Recognition System's kSRRejectedWord */ /* object can be returned in place of SRLanguageObject with this property) */ kSRRejectionLevel = 'rjct' /* SRRejectionLevel between 0 and 100 */ }; /* LM Object Types -- returned as kSRLMObjType property of language model objects */ enum { kSRLanguageModelType = 'lmob', /* SRLanguageModel */ kSRPathType = 'path', /* SRPath */ kSRPhraseType = 'phra', /* SRPhrase */ kSRWordType = 'word' /* SRWord */ }; /* a normal and reasonable rejection level */ enum { kSRDefaultRejectionLevel = 50 }; /********************************************************************************/ /* NOTES ON USING THE API */ /* */ /* All operations (with the exception of SRGetRecognitionSystem) are */ /* directed toward an object allocated or begot from New, Get and Read */ /* type calls. */ /* */ /* There is a simple rule in dealing with allocation and disposal: */ /* */ /* * all toolbox allocations are obtained from a SRRecognitionSystem */ /* */ /* * if you obtain an object via New or Get, then you own a reference */ /* to that object and it must be released via SRReleaseObject when */ /* you no longer need it */ /* */ /* * when you receive a SRRecognitionResult object via AppleEvent or */ /* callback, it has essentially been created on your behalf and so */ /* you are responsible for releasing it as above */ /* */ /* * when you close a SRRecognitionSystem, all remaining objects which */ /* were allocated with it will be forcefully released and any */ /* remaining references to those objects will be invalid. */ /* */ /* This translates into a very simple guideline: */ /* If you allocate it or have it allocated for you, you must release */ /* it. If you are only peeking at it, then don't release it. */ /* */ /********************************************************************************/ /* Opening and Closing of the SRRecognitionSystem */ /* * SROpenRecognitionSystem() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SROpenRecognitionSystem( SRRecognitionSystem * system, OSType systemID) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRCloseRecognitionSystem() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRCloseRecognitionSystem(SRRecognitionSystem system) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* Accessing Properties of any Speech Object */ /* * SRSetProperty() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRSetProperty( SRSpeechObject srObject, OSType selector, const void * property, Size propertyLen) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRGetProperty() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRGetProperty( SRSpeechObject srObject, OSType selector, void * property, Size * propertyLen) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* Any object obtained via New or Get type calls must be released */ /* * SRReleaseObject() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRReleaseObject(SRSpeechObject srObject) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRGetReference() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRGetReference( SRSpeechObject srObject, SRSpeechObject * newObjectRef) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* SRRecognizer Instance Functions */ /* * SRNewRecognizer() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRNewRecognizer( SRRecognitionSystem system, SRRecognizer * recognizer, OSType sourceID) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRStartListening() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRStartListening(SRRecognizer recognizer) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRStopListening() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRStopListening(SRRecognizer recognizer) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRSetLanguageModel() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRSetLanguageModel( SRRecognizer recognizer, SRLanguageModel languageModel) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRGetLanguageModel() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRGetLanguageModel( SRRecognizer recognizer, SRLanguageModel * languageModel) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRContinueRecognition() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRContinueRecognition(SRRecognizer recognizer) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRCancelRecognition() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRCancelRecognition(SRRecognizer recognizer) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRIdle() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRIdle(void) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* Language Model Building and Manipulation Functions */ /* * SRNewLanguageModel() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRNewLanguageModel( SRRecognitionSystem system, SRLanguageModel * model, const void * name, SInt32 nameLength) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRNewPath() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRNewPath( SRRecognitionSystem system, SRPath * path) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRNewPhrase() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRNewPhrase( SRRecognitionSystem system, SRPhrase * phrase, const void * text, SInt32 textLength) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRNewWord() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRNewWord( SRRecognitionSystem system, SRWord * word, const void * text, SInt32 textLength) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* Operations on any object of the SRLanguageObject family */ /* * SRPutLanguageObjectIntoHandle() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRPutLanguageObjectIntoHandle( SRLanguageObject languageObject, Handle lobjHandle) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRPutLanguageObjectIntoDataFile() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRPutLanguageObjectIntoDataFile( SRLanguageObject languageObject, short fRefNum) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRNewLanguageObjectFromHandle() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRNewLanguageObjectFromHandle( SRRecognitionSystem system, SRLanguageObject * languageObject, Handle lObjHandle) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRNewLanguageObjectFromDataFile() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRNewLanguageObjectFromDataFile( SRRecognitionSystem system, SRLanguageObject * languageObject, short fRefNum) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SREmptyLanguageObject() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SREmptyLanguageObject(SRLanguageObject languageObject) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRChangeLanguageObject() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRChangeLanguageObject( SRLanguageObject languageObject, const void * text, SInt32 textLength) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRAddLanguageObject() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRAddLanguageObject( SRLanguageObject base, SRLanguageObject addon) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRAddText() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRAddText( SRLanguageObject base, const void * text, SInt32 textLength, SRefCon refCon) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRRemoveLanguageObject() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRRemoveLanguageObject( SRLanguageObject base, SRLanguageObject toRemove) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* Traversing SRRecognitionResults or SRLanguageObjects */ /* * SRCountItems() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRCountItems( SRSpeechObject container, long * count) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRGetIndexedItem() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRGetIndexedItem( SRSpeechObject container, SRSpeechObject * item, long index) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRSetIndexedItem() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRSetIndexedItem( SRSpeechObject container, SRSpeechObject item, long index) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRRemoveIndexedItem() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRRemoveIndexedItem( SRSpeechObject container, long index) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* Utilizing the System Feedback Window */ /* * SRDrawText() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRDrawText( SRRecognizer recognizer, const void * dispText, SInt32 dispLength) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRDrawRecognizedText() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRDrawRecognizedText( SRRecognizer recognizer, const void * dispText, SInt32 dispLength) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRSpeakText() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRSpeakText( SRRecognizer recognizer, const void * speakText, SInt32 speakLength) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRSpeakAndDrawText() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRSpeakAndDrawText( SRRecognizer recognizer, const void * text, SInt32 textLength) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRStopSpeech() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRStopSpeech(SRRecognizer recognizer) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRSpeechBusy() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern Boolean SRSpeechBusy(SRRecognizer recognizer) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRProcessBegin() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRProcessBegin( SRRecognizer recognizer, Boolean failed) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); /* * SRProcessEnd() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in SpeechRecognitionLib 1.0 and later */ extern OSErr SRProcessEnd( SRRecognizer recognizer, Boolean failed) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_13, __IPHONE_NA, __IPHONE_NA, "Please use NSSpeechRecognizer class instead."); #pragma pack(pop) #ifdef __cplusplus } #endif #endif /* __SPEECHRECOGNITION__ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/HIToolbox.tbd
--- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 6320CF1B-CCD8-336D-ADB8-888AC1D8A1AA - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 7E5988A9-A641-398E-A67D-4B3ED39C3B51 install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox' current-version: 1111.3 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon allowable-clients: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] clients: [ AGL, AppKit, AppleShareClient, Backup, Dock, Finder, FinderKit, ImageKit, Printing_UI, QTKit, QTKitServer, RemoteViewServices, Shortcut, Suggestions, UIKitMacHelper, ViewBridge, loginwindow ] exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _AEGetInteractionAllowed, _AEGetTheCurrentEvent, _AEInteractWithUser, _AEProcessAppleEvent, _AEProcessEvent, _AEResetTimer, _AEResumeTheCurrentEvent, _AESend, _AESetInteractionAllowed, _AESetTheCurrentEvent, _AESuspendTheCurrentEvent, _AXNotificationHIObjectNotify, _AXNotificationHIObjectNotifyWithUserInfo, _AXUIElementCreateWithHIObjectAndIdentifier, _AXUIElementGetHIObject, _AXUIElementGetIdentifier, _AcquireFirstMatchingEventInQueue, _AcquireRootMenu, _ActivateControl, _ActivateTSMDocument, _ActivateWindow, _ActiveNonFloatingWindow, _AddDataBrowserItems, _AddEventTypesToHandler, _AppendDITL, _AppendMenuItemTextWithCFString, _BeginAppModalStateForWindow, _BeginWindowProxyDrag, _BlockUntilNextEventMatchingListInMode, _BringToFront, _Button, _CalcMenuSize, _CallNextEventHandler, _CancelMenuTracking, _ChangeMenuAttributes, _ChangeMenuItemAttributes, _ChangeWindowAttributes, _CheckEventQueueForUserCancel, _CheckMenuItem, _ClearKeyboardFocus, _ClearMenuBar, _CollapseAllWindows, _CollapseWindow, _ConfirmAppShowHideEvent, _ConstrainWindowToScreen, _ConvertEventRefToEventRecord, _CopyControlTitleAsCFString, _CopyEvent, _CopyEventAs, _CopyEventCGEvent, _CopyMenuItemData, _CopyMenuItemTextAsCFString, _CopyMenuItems, _CopyMenuTitleAsCFString, _CopySymbolicHotKeys, _CopyThemeIdentifier, _CopyWindowTitleAsCFString, _CountDITL, _CountMenuItems, _CreateCheckBoxControl, _CreateEvent, _CreateEventWithCGEvent, _CreateIconControl, _CreateLocaleIdentifierForItl0Itl1ResID, _CreateMenuFromNib, _CreateNewMenu, _CreateNewWindow, _CreateNibReference, _CreateNibReferenceWithCFBundle, _CreatePushButtonControl, _CreateRootControl, _CreateShrinkToFitEditControl, _CreateStandardAlert, _CreateStandardSheet, _CreateStandardWindowMenu, _CreateStaticTextControl, _CreateTypeStringWithOSType, _CreateWindowFromNib, _CreateWindowGroup, _CreateWindowWithCGSWindow, _DeactivateControl, _DeactivateTSMDocument, _DebugPrintAllWindowGroups, _DebugPrintControl, _DebugPrintControlHierarchy, _DebugPrintDialogInfo, _DebugPrintEvent, _DebugPrintEventQueue, _DebugPrintMainEventQueue, _DebugPrintMenu, _DebugPrintMenuItem, _DebugPrintMenuList, _DebugPrintTracedEvents, _DebugPrintWindow, _DebugPrintWindowGroup, _DebugPrintWindowList, _DebugSetEventTraceEnabled, _DebugTraceEvent, _DebugTraceEventByName, _DeleteMenu, _DeleteMenuItem, _DeleteMenuItems, _DeleteTSMDocument, _DetachSheetWindow, _DialogSelect, _DisableControl, _DisableMenuCommand, _DisableMenuItem, _DisableScreenUpdates, _DisableSecureEventInput, _DisposeNibReference, _DisposeWindow, _DragWindow, _DrawMenuBar, _EnableControl, _EnableMenuItem, _EnableScreenUpdates, _EnableSecureEventInput, _EndAppModalStateForWindow, _EndWindowProxyDrag, _EventAvail, _FindControlUnderMouse, _FindSpecificEventInQueue, _FindWindow, _FixTSMDocument, _FlashMenuBar, _FlushEventQueue, _FlushEvents, _FlushEventsMatchingListFromQueue, _FlushSpecificEventsFromQueue, _FrontNonFloatingWindow, _FrontWindow, _GetApplicationEventTarget, _GetApplicationScript, _GetApplicationTextEncoding, _GetBestControlRect, _GetCFRunLoopFromEventLoop, _GetCarbonAccessibilityCallbacks, _GetCaretTime, _GetControlBounds, _GetControlByID, _GetControlData, _GetControlEventTarget, _GetControlFeatures, _GetControlHilite, _GetControlKind, _GetControlOwner, _GetControlProperty, _GetControlValue, _GetCurrentButtonState, _GetCurrentEvent, _GetCurrentEventButtonState, _GetCurrentEventKeyModifiers, _GetCurrentEventLoop, _GetCurrentEventQueue, _GetCurrentEventTime, _GetCurrentKeyModifiers, _GetDataBrowserItemCount, _GetDataBrowserItemState, _GetDataBrowserItems, _GetDataBrowserPropertyFlags, _GetDataBrowserSelectionAnchor, _GetDataBrowserSelectionFlags, _GetDataBrowserTableViewColumnPosition, _GetDataBrowserTableViewColumnWidth, _GetDataBrowserTableViewNamedColumnWidth, _GetDataBrowserTableViewRowHeight, _GetDblTime, _GetDialogFromWindow, _GetDialogItem, _GetDialogItemAsControl, _GetDialogWindow, _GetEventAttributes, _GetEventClass, _GetEventDispatcherTarget, _GetEventKind, _GetEventMonitorTarget, _GetEventParameter, _GetEventRetainCount, _GetEventTime, _GetFrontWindowOfClass, _GetGrayRgn, _GetIndMenuItemWithCommandID, _GetIndexedSubControl, _GetItemMark, _GetItlResourceIDsForLocale, _GetKeyboardFocus, _GetKeys, _GetMBarHeight, _GetMainEventLoop, _GetMainEventQueue, _GetMenuAttributes, _GetMenuDefinition, _GetMenuEventTarget, _GetMenuHandle, _GetMenuHeight, _GetMenuID, _GetMenuItemAttributes, _GetMenuItemBounds, _GetMenuItemCommandID, _GetMenuItemCommandKey, _GetMenuItemHierarchicalMenu, _GetMenuItemModifiers, _GetMenuItemProperty, _GetMenuItemRefCon, _GetMenuTitleIcon, _GetMenuTrackingData, _GetMenuType, _GetMenuWidth, _GetNativeWindowFromWindowRef, _GetNextMenu, _GetNextWindow, _GetNextWindowOfClass, _GetNumEventsInQueue, _GetPreviousMenu, _GetPreviousWindow, _GetRootControl, _GetSheetWindowParent, _GetStandardAlertDefaultParams, _GetSuperControl, _GetSymbolicHotKeyMode, _GetSystemUIMode, _GetThemeBrushAsColor, _GetThemeMenuBarHeight, _GetThemeMenuItemExtra, _GetThemeMenuSeparatorHeight, _GetThemeMenuTitleExtra, _GetThemeMetric, _GetThemeTextColor, _GetThemeTextShadowOutset, _GetUserFocusEventTarget, _GetUserFocusWindow, _GetWRefCon, _GetWindowActivationScope, _GetWindowAttributes, _GetWindowBounds, _GetWindowCancelButton, _GetWindowClass, _GetWindowDefaultButton, _GetWindowEventTarget, _GetWindowFeatures, _GetWindowGroup, _GetWindowGroupLevel, _GetWindowGroupOfClass, _GetWindowGroupParent, _GetWindowIdealUserState, _GetWindowKind, _GetWindowList, _GetWindowModality, _GetWindowPortBounds, _GetWindowProperty, _GetWindowRefFromNativeWindow, _GetWindowStandardState, _GetWindowSystemProperty, _HICopyAccessibilityActionDescription, _HICopyAccessibilityRoleDescription, _HIDictionaryWindowShow, _HIGetMousePosition, _HIGetScaleFactor, _HIGrowBoxViewIsTransparent, _HIGrowBoxViewSetTransparent, _HIMenuCopyFont, _HIMenuCopyParents, _HIMenuGetContentView, _HIMenuItemViewCancelMenuTracking, _HIMenuItemViewGetEnclosingMenuItem, _HIMenuSetAttributedItemText, _HIMenuSetFont, _HIMenuSetSelection, _HIMouseTrackingGetParameters, _HIObjectAddDelegate, _HIObjectCopyClassID, _HIObjectCopyDelegates, _HIObjectCreate, _HIObjectCreateFromBundle, _HIObjectDynamicCast, _HIObjectFromEventTarget, _HIObjectGetEventHandlerObject, _HIObjectGetEventTarget, _HIObjectIsAccessibilityIgnored, _HIObjectIsArchivingIgnored, _HIObjectIsOfClass, _HIObjectOverrideAccessibilityContainment, _HIObjectPrintDebugInfo, _HIObjectRegisterSubclass, _HIObjectRemoveDelegate, _HIObjectSetAccessibilityIgnored, _HIObjectSetAuxiliaryAccessibilityAttribute, _HIObjectUnregisterClass, _HIPointConvert, _HIRectConvert, _HIScrollViewCreate, _HIScrollViewGetAllowGrow, _HIScrollViewGetScrollBarAutoHide, _HIScrollViewSetAllowGrow, _HIScrollViewSetScrollBarAutoHide, _HISearchFieldChangeAttributes, _HISearchFieldCreate, _HISearchFieldGetAttributes, _HISearchWindowShow, _HISegmentedViewChangeSegmentAttributes, _HISegmentedViewGetSegmentBehavior, _HISegmentedViewGetSegmentCommand, _HISegmentedViewGetSegmentCount, _HISegmentedViewIsSegmentEnabled, _HISegmentedViewSetSegmentBehavior, _HISegmentedViewSetSegmentCommand, _HISegmentedViewSetSegmentContentWidth, _HISegmentedViewSetSegmentCount, _HISegmentedViewSetSegmentEnabled, _HISegmentedViewSetSegmentImage, _HISizeConvert, _HITextViewCreate, _HITextViewGetTXNObject, _HIThemeApplyBackground, _HIThemeBeginFocus, _HIThemeBrushCreateCGColor, _HIThemeDrawBackground, _HIThemeDrawButton, _HIThemeDrawChasingArrows, _HIThemeDrawFocusRect, _HIThemeDrawFrame, _HIThemeDrawGenericWell, _HIThemeDrawGrabber, _HIThemeDrawGroupBox, _HIThemeDrawGrowBox, _HIThemeDrawHeader, _HIThemeDrawMenuBackground, _HIThemeDrawMenuBarBackground, _HIThemeDrawMenuItem, _HIThemeDrawMenuSeparator, _HIThemeDrawMenuTitle, _HIThemeDrawPaneSplitter, _HIThemeDrawPlacard, _HIThemeDrawPopupArrow, _HIThemeDrawScrollBarDelimiters, _HIThemeDrawSegment, _HIThemeDrawSeparator, _HIThemeDrawTab, _HIThemeDrawTabPane, _HIThemeDrawTextBox, _HIThemeDrawTickMark, _HIThemeDrawTitleBarWidget, _HIThemeDrawTrack, _HIThemeDrawTrackTickMarks, _HIThemeDrawWindowFrame, _HIThemeEndFocus, _HIThemeGetButtonBackgroundBounds, _HIThemeGetButtonContentBounds, _HIThemeGetButtonShape, _HIThemeGetGrowBoxBounds, _HIThemeGetMenuBackgroundShape, _HIThemeGetScrollBarTrackRect, _HIThemeGetTabDrawShape, _HIThemeGetTabPaneContentShape, _HIThemeGetTabPaneDrawShape, _HIThemeGetTabShape, _HIThemeGetTextColorForThemeBrush, _HIThemeGetTextDimensions, _HIThemeGetTrackBounds, _HIThemeGetTrackDragRect, _HIThemeGetTrackLiveValue, _HIThemeGetTrackPartBounds, _HIThemeGetTrackParts, _HIThemeGetTrackThumbPositionFromBounds, _HIThemeGetTrackThumbPositionFromOffset, _HIThemeGetTrackThumbShape, _HIThemeGetUIFontType, _HIThemeGetWindowRegionHit, _HIThemeGetWindowShape, _HIThemeHitTestScrollBarArrows, _HIThemeHitTestTrack, _HIThemeSetFill, _HIThemeSetStroke, _HIThemeSetTextFill, _HIThemeSetTextStroke, _HIToolbarAppendItem, _HIToolbarChangeAttributes, _HIToolbarCopyItems, _HIToolbarCreate, _HIToolbarCreateItemWithIdentifier, _HIToolbarGetDisplayMode, _HIToolbarGetDisplaySize, _HIToolbarItemChangeAttributes, _HIToolbarItemChangeAttributesInWindow, _HIToolbarItemCopyIdentifier, _HIToolbarItemCreate, _HIToolbarItemGetCommandID, _HIToolbarItemGetToolbar, _HIToolbarItemSetCommandID, _HIToolbarItemSetHelpText, _HIToolbarItemSetIconRef, _HIToolbarItemSetLabel, _HIToolbarItemSetMenu, _HIToolbarRemoveItemAtIndex, _HIToolbarSetDelegate, _HIToolbarSetDisplayMode, _HIToolbarSetDisplaySize, _HIViewAddSubview, _HIViewAdvanceFocus, _HIViewApplyLayout, _HIViewChangeFeatures, _HIViewConvertPoint, _HIViewConvertRect, _HIViewCopyText, _HIViewCountSubviews, _HIViewCreateOffscreenImage, _HIViewDisposeTrackingArea, _HIViewDrawCGImage, _HIViewFindByID, _HIViewFlashDirtyArea, _HIViewGetBounds, _HIViewGetCommandID, _HIViewGetFeatures, _HIViewGetFirstSubview, _HIViewGetFocus, _HIViewGetFocusPart, _HIViewGetFrame, _HIViewGetID, _HIViewGetIndexedSubview, _HIViewGetKind, _HIViewGetLayoutInfo, _HIViewGetMaximum, _HIViewGetMinimum, _HIViewGetNextView, _HIViewGetOptimalBounds, _HIViewGetRoot, _HIViewGetSuperview, _HIViewGetThemeTextInfo, _HIViewGetTrackingAreaID, _HIViewGetValue, _HIViewGetViewForMouseEvent, _HIViewGetViewSize, _HIViewGetWindow, _HIViewIsActive, _HIViewIsCompositingEnabled, _HIViewIsDrawingEnabled, _HIViewIsEnabled, _HIViewIsLatentlyVisible, _HIViewIsLayoutActive, _HIViewIsLayoutLatentlyActive, _HIViewIsVisible, _HIViewMoveBy, _HIViewNewTrackingArea, _HIViewRegionChanged, _HIViewRemoveFromSuperview, _HIViewRender, _HIViewResumeLayout, _HIViewScrollRect, _HIViewSetActivated, _HIViewSetBoundsOrigin, _HIViewSetCommandID, _HIViewSetDrawingEnabled, _HIViewSetEnabled, _HIViewSetFocus, _HIViewSetFrame, _HIViewSetHilite, _HIViewSetID, _HIViewSetLayoutInfo, _HIViewSetMaximum, _HIViewSetMinimum, _HIViewSetNeedsDisplay, _HIViewSetNeedsDisplayInRect, _HIViewSetNeedsDisplayInShape, _HIViewSetSubviewsNeedDisplayInShape, _HIViewSetText, _HIViewSetTextFont, _HIViewSetTextHorizontalFlush, _HIViewSetTextTruncation, _HIViewSetTextVerticalFlush, _HIViewSetValue, _HIViewSetViewSize, _HIViewSetVisible, _HIViewSetZOrder, _HIViewSimulateClick, _HIViewSubtreeContainsFocus, _HIViewSuspendLayout, _HIWindowChangeAttributes, _HIWindowChangeClass, _HIWindowChangeFeatures, _HIWindowCopyAvailablePositioningShape, _HIWindowFindAtLocation, _HIWindowFlush, _HIWindowFromCGWindowID, _HIWindowGetAvailablePositioningBounds, _HIWindowGetBounds, _HIWindowGetCGWindowID, _HIWindowGetGreatestAreaDisplay, _HIWindowGetScaleMode, _HIWindowIsDocumentModalTarget, _HIWindowSetBottomBarHeight, _HIWindowTestAttribute, _HMAreHelpTagsDisplayed, _HMGetTagDelay, _HMInstallControlContentCallback, _HMSetControlHelpContent, _HMSetHelpTagsDisplayed, _HMSetMenuItemHelpContent, _HMSetTagDelay, _HandleControlSetCursor, _HideControl, _HideMenuBar, _HideSheetWindow, _HideWindow, _HiliteControl, _HiliteMenu, _HiliteWindow, _IMKBaselineKey, _IMKChromaticMarkedTextAttributeName, _IMKDictationHilightAttributeName, _IMKDictationHilightHypothesisDeltaAttributeName, _IMKDictationInsertionUndoableAttributeName, _IMKIronwoodTextAlternativeCorrectedKey, _IMKIronwoodTextAlternativeCorrectionIDKey, _IMKIronwoodTextAlternativeOriginalKey, _IMKIronwoodTextAlternativesAttributeName, _IMKIronwoodTextAlternativesKey, _IMKLineAscentKey, _IMKLineHeightKey, _IMKTextOrientationName, _INIT_ScriptHL, _InitDataBrowserCallbacks, _InitDataBrowserCustomCallbacks, _InsertMenu, _InsertMenuItemTextWithCFString, _InstallEventHandler, _InstallEventLoopIdleTimer, _InstallEventLoopTimer, _InstallEventLoopTimerInMode, _InstallInputSourceMgrHandlers, _InstallStandardEventHandler, _IntlCountResources, _IntlGetIndexedResInfo, _IntlGetScriptCustomResourceID, _IntlGetValue, _IntlResourceIDToScriptCode, _IntlSetValue, _InvalMenuBar, _InvalidateMenuBarFilter, _InvalidateMenuItems, _InvalidateMenuSize, _IsAutomaticControlDragTrackingEnabledForWindow, _IsCmdChar, _IsControlActive, _IsControlDragTrackingEnabled, _IsControlHilited, _IsControlVisible, _IsCurrentTSMDocumentUnicode, _IsDataBrowserItemSelected, _IsEventInInstantMouser, _IsEventInQueue, _IsMenuBarVisible, _IsMenuItemEnabled, _IsMenuKeyEvent, _IsMenuSizeInvalid, _IsMouseCoalescingEnabled, _IsSecureEventInputEnabled, _IsShowContextualMenuEvent, _IsUserCancelEventRef, _IsValidControlHandle, _IsValidMenu, _IsValidWindowPtr, _IsWindowActive, _IsWindowCollapsed, _IsWindowHilited, _IsWindowInStandardState, _IsWindowLatentVisible, _IsWindowPathSelectEvent, _IsWindowToolbarVisible, _IsWindowVisible, _KBGetLayoutType, _KLCreateKCAPDataForKbdType, _KeyEventMatchesMenuItem, _KeyTranslate, _LMGetKbdLast, _LMGetKbdType, _LMGetKeyRepThresh, _LMGetKeyThresh, _LMSetKbdLast, _LMSetKbdType, _LMSetKeyRepThresh, _LMSetKeyThresh, _LaunchAppleCharacterPalette, _MenuEvent, _MenuSelect, _MoveControl, _MoveWindow, _MoveWindowStructure, _NMInstall, _NMRemove, _NewTSMDocument, _OpenThemeResFileMapped, _ParamText, _PopSymbolicHotKeyMode, _PopUpMenuSelect, _PostEvent, _PostEventToQueue, _PostEventToQueueInternal, _PostFakeMenuSelectionEvent, _ProcessHICommand, _ProcessInputSourceSwitchEventCandidate, _ProcessInputSourceSwitchKeySequenceCandidate, _PushSymbolicHotKeyMode, _QuitAppModalLoopForWindow, _QuitApplicationEventLoop, _QuitEventLoop, _ReceiveNextEvent, _RegisterEventHotKey, _RegisterSystemToolboxListenerWithOptions, _ReleaseEvent, _RemoveControlProperty, _RemoveDataBrowserItems, _RemoveEventFromQueue, _RemoveEventHandler, _RemoveEventLoopTimer, _RemoveEventParameter, _RemoveEventTypesFromHandler, _RemoveMenuItemProperty, _RemoveWindowProperty, _RemoveWindowProxy, _RepositionWindow, _RetainEvent, _RevealDataBrowserItem, _RunAppModalLoopForWindow, _RunApplicationEventLoop, _RunCurrentEventLoop, _RunStandardAlert, _SelectWindow, _SendBehind, _SendEventToEventTarget, _SendEventToEventTargetWithOptions, _SendTextInputEvent, _SendWindowGroupBehind, _SetAnimatedThemeCursor, _SetApplicationDockTileMenu, _SetAutomaticControlDragTrackingEnabledForWindow, _SetBevelButtonContentInfo, _SetCocoaAccessibilityCallbacks, _SetControlAction, _SetControlCommandID, _SetControlData, _SetControlDragTrackingEnabled, _SetControlFontStyle, _SetControlID, _SetControlProperty, _SetControlTitleWithCFString, _SetControlValue, _SetControlVisibility, _SetDataBrowserCallbacks, _SetDataBrowserCustomCallbacks, _SetDataBrowserItemDataIcon, _SetDataBrowserItemDataText, _SetDataBrowserPropertyFlags, _SetDataBrowserSelectedItems, _SetDataBrowserSelectionFlags, _SetDataBrowserSortProperty, _SetDataBrowserTableViewColumnPosition, _SetDataBrowserTableViewColumnWidth, _SetDataBrowserTableViewGeometry, _SetDataBrowserTableViewNamedColumnWidth, _SetDialogItemRectangle, _SetDialogTimeout, _SetEventLoopTimerNextFireTime, _SetEventParameter, _SetEventTime, _SetItemMark, _SetItemStyle, _SetKeyboardFocus, _SetMenuBarFromNib, _SetMenuDefinition, _SetMenuExcludesMarkColumn, _SetMenuItemCommandID, _SetMenuItemCommandKey, _SetMenuItemHierarchicalMenu, _SetMenuItemIconHandle, _SetMenuItemIndent, _SetMenuItemKeyGlyph, _SetMenuItemModifiers, _SetMenuItemProperty, _SetMenuItemRefCon, _SetMenuItemTextWithCFString, _SetMenuTitleIcon, _SetMenuTitleWithCFString, _SetModalDialogEventMask, _SetMouseCoalescingEnabled, _SetNextMenu, _SetRootMenu, _SetSystemAppMenuSectionAllowed, _SetSystemUIMode, _SetThemeCursor, _SetThemeWindowBackground, _SetUserFocusWindow, _SetWindowActivationScope, _SetWindowAlternateTitle, _SetWindowBounds, _SetWindowCancelButton, _SetWindowDefaultButton, _SetWindowGroup, _SetWindowGroupLevel, _SetWindowIdealUserState, _SetWindowModality, _SetWindowModified, _SetWindowProperty, _SetWindowProxyAlias, _SetWindowProxyIcon, _SetWindowResizeLimits, _SetWindowTitleWithCFString, _SetWindowToolbar, _ShowControl, _ShowHide, _ShowHideWindowToolbar, _ShowMenuBar, _ShowSheetWindow, _ShowWindow, _SizeControl, _SizeWindow, _StdFilterProc, _SyncWindowToCGSWindow, _TISCapsLockSwitchShouldKeyboardLayoutUseAlternateForModifiers, _TISCopyCurrentASCIICapableKeyboardInputSource, _TISCopyCurrentASCIICapableKeyboardLayoutInputSource, _TISCopyCurrentKeyboardInputSource, _TISCopyCurrentKeyboardLayoutInputSource, _TISCopyCurrentNonRomanInputSourceForRomanSwitch, _TISCopyInputMethodKeyboardLayoutOverride, _TISCopyInputSourceForLanguage, _TISCopyInputSourceRefForInputSourceID, _TISCopyInputSourcesForAttachedKeyboardsFilteredByLocale, _TISCreateASCIICapableInputSourceList, _TISCreateCompressedInfoStringForInputSource, _TISCreateDefaultASCIIInputSourceForLocale, _TISCreateInputSourceList, _TISCreatePrunedPreferredInputSourcesWithABC, _TISCreateSecureKeyboardInputSourceList, _TISDeselectInputSource, _TISDisableInputSource, _TISEnableInputSource, _TISEnableInputSourceWithOptions, _TISGetAppleKeyLayoutCount, _TISGetAppleKeyLayoutIndexForKeyLayoutName, _TISGetAppleKeyLayoutIndexForNumericID, _TISGetAppleKeyLayoutKLPropertyAtIndex, _TISGetDictationShouldAutoEnable, _TISGetFnUsageType, _TISGetGestureHandwritingState, _TISGetInputSourceProperty, _TISHardwareSupportsGestureHandwriting, _TISInputMethodDataFileReaderCreateBasicProperties, _TISInputMethodDataFileReaderCreatePropertyListAndWordList, _TISInputSourceGetTypeID, _TISIsKeyboardLayoutCapsLockSwitchAllowed, _TISIsKeyboardLayoutCapsLockSwitched, _TISIsRomanSwitchAllowed, _TISIsRomanSwitchEnabled, _TISKeyboardLayoutInputSourceIsQWERTY, _TISLaunchCharacterPalette, _TISPerformInputMethodDependentBlockDuringWorkBlock, _TISPrefsCopyCurrentKeyboardLayoutID, _TISPrefsUserSnapshotCopyForMachinePrefs, _TISRegisterInputSource, _TISSelectInputSource, _TISSetDefaultAsciiCapableKeyboardLayoutInputSource, _TISSetDictationShouldAutoEnable, _TISSetExtensionsForIntlFileCacheUpdate, _TISSetGestureHandwritingState, _TISSetInputMethodKeyboardLayoutOverride, _TISSetRomanSwitchState, _TISUpdateFnUsageType, _TISUpdateIntlFileCache, _TISUpdaterEnsureKotoeriHiraganaModeForSUMavericks, _TISUpdaterMigrateDictationAutoEnableFromSpeechRecognition, _TISUpdaterMigrateKotoeriToJapaneseIM, _TISUpdaterMigratePrefsFromByHostDomain, _TISWriteKeyLayoutCollection, _TSMCanChangeInputSourceEnabledState, _TSMCopyTextInputGlobalProperty, _TSMCreateInputSourceForKeyboardLayoutRef, _TSMCreateInputSourceRefForIndex, _TSMCurrentKeyboardInputSourceRefCreate, _TSMDefaultAsciiCapableKeyboardLayoutCopy, _TSMDeselectInputSource, _TSMDisableInputSource, _TSMEnableInputSource, _TSMGetActiveDocument, _TSMGetDeadKeyState, _TSMGetDocumentProperty, _TSMGetInputSourceCount, _TSMGetInputSourceProperty, _TSMGetIronwoodSessionState, _TSMInvalidateClientGeometry, _TSMIsInkWithMouseEnabled, _TSMIsInputSourceAsciiCapable, _TSMIsPressAndHoldActive, _TSMKeyTranslateWithInputSource, _TSMProcessIronwoodSessionAction, _TSMProcessMouseEvent, _TSMProcessMouseEventWithCompletionHandler, _TSMProcessRawKeyCode, _TSMProcessRawKeyEvent, _TSMProcessRawKeyEventWithCompletionHandler, _TSMProcessRawKeyEventWithOptionsAndCompletionHandler, _TSMProcessTabletEvent, _TSMRecentInputSourcesCreate, _TSMRemoveDocumentProperty, _TSMSelectInputSource, _TSMSetCurrentAsciiCapableInputSource, _TSMSetDeadKeyState, _TSMSetDocumentProperty, _TSMSetInkWithMouseEnabled, _TSMSetInputMethodProperty, _TSMSetTextInputGlobalProperty, _TSMShouldTextInputMenuBeDisplayed, _TSMUnrestrictInputSourceAccess, _TSMUpgradePrefBundleIDsToLeopard, _TSMUpgradeScriptMgrPrefsToInputSourcePrefs, _TXNAdjustCursor, _TXNClear, _TXNCopy, _TXNDataSize, _TXNGetData, _TXNGetHIRect, _TXNGetIndexedRunInfoFromRange, _TXNGetSelection, _TXNIsScrapPastable, _TXNPaste, _TXNSelectAll, _TXNSetData, _TXNSetDataFromCFURLRef, _TXNSetHIRectBounds, _TXNSetSelection, _TXNSetTXNObjectControls, _TXNShowSelection, _TestWindowLiveResizePerformance, _TrackWindowProxyFromExistingDrag, _TransitionWindow, _TransitionWindowWithOptions, _TruncateThemeText, _UnregisterEventHotKey, _UseInputWindow, _WaitNextEvent, _WindowPathSelect, __AcquireMatchingCGEvent, __AcquireMatchingCGEventInQueue, __AcquireNextEvent, __BeginAppModalState, __BeginEventReceiptOnThread, __BlockUntilNextEventMatchingListInModeWithFilter, __CancelMenuTracking, __CheckForMenuCancelEvent, __CloseMenu, __ContextualMenuInsertItems, __ConvertMatchingCGEvents, __CopyCGEventAssociatedData, __CopyMenuItemDataU, __CopyMenuItemTextAsCFStringU, __CountMenuItemsU, __CreateFlattenedInputSource, __CreateInputModeArrayForInputMethodInUIOrder, __CreateInputModeArrayForInputMethodInUIOrderWithOptions, __CreatePrivateDialogRefAndBindToWindowRef, __CreateUnflattenedInputSource, __DeclineBackgroundMouseMovedEvents, __EndAppModalState, __EndEventReceiptOnThread, __EventQueueSetEventLimit, __FlattenMenuItems2, __GetActiveSystemUIMode, __GetActiveSystemUIModeAndOptions, __GetAggregateUIMode, __GetAllEventsOfClass, __GetCurrentMenuContext, __GetDefaultMenuFont, __GetMenuItemBoundsU, __GetMenuItemHierarchicalMenuU, __GetMenuMinimumWidth, __GetMenuTitleBounds, __GetOpenMenuDirection, __GetSymbolicHotKeyValue, __GetSymbolicHotKeyValue2, __GetWindowCGContext, __GetWindowCGOrderingEnabled, __GetWindowReshapingEnabled, __GetWindowZOrderingEnabled, __HIBevelButtonRegisterClass, __HIChasingArrowsRegisterClass, __HICheckBoxRegisterClass, __HIDisableSuddenTerminationForSendEvent, __HIDisclosureButtonRegisterClass, __HIDisclosureTriangleRegisterClass, __HIEnableAutomaticTerminationIfRequestedByPlist, __HIEnableSuddenTerminationForSendEvent, __HIEnableSuddenTerminationIfRequestedByPlist, __HIFullScreenAnimationFinished, __HIFullScreenAnimationPrepare, __HIIconViewRegisterClass, __HIIsSuddenTerminationDisabledForSendEvent, __HIMagnifiedMode, __HIMenuBarGetAppearance, __HIMenuBarGetReveal, __HIMenuBarGetTransitionDuration, __HIMenuBarPositionLock, __HIMenuBarPositionUnlock, __HIMenuBarRequestVisibility, __HIMenuBarSetAppearanceOverride, __HIMenuBarSetAutoHideHeight, __HIMenuBarSetAutoShowDelay, __HIMenuBarSetTransitionDuration, __HIMenuBarShowAsPopupFromKeyboard, __HIMenuCopyItemViewClass, __HIMenuCreateConfiguredMarkImage, __HIMenuDisableAutoDismissal, __HIMenuEnableAutoDismissal, __HIMenuGetBackgroundBleed, __HIMenuGetCommandKey, __HIMenuGetContentDirectionality, __HIMenuGetContentSize, __HIMenuGetEffectiveDirectionality, __HIMenuGetItemView, __HIMenuGetMenuBarHeight, __HIMenuGetMenuBarHeightWithOptions, __HIMenuGetNewItemsCount, __HIMenuIsCarbonMenuKeyEvent, __HIMenuIsDark, __HIMenuPerformKeyboardNavigation, __HIMenuSendItemSelectedEvent, __HIMenuSetCommandKey, __HIMenuSetContentDirectionality, __HIMenuSetContentSize, __HIMenuSetEventProc, __HIMenuSetIndentWidth, __HIMenuSetItemIndent, __HIMenuSetItemViewClass, __HIMenuSetNSImageInterface, __HIMenuSetNewItemsCount, __HIMenuUseBackdrops, __HIMenuViewRegisterClass, __HIPopupButtonRegisterClass, __HIPresentationInstanceCreateForFullScreenSpace, __HIPresentationInstanceCreateWithFullScreenMode, __HIPresentationInstanceDisplayDidChange, __HIPresentationInstanceRelease, __HIPresentationInstanceSetAutoHideHeight, __HIPresentationInstanceSetSpace, __HIPresentationInstanceSetUIMode, __HIPresentationInstanceStartMenuBarAnimation, __HIProgressBarRegisterClass, __HIPushButtonRegisterClass, __HIRadioGroupRegisterClass, __HIRawObjectRegisterClass, __HIRegisterAEWillInteractProc, __HIRoundButtonRegisterClass, __HIScrollViewRegisterClass, __HISegmentViewRegisterClass, __HISegmentViewSetIsInset, __HIShrinkToFitEditRegisterClass, __HISliderRegisterClass, __HIStandardMenuViewRegisterClass, __HIStaticTextViewRegisterClass, __HIStdAppHandlerRegisterClass, __HIStdEventLoopRegisterClass, __HITextFieldRegisterClass, __HITextViewRegisterClass, __HIThemeCreateImage, __HIThemeDrawAppleMenuTitle, __HIThemeDrawSegment, __HIThemeDrawSelectionMarquee, __HIThemeDrawWell, __HIThemeGetChasingArrowDimensions, __HIThemeGetLegacyModeEnabled, __HIThemeGetMenuBarLogoRect, __HIThemeGetMenuCalloutDimensions, __HIThemeGetWindowGrowSides, __HIThemeGetWindowTitleBaselineOffset, __HIThemeRefreshPreferences, __HIThemeSetColor, __HIThemeSetDrawingCallback, __HIThemeSetTextColor, __HIToolbarItemRegisterClass, __HIToolbarViewRegisterClass, __HIViewAdvanceFocusFollowingView, __HIViewCopyVisibleShape, __HIViewNotifySetFocusPart, __HIViewRegisterClass, __HIViewScrollRectWithOptions, __HIWindowFrameViewRegisterClass, __HIWindowSetAutoReleaseFocus, __HIWindowSetNeedsQDPrepWhenDrawingViews, __HLTBAddEventSourceToMode, __HLTBRemoveEventSourceFromMode, __HandleHelpSymbolicHotKey, __HandleMenuSelection, __HandlePopUpMenuSelection7, __HandlePopUpMenuSelectionWithDictionary, __HiliteMenuTitle, __InstallEventLoopObserver, __InvalidateAllEnabledInputSourceState, __InvalidateAllInputSourceState, __InvalidateAllSelectedInputSourceState, __IsFullTabbingEnabled, __IsMenuAlreadyPopulated, __IsMenuItemEnabledU, __IsSymbolicHotKeyEvent, __LoadPerformanceMenu, __MenuIterCreate, __MenuIterFirst, __MenuIterNext, __MenuIterRelease, __NotifyEventLoopObservers, __OpenMenuWithOptions, __OpenSubmenuFromItem, __OpenSubmenuFromItemWithOptions, __PostCGEventToQueue, __PushMouseCoalescingState, __QuitAppModalLoop, __RegisterSharedDockClientWithRunLoop, __RemoveCGEventFromQueue, __RemoveEventLoopObserver, __RemoveMouseCoalescingState, __RequestBackgroundMouseMovedEvents, __RunAppModalLoop, __SetAppleMenuEnabled, __SetAppleMenuInstallerMode, __SetBaroloFullScreenModeUIMode, __SetCGEventAssociatedData, __SetCGEventConversionFilter, __SetDefaultMenuFont, __SetFullTabbingEnabled, __SetJavaThreadHook, __SetMenuCallout, __SetMenuItemIconSize, __SetMenuMinimumWidth, __SetMenuTrackingShouldReraiseNSExceptions, __SetMenuWindowLevel, __SetOpenMenuOrigin, __SetWindowCGOrderingEnabled, __SetWindowReshapingEnabled, __SetWindowZOrderingEnabled, __SimulateMenuClosed, __SimulateMenuOpening, __SimulateMenuSelection, __SimulateMenuSelectionU, __StartSystemUIModeMenuBarAnimation, __SyncWindowWithCGAfterMove, __TISCopyParentInputMethodForInputSource, __TISCreateEnabledInputSourcePrefs, __TISGetPhysicalKeyboardLanguage, __TISRestrictToReadOnlyMachinePrefs, __TISUpdateEnabledInputSourcePrefs, __TSMCopySelectableInputSourcesInUIOrder, __TSMInvalidateDocumentClient, __TSMIsRemoteViewAccessoryView, __TSMIsRemoteViewKeyEquivalentHandling, __TSMParentInputMethodInputSourceForInputModeCreate, __TSMRegisterRemoteViewClient, __TSMRemoteViewActivationIsOn, __TSMSetRemoteViewActivation, __TSMSetRemoteViewIsAccessoryView, __TSMSetRemoteViewKeyEquivalentHandling, __TSMWouldEventBeProcessedByPressAndHold, ___CDCreateScreenFramesDictionaryRepresentation, ___CoreDragAnimateOrderOut, ___CoreDragAutoScaleSourceDragComponents, ___CoreDragBeginDropAnimationTransaction, ___CoreDragBeginFlockingAnimation, ___CoreDragBeginSlideBackAnimation, ___CoreDragBeginUnflockingAnimation, ___CoreDragCancelDropAnimationTransaction, ___CoreDragCancelOutstandingFlockingAnimation, ___CoreDragClearAllImageOverrides, ___CoreDragCommitDropAnimationTransaction, ___CoreDragCreateCFStringFromCGEvent, ___CoreDragCreateDictionaryRepOfLayerTree, ___CoreDragCreateImageData, ___CoreDragCreateImageDataFromCFDictionary, ___CoreDragCreateImageDataWithComponentsBlock, ___CoreDragCreateImageDataWithImage, ___CoreDragGetValueForKey, ___CoreDragHasImageOverrides, ___CoreDragImageDataCreateDictionaryRepresentation, ___CoreDragImageDataDeleteSlotForCAContext, ___CoreDragImageDataGetComponentsBlock, ___CoreDragImageDataGetItemRef, ___CoreDragImageDataSet, ___CoreDragItemGetImageComponents, ___CoreDragItemGetImageData, ___CoreDragItemGetScreenFrame, ___CoreDragItemHasAlternate, ___CoreDragItemSetImageComponents, ___CoreDragReleaseImageData, ___CoreDragResetAutoScaleSourceDragComponents, ___CoreDragSetDestClippingRect, ___CoreDragSetRootCALayer, ___CoreDragSetSourceClippingRect, ___CoreDragSetValueForKey, ___CoreDragSetupDragImageLayers, ___CoreDragUpdateClippingSuperLayer, ___CoreDragUpdateDragLayerContent, ___CoreDragUpdateFlockingFormation, ___CoreDragUpdateLayerPositions, ___DisposeLayerBackedSurfaceAndRender, ___DragInfoCopyFilterParams, ___DragInfoPtrClearAllImageOverrides, ___DragInfoPtrCreateDictionaryRepresentationForImageData, ___DragInfoPtrGetCAContext, ___DragInfoPtrGetComponentDataForItem, ___DragInfoPtrGetImageDataForItem, ___DragInfoPtrHasImageOverrides, ___DragInfoPtrImageDataCount, ___DragInfoPtrMergeRemoteOverrides, ___DragInfoPtrMergeSourceImagesForDestinationContext, ___DragInfoPtrSetDestClippingRect, ___DragInfoPtrSetValueForKey, ___DragInfoSetAlpha, ___InitLayerBackedDragWindow, _kHIDelegateAfterKey, _kHIDelegateBeforeKey, _kHIObjectCustomDataClassIDKey, _kHIObjectCustomDataDelegateGroupParametersKey, _kHIObjectCustomDataParameterNamesKey, _kHIObjectCustomDataParameterTypesKey, _kHIObjectCustomDataParameterValuesKey, _kHIObjectCustomDataSuperClassIDKey, _kHIObjectInitParamDescription, _kHIObjectInitParamEventName, _kHIObjectInitParamEventType, _kHIObjectInitParamUserName, _kHITextViewClassID, _kHIToolboxVersionNumber, _kHIViewMenuContentID, _kHIViewWindowContentID, _kHIViewWindowGrowBoxID, _kIMKRequestInputMethodsCheckinEndpoints, _kIMKXPCPrivateRunLoopMode, _kTISAppleCharacterPaletteInputSourceID, _kTISAppleChineseHandwritingInputSourceID, _kTISAppleEmojiDFRPaletteInputSourceID, _kTISAppleJapaneseKanaPaletteInputSourceID, _kTISAppleKeyboardViewerPaletteInputSourceID, _kTISApplePressAndHoldInputSourceID, _kTISAppleSyntheticRomanModeInputSourceID, _kTISCategoryInkInputSource, _kTISCategoryKeyboardInputSource, _kTISCategoryPaletteInputSource, _kTISIterationPropertyPreferredInputSourceLocalePart, _kTISNotifyEnabledKeyboardInputSourcesChanged, _kTISNotifyEnabledNonKeyboardInputSourcesChanged, _kTISNotifyHandwritingInputSourceChanged, _kTISNotifyInstalledInputSourcesChanged, _kTISNotifyIronwoodAutoEnableChanged, _kTISNotifySelectedKeyboardInputSourceChanged, _kTISPlistKeyCapsLockIsSwitch, _kTISPlistKeyCapsLockIsSwitchToIMRomanMode, _kTISPlistKeyDoubleSpaceSubstitution, _kTISPlistKeyHandwritingLanguages, _kTISPlistKeyIconLabels, _kTISPlistKeyIconShouldBeTemplate, _kTISPlistKeyInputSourceID, _kTISPlistKeyIntendedLanguage, _kTISPlistKeyParticipatesInTouchBar, _kTISPropertyAlternateIconImage, _kTISPropertyBundleID, _kTISPropertyDataFileProperties, _kTISPropertyDataFileWordList, _kTISPropertyHandwritingLanguages, _kTISPropertyHandwritingLocalizedNames, _kTISPropertyIconFamilyOrURL, _kTISPropertyIconImage, _kTISPropertyIconImageURL, _kTISPropertyIconRef, _kTISPropertyIconShouldBeTemplate, _kTISPropertyInputModeID, _kTISPropertyInputSourceCategory, _kTISPropertyInputSourceDoesCapsLockSwitch, _kTISPropertyInputSourceDoesCapsLockSwitchToRomanMode, _kTISPropertyInputSourceDoubleSpaceSubstitution, _kTISPropertyInputSourceID, _kTISPropertyInputSourceIconLabels, _kTISPropertyInputSourceIsASCIICapable, _kTISPropertyInputSourceIsEnableCapable, _kTISPropertyInputSourceIsEnabled, _kTISPropertyInputSourceIsFromSystem, _kTISPropertyInputSourceIsInvisible, _kTISPropertyInputSourceIsSelectCapable, _kTISPropertyInputSourceIsSelected, _kTISPropertyInputSourceLanguages, _kTISPropertyInputSourceLocalePartsForPreferred, _kTISPropertyInputSourceOverrideCapsLockDelay, _kTISPropertyInputSourceParticipatesInTouchBar, _kTISPropertyInputSourceType, _kTISPropertyIntendedLanguage, _kTISPropertyKeyLayoutName, _kTISPropertyKeyLayoutNumber, _kTISPropertyLocale, _kTISPropertyLocalizedName, _kTISPropertyRepertoireSetPattern, _kTISPropertyScriptCode, _kTISPropertyUSBCountry, _kTISPropertyUnicodeKeyLayoutData, _kTISTypeCharacterPalette, _kTISTypeInk, _kTISTypeKeyboardInputMethodModeEnabled, _kTISTypeKeyboardInputMethodWithoutModes, _kTISTypeKeyboardInputMode, _kTISTypeKeyboardLayout, _kTISTypeKeyboardSyntheticRomanMode, _kTISTypeKeyboardViewer ] reexports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _ShowHideProcess ] ...
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/IMKInputSession.h
/* File: IMKInputSession.h Contains: IMKInputSession Interfaces. Copyright: (c) 2006 by Apple Computer, Inc., all rights reserved. */ /*! @header @abstract This header contains the protocol that is used to communicate with client input sessions. An input method uses this protocol to send text or obtain information about a client's text. */ #ifndef __IMKINPUTSESSION__ #define __IMKINPUTSESSION__ //to use this header you must use Objective-C. This will be part of HIToolbox/HIToolbox.h and many people who include that header //do not use Objective-C. #ifdef __OBJC__ #import <Foundation/Foundation.h> #import <HIToolbox/TextServices.h> /*! @enum IMKLocationToOffsetMappingMode @abstract List modes for mapping a screen location to a text offset. @discussion Often how a screen location should be mapped to a text offset is ambiguous. When tracking a coordinate will not change the offset until the coordinate is completely past a given character. When trying to place an insertion point a coordinate will be mapped to the nearest character boundary. */ enum { kIMKMouseTrackingMode = (1<<0), kIMKNearestBoundaryMode = (1<<1) }; typedef NSInteger IMKLocationToOffsetMappingMode; /*! @const IMKTextOrientationName @abstract The key used to find client's text orientation value which is part of the dictionary returned by attributesForCharacterIndex. @discussion The orientation is the orientation of the client's text. Use this key to access the orientation value in the attributes dictionary returned by attributesForCharacterIndex. The value is an NSNumber which represents a BOOL value. A value of 1 means the client's text is laid out horizontally. A value of 0 means that the client's text is laid out vertically. */ extern const NSString* IMKTextOrientationName; @class IMKClient; /*! @protocol IMKTextInput @abstract Used to send and obtain data from the client side session. @discussion Input methods call one of the methods in this protocol to communicate with the client. */ @protocol IMKTextInput /*! @method @abstract Sends text that has been fully converted to an input session. @discussion When an input method finishes a conversion it calls this method and passes the finished text as an NSString or NSAttributedString. The replacementRange parameter is there to allow input methods to insert text at a location other than the current selection. If used the replacementRange should be relative to the beginning of the client document. If the string should be inserted at the current selection specify a replacementRange with a location and length of NSNotFound. If the client does not support the TSMDocumentAccess protocol the replacementRange string will be ignored. */ - (void)insertText:(id)string replacementRange:(NSRange)replacementRange; /*! @method @abstract Insert the text and mark it to indicate that it is part of an active input session. @discussion The string parameter must be an NSString or an NSAttributedString. Passing an NSString will produce default marking ( On a 72 dpi screen that is a 2 pixel black underline for the entire string). SelectionRange indicates the area of the string that should be selected and therefore if possible the area that should be displayed. SelectionRange is relative to the string parameter. For example, if the string contains the these characters: "INPUT" and the range is (5,0) the selection will be set right after the "T." ReplacementRange specifies the location in the client document where the marked text should be placed. If the marked text should be placed at the current cursor location replacementRange.location will equal NSNotFound. If used (i.e. location is not NSNotFound) the replacementRange is relative to the client document (i.e. 0 is the beginning of the document) and NOT the string parameter. Currently, the replacement range is sent to the client via the kEventParamTextInputSendReplaceRange Carbon Event parameter. As noted in the comment for this parameter for this parameter to be used the client must support the TSMDocumentAccess protocol. If a client does not support the TSMDocumentAccess protocol the replacementRange will be ignored. */ - (void)setMarkedText:(id)string selectionRange:(NSRange)selectionRange replacementRange:(NSRange)replacementRange; /* A Note on selectedRange:, attributedSubStringFromRange, and length. These methods all depend on the client application supporting TSMDocumentAccess Carbon events. Many applications do not support these so input methods should be prepared for these methods to return nil or NSNotFound. The return that can be expected is included in the discussion of each of these methods. */ /*! @method @abstract Returns the current selection range. @discussion If the client does not support the TSMDocumentAccess protocol the returned range will have a location value of NSNotFound and a length of NSNotFound. If a valid range is returned it is relative to the client's document. */ - (NSRange)selectedRange; /*! @method @abstract Returns the range in the document that is occupied by marked text, which in other terms is the current inline session. @discussion While an input method is converting text input and sending it to the client the client will maintain a range of text that is marked. That is to say that there will be a range of text that is underlined in certain ways to indicate to the user that their keystrokes are in the process of being converted by an input method and the conversion has not yet been finalized. The input method uses this method to request that range. The returned range is relative to the clients document. If this range is not available the range location and length will be NSNotFound. */ - (NSRange)markedRange; /*! @method @abstract Called to request a string along with its attributes such as font and glyph info. @discussion Input methods call this method to obtain a range of text from the client document along with that text's font and glyphInfo. The kind of attributes that can be included in the string are defined in CTStringAttributes.h. The range should be document relative. If the client does not support TSMDocumentAccess the returned string will be created from data obtained by sending the client application a kEventTextInputGetSelectedText Carbon event. The returned NSAttributedString is an autoreleased object. Do not release this object unless you retain it first. Note it is possible that the returned string will be longer or shorter than the specified range. This can be caused when there surrogate unicodes in a document, and the range's location or length splits a surrogate pair. You can test for this by comparing the string's length against the range you included as the range parameter. */ - (NSAttributedString*)attributedSubstringFromRange:(NSRange)range; /*! @method @abstract Returns the length of the text document. @discussion If the client does not support the TSMDocumentAccess protocol the returned value will be NSNotFound. Please note that depending on how clients store text determing how long a text document is can be a very expensive operation. Input methods should be aware of this problem and avoid frequently calling this method. */ - (NSInteger)length; /*! @method @abstract Map a global point to a location in the text document. @discussion Given a global point (typically from a mousedown) map that to a location in a text document. MappingMode is set to kIMKMouseTrackingMode if the input method is tracking the mouse. If the input method is tracking the mouse the application should pin highlighting to the active inline area. If the input method simply wants to map a screen postion to an offset than mappingMode should be set to kIMKNearestBoundaryMode. If the point is not inside the text body the returned value will be NSNotFound. If the point is inside the text body and inside the marked range inMarkedRange will be set to YES. If it is outside the markedRange it will be set to NO. */ - (NSInteger)characterIndexForPoint:(NSPoint)point tracking:(IMKLocationToOffsetMappingMode)mappingMode inMarkedRange:(BOOL*)inMarkedRange; /*! @method - (NSDictionary*)attributesForCharacterIndex:(NSUInteger)index lineHeightRectangle:(NSRect*)lineRect; @abstract Returns a dictionary of text attributes for the text at a given character index. The attributes include the CTFontRef for the text at that index and the text orientation. The text orientation is indicated by an NSNumber whose value is 0 if the text is vertically oriented and 1 if the text is horizontally oriented. The key for this value is IMKTextOrientationKey. Additionally, a rectangle that would frame a one-pixel wide rectangle with the height of the line is returned in the frame parameter. Note that rectangle will be oriented the same way the line is oriented. @discussion Input methods will call this method to place a candidate window on the screen. The index is relative to the inline session. Note that if there is no inline session the value of index should be 0, which indicates that the information should be taken from the current selection. The returned NSDictionary is an autoreleased object. Don't release it unless you have retained it. */ - (NSDictionary*)attributesForCharacterIndex:(NSUInteger)index lineHeightRectangle:(NSRect*)lineRect; /*! @method @abstract Returns an array of NSString names for the attributes supported by the receiver. @discussion Input methods should restrict the attributes used to create attributed strings to the attributes in this array. This is not a copy function. The returned NSArray should not be released unless it is first retained. */ - (NSArray*)validAttributesForMarkedText; /*! @method @abstract Override the current keyboard. @discussion Pass a keyboard unique name. The client will try to locate a keyboard layout with that name in the input method's bundle. If a layout is found it is passed to the client who then tells the text service manager to use that layout for keyboard events. Input methods should call the method each time they are activated. If an input method wishes to use a system keyboard to override the current keyboard they are responsible for determining the keyboard's unique name. Typically this name a DNS type name such as: com.apple.<some name>. */ -(void)overrideKeyboardWithKeyboardNamed:(NSString*)keyboardUniqueName; /*! @method @abstract Select a new input mode. @discussion The mode identifier is an NSString with a DNS format. Typically the mode identifier is a DNS type name such as: com.<company name>.inputmethod.<some name>. The identifier should match one of the keys in the ComponentInputModeDict. This method allows an input method to change its mode directly. */ -(void)selectInputMode:(NSString*)modeIdentifier; /*! @method @abstract Test to see if the current input session supports Unicode text. @discussion Input methods that restrict the character codes sent to a client if that client does not support Unicode text should call this method to learn if a given input session supports Unicode text. */ -(BOOL)supportsUnicode; /*! @method @abstract Returns the bundle identifier for the process that the input session is attached to. @discussion Many input methods need to be able to identify the process that input sessions belong to. This method provides that service. The returned NSString is an autoreleased object. Call retain to own it. */ -(NSString*)bundleIdentifier; /*! @method @abstract Returns the window level for client window. @discussion Call this to determine the client's window level. Internally, IMKCandidates uses this method to determine the correct level for candidate display. Therefore, input methods that use IMKCandidates have no reason to call this method. However, many input method developers have built there own candidate display system, and this method is here for their use. In order to display a candidate window at the correct level use this method to obtain the client window level, increment the returned level, and then apply that level to any candidate windows. */ -(CGWindowLevel)windowLevel; /*! @method @abstract Check if the current client input session supports a given TSM property. @discussion This method is available to provide compatibilty for input methods that need to check TSMDocument properties. */ -(BOOL)supportsProperty:(TSMDocumentPropertyTag)property; /*! @method @abstract Return a unique ID for the client. @discussion This method is a wrapper around the NSProcessInfo method globallyUniqueString. */ -(NSString*)uniqueClientIdentifierString AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER; /*! @method @abstract Called to request a string along. @discussion Input methods call this method to obtain a range of text from the client document The range should be document relative. If the client does not support TSMDocumentAccess the returned string will be created from data obtained by sending the client application a kEventTextInputGetSelectedText Carbon event. Note that clients that do not support TSMDocumentAccess are extremely rare. Certainly the text system for Cocoa does support this functionality. The returned NSString is an autoreleased object. Do not release this object unless you retain it first. Note it is possible that the returned string will be longer or shorter than the specified range. This can be caused when there surrogate unicodes in a document, and the range's location or length splits a surrogate pair. The parameter actualRange will contain the real range of the string in this case. */ - (NSString*)stringFromRange:(NSRange)range actualRange:(NSRangePointer)actualRange AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER; /* @method @abstract Returns a rectangle for a range of text. @discussion Returns the first logical rectangular area for aRange. The return value is in the global coordinate. The size value can be negative if the text flows to the left. If non-NULL, actuallRange contains the character range corresponding to the returned area. */ - (NSRect)firstRectForCharacterRange:(NSRange)aRange actualRange:(NSRangePointer)actualRange AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER; @end @protocol IMKUnicodeTextInput /*! @method @abstract Sends unicode text to the client application. @discussion Use this method to send text that was not generated by user keyboard input. This method should be used by palette input methods that send text to a client. Typically the text is generated in response to user activity in the palette window. The string parameter can be either an NSString or an NSAttributedString. Use an NSAttributed string if you need to include NSGlyphInfo objects with the text in the string. */ -(void)insertText:(id)string; @end #endif #endif
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/HIToolboxDebugging.h
#ifndef __HITOOLBOXDEBUGGING__ #define __HITOOLBOXDEBUGGING__ #ifndef __APPLICATIONSERVICES__ #include <ApplicationServices/ApplicationServices.h> #endif #ifndef __CARBONEVENTS__ #include <HIToolbox/CarbonEvents.h> #endif #ifndef __EVENTS__ #include <HIToolbox/Events.h> #endif #ifndef __MACWINDOWS__ #include <HIToolbox/MacWindows.h> #endif #ifndef __DIALOGS__ #include <HIToolbox/Dialogs.h> #endif #include <AvailabilityMacros.h> #if PRAGMA_ONCE #pragma once #endif #ifdef __cplusplus extern "C" { #endif /* CarbonEvents */ #if !__LP64__ /* * DebugSetEventTraceEnabled() * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugSetEventTraceEnabled(Boolean inEnabled) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* * DebugTraceEvent() * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugTraceEvent( OSType inEventClass, UInt32 inEventKind, Boolean inTrace) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* * DebugTraceEventByName() * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugTraceEventByName( const char * eventName, Boolean inTrace) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* * DebugPrintTracedEvents() * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugPrintTracedEvents(void) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* * DebugPrintEventQueue() * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugPrintEventQueue(EventQueueRef inQueue) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; #endif /* !__LP64__ */ /* * DebugPrintMainEventQueue() * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugPrintMainEventQueue(void) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* * DebugPrintEvent() * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugPrintEvent(EventRef inEvent) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* Control specific debugging routines */ #if !__LP64__ /* * DebugPrintControl() * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugPrintControl(ControlRef inControl) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* * DebugPrintControlHierarchy() * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugPrintControlHierarchy(WindowRef inWindow) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* * DumpControlHierarchy() * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework [32-bit only] * CarbonLib: in CarbonLib 1.0 and later * Non-Carbon CFM: in AppearanceLib 1.0 and later */ extern OSErr DumpControlHierarchy( WindowRef inWindow, const FSSpec * inDumpFile) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER; /* Dialogs */ /* * DebugPrintDialogInfo() * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugPrintDialogInfo(DialogRef inDialog) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* HIView */ /* * HIViewFlashDirtyArea() * * Discussion: * Debugging aid. Flashes the region which would be redrawn at the * next draw time for an entire window. * * Parameters: * * inWindow: * The window to flash the dirty region for. * * Result: * An operating system result code. * * Availability: * Mac OS X: in version 10.2 and later in Carbon.framework [32-bit only] * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later * Non-Carbon CFM: not available */ extern OSStatus HIViewFlashDirtyArea(WindowRef inWindow) AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER; /* Menus */ /* * DebugPrintMenuList() * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugPrintMenuList(void) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* * DebugPrintMenu() * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugPrintMenu(MenuRef inMenu) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* * DebugPrintMenuItem() * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugPrintMenuItem( MenuRef inMenu, MenuItemIndex inItem) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* Windows */ /* * DebugPrintWindow() * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugPrintWindow(WindowRef windowRef) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* * DebugPrintWindowGroup() * * Summary: * Prints the contents of a window group to stdout. * * Parameters: * * inGroup: * The group whose contents to print. * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework [32-bit only] * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later * Non-Carbon CFM: not available */ extern void DebugPrintWindowGroup(WindowGroupRef inGroup) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER; /* * DebugPrintAllWindowGroups() * * Summary: * Prints the full window group hierarchy, starting at the root * group. * * Availability: * Mac OS X: in version 10.0 and later in Carbon.framework [32-bit only] * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later * Non-Carbon CFM: not available */ extern void DebugPrintAllWindowGroups(void) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER; /* * DebugPrintWindowList() * * Summary: * Prints the window list to stdout. * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugPrintWindowList(void) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* * DebugFlashWindowVisRgn() *** DEPRECATED *** * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] but deprecated in 10.5 * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugFlashWindowVisRgn(WindowRef windowRef) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED; /* * DebugFlashWindowUpdateRgn() *** DEPRECATED *** * * Availability: * Mac OS X: in version 10.5 and later in Carbon.framework [32-bit only] but deprecated in 10.5 * CarbonLib: not available * Non-Carbon CFM: not available */ extern void DebugFlashWindowUpdateRgn(WindowRef inWindow) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED; #endif /* !__LP64__ */ #ifdef __cplusplus } #endif #endif /* __HITOOLBOXDEBUGGING__ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Print.tbd
--- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 89117C65-4F2D-35B6-AAAF-72F864A8361A - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 8BBA4D72-F069-306E-90D5-EF6B6BE48F91 install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print' current-version: 272 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon ...
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/Print.framework/Headers/Print.h
/* File: Print/Print.h Contains: Printing functions with UI Copyright (c) 2000-2006,2008 Apple Inc. All Rights Reserved. Bugs?: For bug reports, consult the following page on the World Wide Web: http://developer.apple.com/bugreporter/ */ #ifndef __PRINT__ #define __PRINT__ #endif /* __PRINT__ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/Ink.framework/Ink.tbd
--- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: B93B6A30-0B53-3834-87E8-AB39E50B7FCE - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 4FF5F789-FA55-3B93-816F-2F21BB55AA30 install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink' current-version: 227 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _InkAddStrokeToCurrentPhrase, _InkIsPhraseInProgress, _InkSetApplicationRecognitionMode, _InkSetApplicationWritingMode, _InkSetDrawingMode, _InkSetPhraseTerminationMode, _InkStrokeGetPointCount, _InkStrokeGetPoints, _InkStrokeGetTypeID, _InkTerminateCurrentPhrase, _InkTextAlternatesCount, _InkTextBounds, _InkTextCopy, _InkTextCreateCFString, _InkTextCreateFromCFData, _InkTextDraw, _InkTextFlatten, _InkTextGetStroke, _InkTextGetStrokeCount, _InkTextGetTypeID, _InkTextKeyModifiers, _InkUserWritingMode ] ...
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/ImageCapture.tbd
--- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, arm64-macos, arm64e-macos ] uuids: - target: x86_64-macos value: 4FFADD43-2EC1-3A67-8C43-5E7EB7D73554 - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 963345BE-8865-34F5-9500-6752AF50A1B3 install-name: '/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture' current-version: 5 parent-umbrella: - targets: [ x86_64-macos, arm64-macos, arm64e-macos ] umbrella: Carbon exports: - targets: [ x86_64-macos, arm64e-macos, arm64-macos ] symbols: [ _ICACloseSession, _ICAConvertJPEGDataToICADataInPlace, _ICAConvertTIFFDataToICADataInPlace, _ICACopyMatchingDeviceDictionaries, _ICACopyObjectData, _ICACopyObjectPropertyDictionary, _ICACopyObjectThumbnail, _ICACopyParameterBlockPtrForAsyncCall, _ICACreateCutsomIconForImageAtPath, _ICACreateJPEGThumbnailDataFromURL, _ICADictionaryApplierFunction, _ICADoMacho2CFMConversion, _ICADownloadFile, _ICADownloadFileWithOptions, _ICAElapsedTime, _ICAGetBehaviorFlags, _ICAGetChildCount, _ICAGetDateFromSeconds, _ICAGetDateFromSecondsSince1904, _ICAGetDateFromSecondsSince1970, _ICAGetDeviceList, _ICAGetEXIFDateCStringFromSecondsSince1904, _ICAGetEXIFDateCStringFromSecondsSince1970, _ICAGetEXIFUTCDateCStringFromSecondsSince1904, _ICAGetEXIFUTCDateCStringFromSecondsSince1970, _ICAGetICAObjectForFile, _ICAGetICAObjectFromDict, _ICAGetLongValueFromDict, _ICAGetNthChild, _ICAGetNthProperty, _ICAGetObjectInfo, _ICAGetObjectRefCon, _ICAGetParentOfObject, _ICAGetParentOfProperty, _ICAGetPropertyByType, _ICAGetPropertyCount, _ICAGetPropertyData, _ICAGetPropertyInfo, _ICAGetPropertyRefCon, _ICAGetRootOfObject, _ICAGetRootOfProperty, _ICAGetSInt16ValueFromDict, _ICAGetSInt32ValueFromDict, _ICAGetSInt64ValueFromDict, _ICAGetUTCDateFromDateCString, _ICAGetUTCDateFromSeconds, _ICAGetUTCDateFromSecondsSince1904, _ICAImportImage, _ICALoadDeviceModule, _ICAObjectSendMessage, _ICAOpenSession, _ICARegisterEventNotification, _ICARegisterForEventNotification, _ICAScannerCloseSession, _ICAScannerGetParameters, _ICAScannerInitialize, _ICAScannerOpenSession, _ICAScannerSetParameters, _ICAScannerStart, _ICAScannerStatus, _ICASetBehaviorFlags, _ICASetICAObjectInDict, _ICASetLongValueInDict, _ICASetObjectRefCon, _ICASetPropertyData, _ICASetPropertyRefCon, _ICASetSInt16ValueInDict, _ICASetSInt32ValueInDict, _ICASetSInt64ValueInDict, _ICASetUTF8StringInDict, _ICASharedMemoryCreate, _ICASharedMemoryDestroy, _ICASharedMemoryMap, _ICASharedMemoryUnmap, _ICAShowDeviceBrowser, _ICAUnloadDeviceModule, _ICAUpdateDeviceDictionary, _ICAUploadFile, _ICDBulkNewObject, _ICDBulkNewProperty, _ICDDeviceNotification, _ICDDeviceRegister, _ICDDeviceUnRegister, _ICDDisposeObject, _ICDDisposeProperty, _ICDNewObject, _ICDNewProperty, _kICAAddMetaDataToFinderCommentKey, _kICAAdjustCreationDateKey, _kICAAudioCodecsKey, _kICABIPVersionKey, _kICABluetoothAddressKey, _kICABluetoothTransportType, _kICABonjourServiceNameKey, _kICABonjourServiceTypeKey, _kICABonjourTXTRecordKey, _kICACreateCustomIconKey, _kICACreationDateStringKey, _kICADataPropertyKey, _kICADataSizeKey, _kICADataTypeKey, _kICADeleteAfterDownloadKey, _kICADeviceBrowserDeviceRefKey, _kICADeviceCapabilitiesKey, _kICADeviceDatabaseKey, _kICADeviceIconPathKey, _kICADeviceModulePathKey, _kICADeviceNameKey, _kICADevicePropArtist, _kICADevicePropBatteryLevel, _kICADevicePropBurstInterval, _kICADevicePropBurstNumber, _kICADevicePropCaptureDelay, _kICADevicePropCompressionSetting, _kICADevicePropContrast, _kICADevicePropCopyrightInfo, _kICADevicePropDateTime, _kICADevicePropDigitalZoom, _kICADevicePropEffectMode, _kICADevicePropExposureBiasCompensation, _kICADevicePropExposureIndex, _kICADevicePropExposureMeteringMode, _kICADevicePropExposureProgramMode, _kICADevicePropExposureTime, _kICADevicePropFNumber, _kICADevicePropFlashMode, _kICADevicePropFocalLength, _kICADevicePropFocusDistance, _kICADevicePropFocusMeteringMode, _kICADevicePropFocusMode, _kICADevicePropFunctionalMode, _kICADevicePropImageSize, _kICADevicePropRGBGain, _kICADevicePropSharpness, _kICADevicePropStillCaptureMode, _kICADevicePropTimelapseInterval, _kICADevicePropTimelapseNumber, _kICADevicePropUndefined, _kICADevicePropUploadURL, _kICADevicePropWhiteBalance, _kICADeviceSharedKey, _kICADeviceTypeCamera, _kICADeviceTypeKey, _kICADeviceTypeScanner, _kICADeviceUsedKey, _kICADeviceWebSharedKey, _kICADevicesArrayKey, _kICADirPathKey, _kICADisplayNameKey, _kICADontEmbedColorSyncProfileKey, _kICAErrorKey, _kICAExecutableArchitectureKey, _kICAFileCreatorKey, _kICAFileTypeKey, _kICAFileUTTypeKey, _kICAFireWireGUIDKey, _kICAFireWireTransportType, _kICAIOServicePathKey, _kICAIPAddressKey, _kICAIPGUIDKey, _kICAIPNameKey, _kICAIPPortKey, _kICAIconFilePathKey, _kICAInstancesKey, _kICAKeywordsKey, _kICALockStatusKey, _kICAManualConnectDeviceRefKey, _kICAMediaDurationInSecondsKey, _kICAMediaFormatsKey, _kICAMediaHeightKey, _kICAMediaMaxDurationKey, _kICAMediaSizesKey, _kICAMediaWidthKey, _kICAModelNameKey, _kICAModificationDateStringKey, _kICANotificationClassKey, _kICANotificationClassPTPStandard, _kICANotificationClassPTPVendor, _kICANotificationClassProprietary, _kICANotificationDataCookieKey, _kICANotificationDataKey, _kICANotificationDataSizeKey, _kICANotificationDeviceICAObjectKey, _kICANotificationDeviceListICAObjectKey, _kICANotificationICAObjectKey, _kICANotificationImageBytesPerRowKey, _kICANotificationImageDataKey, _kICANotificationImageDataSizeKey, _kICANotificationImageHeightKey, _kICANotificationImageKey, _kICANotificationImageNumberOfRowsKey, _kICANotificationImageStartRowKey, _kICANotificationImageWidthKey, _kICANotificationNumerOfImagesRemainingKey, _kICANotificationPercentDownloadedKey, _kICANotificationRawEventKey, _kICANotificationScannerButtonTypeKey, _kICANotificationScannerDocumentNameKey, _kICANotificationSubTypeDocumentLoaded, _kICANotificationSubTypeDocumentNotLoaded, _kICANotificationSubTypeKey, _kICANotificationSubTypePerformOverviewScan, _kICANotificationSubTypeWarmUpDone, _kICANotificationSubTypeWarmUpStarted, _kICANotificationTypeCaptureComplete, _kICANotificationTypeDeviceAdded, _kICANotificationTypeDeviceConnectionProgress, _kICANotificationTypeDeviceInfoChanged, _kICANotificationTypeDevicePropertyChanged, _kICANotificationTypeDeviceRemoved, _kICANotificationTypeDeviceStatusError, _kICANotificationTypeDeviceStatusInfo, _kICANotificationTypeDeviceWasReset, _kICANotificationTypeDownloadProgressStatus, _kICANotificationTypeKey, _kICANotificationTypeObjectAdded, _kICANotificationTypeObjectInfoChanged, _kICANotificationTypeObjectRemoved, _kICANotificationTypeProprietary, _kICANotificationTypeRequestObjectTransfer, _kICANotificationTypeScanProgressStatus, _kICANotificationTypeScannerButtonPressed, _kICANotificationTypeScannerOverviewOverlayAvailable, _kICANotificationTypeScannerPageDone, _kICANotificationTypeScannerScanDone, _kICANotificationTypeScannerSessionClosed, _kICANotificationTypeStoreAdded, _kICANotificationTypeStoreFull, _kICANotificationTypeStoreInfoChanged, _kICANotificationTypeStoreRemoved, _kICANotificationTypeTransactionCanceled, _kICANotificationTypeUnreportedStatus, _kICANotificationVendorErrorCodeKey, _kICAOBEXVersionKey, _kICAObjectKey, _kICAObjectNameKey, _kICAOrientationKey, _kICAOverwriteKey, _kICAPhysicalTransportsKey, _kICAPictureFolderKey, _kICAProtocolKey, _kICARawKey, _kICARefconKey, _kICARemoteDeviceKey, _kICASCSITransportType, _kICASaveAsFilenameKey, _kICASavedFilenameKey, _kICAScreenHeightKey, _kICAScreenWidthKey, _kICASoundFolderKey, _kICAStarRatingKey, _kICASupportedFeaturesKey, _kICASupportingSoftwaresKey, _kICATCPIPTransportType, _kICATWAINDSPathKey, _kICATWAINTransportType, _kICATelephoneNetworksKey, _kICAThumbnailPropertyKey, _kICAThumbnailSizeKey, _kICATransportTypeKey, _kICAUSBLocationIDKey, _kICAUSBProductIDKey, _kICAUSBTransportType, _kICAUSBVendorIDKey, _kICAUserAssignedDeviceNameKey, _kICAVendorNameKey, _kICAVideoCodecsKey, _kICAVideoFolderKey, _kICAWMCVersionKey, _kMetaDataDictionaryKey ] ...
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/Carbon.framework/Frameworks/ImageCapture.framework/Headers/ImageCapture.h
/* * ImageCapture/ImageCapture.h * * Copyright (c) 2004 Apple Computer, Inc., all rights reserved. * */ #ifndef __IMAGECAPTURE__ #define __IMAGECAPTURE__ #endif
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework/ImageIO.tbd
--- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, x86_64-maccatalyst, x86_64h-macos, x86_64h-maccatalyst, arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] uuids: - target: x86_64-macos value: 1D23D128-0364-37DD-A10D-7490CBB76156 - target: x86_64-maccatalyst value: 1D23D128-0364-37DD-A10D-7490CBB76156 - target: x86_64h-macos value: 768294CA-8475-3EEE-87C6-1B4B72C8E5C7 - target: x86_64h-maccatalyst value: 768294CA-8475-3EEE-87C6-1B4B72C8E5C7 - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64-maccatalyst value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 8D2E8813-104B-3097-A7B7-938B6A1167FD - target: arm64e-maccatalyst value: 8D2E8813-104B-3097-A7B7-938B6A1167FD install-name: '/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO' exports: - targets: [ x86_64-macos, x86_64h-macos, x86_64-maccatalyst, x86_64h-maccatalyst ] symbols: [ _CGImageCreateByMatchingToDisplay ] - targets: [ x86_64-macos, arm64e-macos, x86_64h-macos, x86_64-maccatalyst, x86_64h-maccatalyst, arm64e-maccatalyst, arm64-macos, arm64-maccatalyst ] symbols: [ _CGAnimateImageAtURLWithBlock, _CGAnimateImageDataWithBlock, _CGCopyBasicPropertiesOfImageAtPath, _CGImageCopyFileWithGPSInformation, _CGImageCopyFileWithParameters, _CGImageCopyJPEGData, _CGImageCopyJPEGDataAndColorSpace, _CGImageCopySourceData, _CGImageCreateByMatchingToColorSpace, _CGImageCreateByScaling, _CGImageCreateColorSpaceFromDataArray, _CGImageCreateColorSpaceFromExifOrData, _CGImageCreateCopyWithAlphaInfo, _CGImageCreateCopyWithParameters, _CGImageCreateDataFromMetadata, _CGImageCreateEXIFDataFromProperties, _CGImageCreateEXIFJPEGData, _CGImageCreateFromIOSurface, _CGImageCreateMetadataFromData, _CGImageCreateMetadataFromDataArray, _CGImageCreateThumb, _CGImageCreateWithWBMPData, _CGImageDestinationAddAuxiliaryDataInfo, _CGImageDestinationAddImage, _CGImageDestinationAddImageAndMetadata, _CGImageDestinationAddImageFromSource, _CGImageDestinationAddImageFromSourceWithMetadata, _CGImageDestinationAddImageWithMetadata, _CGImageDestinationCopyImageFormats, _CGImageDestinationCopyImageSource, _CGImageDestinationCopyTypeIdentifiers, _CGImageDestinationCreateWithData, _CGImageDestinationCreateWithDataConsumer, _CGImageDestinationCreateWithURL, _CGImageDestinationFinalize, _CGImageDestinationGetTypeID, _CGImageDestinationSetProperties, _CGImageGetHash, _CGImageGetImageSource, _CGImageIOCreateXMPDataFromMetaData, _CGImageIsDecodable, _CGImageIsInsideSRGB, _CGImageMetadataCopyStringValueWithPath, _CGImageMetadataCopyTagMatchingImageProperty, _CGImageMetadataCopyTagWithPath, _CGImageMetadataCopyTags, _CGImageMetadataCreateFromData, _CGImageMetadataCreateFromMetadataProperties, _CGImageMetadataCreateFromXMPData, _CGImageMetadataCreateMetadataProperties, _CGImageMetadataCreateMutable, _CGImageMetadataCreateMutableCopy, _CGImageMetadataCreateSerializedData, _CGImageMetadataCreateSidecar, _CGImageMetadataCreateXMPData, _CGImageMetadataCreateXMPWithEXIFFiltered, _CGImageMetadataEnumerateTagsUsingBlock, _CGImageMetadataGetTypeID, _CGImageMetadataPropertyCreate, _CGImageMetadataPropertyGetPropertyName, _CGImageMetadataPropertyGetSchema, _CGImageMetadataPropertyGetSuggestedPrefix, _CGImageMetadataPropertyGetTypeID, _CGImageMetadataPropertyGetValue, _CGImageMetadataPropertySetValue, _CGImageMetadataRegisterNamespaceForPrefix, _CGImageMetadataRemoveTagWithPath, _CGImageMetadataSerialize, _CGImageMetadataSetTagWithPath, _CGImageMetadataSetValueMatchingImageProperty, _CGImageMetadataSetValueWithPath, _CGImageMetadataTagCopyName, _CGImageMetadataTagCopyNamespace, _CGImageMetadataTagCopyPrefix, _CGImageMetadataTagCopyQualifiers, _CGImageMetadataTagCopyValue, _CGImageMetadataTagCreate, _CGImageMetadataTagGetType, _CGImageMetadataTagGetTypeID, _CGImageMetadataValueAddQualifier, _CGImageMetadataValueCreate, _CGImageMetadataValueGetNamespaceURI, _CGImageMetadataValueGetQualifiers, _CGImageMetadataValueGetSuggestedNamespacePrefix, _CGImageMetadataValueGetTypeID, _CGImageMetadataValueGetValue, _CGImageMetadataValueIsAlternate, _CGImageMetadataValueIsAlternateText, _CGImageMetadataValueSetIsAlternate, _CGImageMetadataValueSetIsAlternateText, _CGImageMetadataValueSetNamespaceURI, _CGImageMetadataValueSetSuggestedNamespacePrefix, _CGImagePluginGetMatchToProfileOption, _CGImagePluginGetMetadata, _CGImagePluginGetOptions, _CGImagePluginGetProperties, _CGImagePluginGetSession, _CGImagePluginInitJPEGAtOffset, _CGImagePluginInitThumbJPEGAtOffset, _CGImagePluginInitThumbJPEGAtOffsetWithOptions, _CGImagePluginReadRawIPTCProps, _CGImagePluginReadRawXMPProps, _CGImagePluginReadRawXMPSidecarProps, _CGImagePluginSetClipPath, _CGImagePluginSetImage, _CGImagePluginSetImageBlockProc, _CGImagePluginSetJpegProvider, _CGImageReadSessionCreateFILE, _CGImageReadSessionGetBytePointer, _CGImageReadSessionGetBytesAtOffset, _CGImageReadSessionGetFilePath, _CGImageReadSessionGetSize, _CGImageReadSessionGetTypeID, _CGImageReadSessionIsFinal, _CGImageReadSessionReleaseBytePointer, _CGImageReadSessionReleaseCachedImageBlockData, _CGImageSourceAddProperty, _CGImageSourceCopyAuxiliaryDataInfoAtIndex, _CGImageSourceCopyMetadataAtIndex, _CGImageSourceCopyMetadataPropertiesAtIndex, _CGImageSourceCopyProperties, _CGImageSourceCopyPropertiesAtIndex, _CGImageSourceCopyTypeExtensions, _CGImageSourceCopyTypeIdentifiers, _CGImageSourceCreateIOSurfaceAtIndex, _CGImageSourceCreateImageAtIndex, _CGImageSourceCreateIncremental, _CGImageSourceCreateThumbnailAtIndex, _CGImageSourceCreateWithData, _CGImageSourceCreateWithDataProvider, _CGImageSourceCreateWithFile, _CGImageSourceCreateWithURL, _CGImageSourceGetCount, _CGImageSourceGetImageCacheAtIndex, _CGImageSourceGetPrimaryImageIndex, _CGImageSourceGetStatus, _CGImageSourceGetStatusAtIndex, _CGImageSourceGetType, _CGImageSourceGetTypeID, _CGImageSourceGetTypeWithData, _CGImageSourceGetTypeWithDataProvider, _CGImageSourceGetTypeWithExtension, _CGImageSourceGetTypeWithURL, _CGImageSourceIsCloudTranscodable, _CGImageSourceIsColorOptimizedForSharing, _CGImageSourceRemoveCacheAtIndex, _CGImageSourceSetAllowableTypes, _CGImageSourceUpdateData, _CGImageSourceUpdateDataProvider, _CGImageWriteEXIFJPEGToPath, _CGImageWriteEXIFJPEGWithMetadata, _CopyMetadataFromFileAtPath, _CopyMetadataFromSequentialDataProviderCallbacks, _GetMetadataPropertyMatchingSchemaAndPropertyName, _ImageIODebug, _ImageIOSetLoggingProc, _OFDCreatePDFDataFromURL, _gReadMakerNoteProps, _kCFErrorDomainCGImageMetadata, _kCGDataFromMetadataAddExifApp1Marker, _kCGDataFromMetadataStripExifFromXMP, _kCGImageAnimationDelayTime, _kCGImageAnimationLoopCount, _kCGImageAnimationStartIndex, _kCGImageAuxiliaryDataInfoData, _kCGImageAuxiliaryDataInfoDataDescription, _kCGImageAuxiliaryDataInfoMetadata, _kCGImageAuxiliaryDataTypeAlpha, _kCGImageAuxiliaryDataTypeDepth, _kCGImageAuxiliaryDataTypeDisparity, _kCGImageAuxiliaryDataTypeHDRGainMap, _kCGImageAuxiliaryDataTypePortraitEffectsMatte, _kCGImageAuxiliaryDataTypeSemanticSegmentationGlassesMatte, _kCGImageAuxiliaryDataTypeSemanticSegmentationHairMatte, _kCGImageAuxiliaryDataTypeSemanticSegmentationSkinMatte, _kCGImageAuxiliaryDataTypeSemanticSegmentationSkyMatte, _kCGImageAuxiliaryDataTypeSemanticSegmentationTeethMatte, _kCGImageBlockIOSurfacePromoteToCIF10, _kCGImageComponentTypeRequest, _kCGImageCopyFileSetDateTime, _kCGImageCopyFileSetIPTC, _kCGImageCopyFileSetKeywords, _kCGImageCopyFileSetOrientation, _kCGImageCopyFileSetProfile, _kCGImageCopyFileSetStarRating, _kCGImageCopyFileSetXMP, _kCGImageDestinationBackgroundColor, _kCGImageDestinationDateTime, _kCGImageDestinationEmbedThumbnail, _kCGImageDestinationEnableRGBToYUVDithering, _kCGImageDestinationICCProfile, _kCGImageDestinationImageMaxPixelSize, _kCGImageDestinationLossyCompressionQuality, _kCGImageDestinationMergeMetadata, _kCGImageDestinationMetadata, _kCGImageDestinationOptimizeColorForSharing, _kCGImageDestinationOptimizeForSize, _kCGImageDestinationOrientation, _kCGImageDestinationPreserveGainMap, _kCGImageDestinationRequestedFileSize, _kCGImageDestinationUseHardwareAcceleration, _kCGImageEXIFDataAddMissingTags, _kCGImageEXIFDataIncludeEXIFHeader, _kCGImageMetadataEnumerateRecursively, _kCGImageMetadataNamespaceDublinCore, _kCGImageMetadataNamespaceExif, _kCGImageMetadataNamespaceExifAux, _kCGImageMetadataNamespaceExifEX, _kCGImageMetadataNamespaceIPTCCore, _kCGImageMetadataNamespaceIPTCExtension, _kCGImageMetadataNamespacePhotoshop, _kCGImageMetadataNamespaceTIFF, _kCGImageMetadataNamespaceXMPBasic, _kCGImageMetadataNamespaceXMPRights, _kCGImageMetadataPrefixDublinCore, _kCGImageMetadataPrefixExif, _kCGImageMetadataPrefixExifAux, _kCGImageMetadataPrefixExifEX, _kCGImageMetadataPrefixIPTCCore, _kCGImageMetadataPrefixIPTCExtension, _kCGImageMetadataPrefixPhotoshop, _kCGImageMetadataPrefixTIFF, _kCGImageMetadataPrefixXMPBasic, _kCGImageMetadataPrefixXMPRights, _kCGImageMetadataShouldExcludeGPS, _kCGImageMetadataShouldExcludeICC, _kCGImageMetadataShouldExcludeXMP, _kCGImagePreferGPUForColorConversion, _kCGImagePreferredColorConversionMode, _kCGImageProperty420fEncoder, _kCGImageProperty420fUseLZFSE, _kCGImageProperty8BIMDictionary, _kCGImageProperty8BIMLayerNames, _kCGImageProperty8BIMVersion, _kCGImagePropertyAPNGCanvasPixelHeight, _kCGImagePropertyAPNGCanvasPixelWidth, _kCGImagePropertyAPNGDelayTime, _kCGImagePropertyAPNGFrameInfoArray, _kCGImagePropertyAPNGLoopCount, _kCGImagePropertyAPNGUnclampedDelayTime, _kCGImagePropertyASTCBlockSize, _kCGImagePropertyASTCEncoder, _kCGImagePropertyASTCFlipVertically, _kCGImagePropertyASTCPreTwiddle, _kCGImagePropertyASTCUseLZFSE, _kCGImagePropertyASTCWeightChannelsEqually, _kCGImagePropertyAuxiliaryData, _kCGImagePropertyAuxiliaryDataType, _kCGImagePropertyBCEncoder, _kCGImagePropertyBCFormat, _kCGImagePropertyBCWeightChannelsEqually, _kCGImagePropertyBitsPerPixel, _kCGImagePropertyBytesPerRow, _kCGImagePropertyCIFFCameraSerialNumber, _kCGImagePropertyCIFFContinuousDrive, _kCGImagePropertyCIFFDescription, _kCGImagePropertyCIFFDictionary, _kCGImagePropertyCIFFFirmware, _kCGImagePropertyCIFFFlashExposureComp, _kCGImagePropertyCIFFFocusMode, _kCGImagePropertyCIFFImageFileName, _kCGImagePropertyCIFFImageName, _kCGImagePropertyCIFFImageSerialNumber, _kCGImagePropertyCIFFLensMaxMM, _kCGImagePropertyCIFFLensMinMM, _kCGImagePropertyCIFFLensModel, _kCGImagePropertyCIFFMeasuredEV, _kCGImagePropertyCIFFMeteringMode, _kCGImagePropertyCIFFOwnerName, _kCGImagePropertyCIFFRecordID, _kCGImagePropertyCIFFReleaseMethod, _kCGImagePropertyCIFFReleaseTiming, _kCGImagePropertyCIFFSelfTimingTime, _kCGImagePropertyCIFFShootingMode, _kCGImagePropertyCIFFWhiteBalanceIndex, _kCGImagePropertyColorModel, _kCGImagePropertyColorModelCMYK, _kCGImagePropertyColorModelGray, _kCGImagePropertyColorModelLab, _kCGImagePropertyColorModelRGB, _kCGImagePropertyDNGActiveArea, _kCGImagePropertyDNGAnalogBalance, _kCGImagePropertyDNGAntiAliasStrength, _kCGImagePropertyDNGAsShotICCProfile, _kCGImagePropertyDNGAsShotNeutral, _kCGImagePropertyDNGAsShotPreProfileMatrix, _kCGImagePropertyDNGAsShotProfileName, _kCGImagePropertyDNGAsShotWhiteXY, _kCGImagePropertyDNGBackwardVersion, _kCGImagePropertyDNGBaselineExposure, _kCGImagePropertyDNGBaselineExposureOffset, _kCGImagePropertyDNGBaselineNoise, _kCGImagePropertyDNGBaselineSharpness, _kCGImagePropertyDNGBayerGreenSplit, _kCGImagePropertyDNGBestQualityScale, _kCGImagePropertyDNGBlackLevel, _kCGImagePropertyDNGBlackLevelDeltaH, _kCGImagePropertyDNGBlackLevelDeltaV, _kCGImagePropertyDNGBlackLevelRepeatDim, _kCGImagePropertyDNGCFALayout, _kCGImagePropertyDNGCFAPlaneColor, _kCGImagePropertyDNGCalibrationIlluminant1, _kCGImagePropertyDNGCalibrationIlluminant2, _kCGImagePropertyDNGCameraCalibration1, _kCGImagePropertyDNGCameraCalibration2, _kCGImagePropertyDNGCameraCalibrationSignature, _kCGImagePropertyDNGCameraSerialNumber, _kCGImagePropertyDNGChromaBlurRadius, _kCGImagePropertyDNGColorMatrix1, _kCGImagePropertyDNGColorMatrix2, _kCGImagePropertyDNGColorimetricReference, _kCGImagePropertyDNGCurrentICCProfile, _kCGImagePropertyDNGCurrentPreProfileMatrix, _kCGImagePropertyDNGDefaultBlackRender, _kCGImagePropertyDNGDefaultCropOrigin, _kCGImagePropertyDNGDefaultCropSize, _kCGImagePropertyDNGDefaultScale, _kCGImagePropertyDNGDefaultUserCrop, _kCGImagePropertyDNGDictionary, _kCGImagePropertyDNGExtraCameraProfiles, _kCGImagePropertyDNGFixVignetteRadial, _kCGImagePropertyDNGForwardMatrix1, _kCGImagePropertyDNGForwardMatrix2, _kCGImagePropertyDNGLensInfo, _kCGImagePropertyDNGLinearResponseLimit, _kCGImagePropertyDNGLinearizationTable, _kCGImagePropertyDNGLocalizedCameraModel, _kCGImagePropertyDNGMakerNoteSafety, _kCGImagePropertyDNGMaskedAreas, _kCGImagePropertyDNGNewRawImageDigest, _kCGImagePropertyDNGNoiseProfile, _kCGImagePropertyDNGNoiseReductionApplied, _kCGImagePropertyDNGOpcodeList1, _kCGImagePropertyDNGOpcodeList2, _kCGImagePropertyDNGOpcodeList3, _kCGImagePropertyDNGOriginalBestQualityFinalSize, _kCGImagePropertyDNGOriginalDefaultCropSize, _kCGImagePropertyDNGOriginalDefaultFinalSize, _kCGImagePropertyDNGOriginalRawFileData, _kCGImagePropertyDNGOriginalRawFileDigest, _kCGImagePropertyDNGOriginalRawFileName, _kCGImagePropertyDNGPreviewApplicationName, _kCGImagePropertyDNGPreviewApplicationVersion, _kCGImagePropertyDNGPreviewColorSpace, _kCGImagePropertyDNGPreviewDateTime, _kCGImagePropertyDNGPreviewSettingsDigest, _kCGImagePropertyDNGPreviewSettingsName, _kCGImagePropertyDNGPrivateData, _kCGImagePropertyDNGProfileCalibrationSignature, _kCGImagePropertyDNGProfileCopyright, _kCGImagePropertyDNGProfileEmbedPolicy, _kCGImagePropertyDNGProfileHueSatMapData1, _kCGImagePropertyDNGProfileHueSatMapData2, _kCGImagePropertyDNGProfileHueSatMapDims, _kCGImagePropertyDNGProfileHueSatMapEncoding, _kCGImagePropertyDNGProfileLookTableData, _kCGImagePropertyDNGProfileLookTableDims, _kCGImagePropertyDNGProfileLookTableEncoding, _kCGImagePropertyDNGProfileName, _kCGImagePropertyDNGProfileToneCurve, _kCGImagePropertyDNGRawDataUniqueID, _kCGImagePropertyDNGRawImageDigest, _kCGImagePropertyDNGRawToPreviewGain, _kCGImagePropertyDNGReductionMatrix1, _kCGImagePropertyDNGReductionMatrix2, _kCGImagePropertyDNGRowInterleaveFactor, _kCGImagePropertyDNGShadowScale, _kCGImagePropertyDNGSubTileBlockSize, _kCGImagePropertyDNGUniqueCameraModel, _kCGImagePropertyDNGVersion, _kCGImagePropertyDNGWarpFisheye, _kCGImagePropertyDNGWarpRectilinear, _kCGImagePropertyDNGWhiteLevel, _kCGImagePropertyDPIHeight, _kCGImagePropertyDPIWidth, _kCGImagePropertyDepth, _kCGImagePropertyEncoder, _kCGImagePropertyExifApertureValue, _kCGImagePropertyExifAuxDictionary, _kCGImagePropertyExifAuxFirmware, _kCGImagePropertyExifAuxFlashCompensation, _kCGImagePropertyExifAuxImageNumber, _kCGImagePropertyExifAuxLensID, _kCGImagePropertyExifAuxLensInfo, _kCGImagePropertyExifAuxLensModel, _kCGImagePropertyExifAuxLensSerialNumber, _kCGImagePropertyExifAuxOwnerName, _kCGImagePropertyExifAuxROIAppliedToHeight, _kCGImagePropertyExifAuxROIAppliedToWidth, _kCGImagePropertyExifAuxROIFaceAngleInfoRoll, _kCGImagePropertyExifAuxROIFaceAngleInfoYaw, _kCGImagePropertyExifAuxROIFaceConfidenceLevel, _kCGImagePropertyExifAuxROIFaceID, _kCGImagePropertyExifAuxROIFaceTimestamp, _kCGImagePropertyExifAuxROIRegionBarcodeType, _kCGImagePropertyExifAuxROIRegionBodyType, _kCGImagePropertyExifAuxROIRegionCatType, _kCGImagePropertyExifAuxROIRegionCleanApertureType, _kCGImagePropertyExifAuxROIRegionDescription, _kCGImagePropertyExifAuxROIRegionDogType, _kCGImagePropertyExifAuxROIRegionFaceType, _kCGImagePropertyExifAuxROIRegionFocusType, _kCGImagePropertyExifAuxROIRegionHeight, _kCGImagePropertyExifAuxROIRegionList, _kCGImagePropertyExifAuxROIRegionName, _kCGImagePropertyExifAuxROIRegionPetType, _kCGImagePropertyExifAuxROIRegionSalientObjectType, _kCGImagePropertyExifAuxROIRegionType, _kCGImagePropertyExifAuxROIRegionWidth, _kCGImagePropertyExifAuxROIRegionX, _kCGImagePropertyExifAuxROIRegionY, _kCGImagePropertyExifAuxSerialNumber, _kCGImagePropertyExifBodySerialNumber, _kCGImagePropertyExifBrightnessValue, _kCGImagePropertyExifCFAPattern, _kCGImagePropertyExifCameraOwnerName, _kCGImagePropertyExifColorSpace, _kCGImagePropertyExifComponentsConfiguration, _kCGImagePropertyExifCompositeImage, _kCGImagePropertyExifCompressedBitsPerPixel, _kCGImagePropertyExifContrast, _kCGImagePropertyExifCustomRendered, _kCGImagePropertyExifDateTimeDigitized, _kCGImagePropertyExifDateTimeOriginal, _kCGImagePropertyExifDeviceSettingDescription, _kCGImagePropertyExifDictionary, _kCGImagePropertyExifDigitalZoomRatio, _kCGImagePropertyExifExposureBiasValue, _kCGImagePropertyExifExposureIndex, _kCGImagePropertyExifExposureMode, _kCGImagePropertyExifExposureProgram, _kCGImagePropertyExifExposureTime, _kCGImagePropertyExifFNumber, _kCGImagePropertyExifFileSource, _kCGImagePropertyExifFlash, _kCGImagePropertyExifFlashEnergy, _kCGImagePropertyExifFlashPixVersion, _kCGImagePropertyExifFocalLenIn35mmFilm, _kCGImagePropertyExifFocalLength, _kCGImagePropertyExifFocalPlaneResolutionUnit, _kCGImagePropertyExifFocalPlaneXResolution, _kCGImagePropertyExifFocalPlaneYResolution, _kCGImagePropertyExifGainControl, _kCGImagePropertyExifGamma, _kCGImagePropertyExifISOSpeed, _kCGImagePropertyExifISOSpeedLatitudeyyy, _kCGImagePropertyExifISOSpeedLatitudezzz, _kCGImagePropertyExifISOSpeedRatings, _kCGImagePropertyExifImageUniqueID, _kCGImagePropertyExifLensMake, _kCGImagePropertyExifLensModel, _kCGImagePropertyExifLensSerialNumber, _kCGImagePropertyExifLensSpecification, _kCGImagePropertyExifLightSource, _kCGImagePropertyExifMakerNote, _kCGImagePropertyExifMaxApertureValue, _kCGImagePropertyExifMeteringMode, _kCGImagePropertyExifOECF, _kCGImagePropertyExifOffsetTime, _kCGImagePropertyExifOffsetTimeDigitized, _kCGImagePropertyExifOffsetTimeOriginal, _kCGImagePropertyExifPixelXDimension, _kCGImagePropertyExifPixelYDimension, _kCGImagePropertyExifRecommendedExposureIndex, _kCGImagePropertyExifRelatedSoundFile, _kCGImagePropertyExifSaturation, _kCGImagePropertyExifSceneCaptureType, _kCGImagePropertyExifSceneType, _kCGImagePropertyExifSensingMethod, _kCGImagePropertyExifSensitivityType, _kCGImagePropertyExifSharpness, _kCGImagePropertyExifShutterSpeedValue, _kCGImagePropertyExifSourceExposureTimesOfCompositeImage, _kCGImagePropertyExifSourceImageNumberOfCompositeImage, _kCGImagePropertyExifSpatialFrequencyResponse, _kCGImagePropertyExifSpectralSensitivity, _kCGImagePropertyExifStandardOutputSensitivity, _kCGImagePropertyExifSubjectArea, _kCGImagePropertyExifSubjectDistRange, _kCGImagePropertyExifSubjectDistance, _kCGImagePropertyExifSubjectLocation, _kCGImagePropertyExifSubsecTime, _kCGImagePropertyExifSubsecTimeDigitized, _kCGImagePropertyExifSubsecTimeOrginal, _kCGImagePropertyExifSubsecTimeOriginal, _kCGImagePropertyExifThumbnailHeight, _kCGImagePropertyExifThumbnailOffset, _kCGImagePropertyExifThumbnailSize, _kCGImagePropertyExifThumbnailWidth, _kCGImagePropertyExifUserComment, _kCGImagePropertyExifVersion, _kCGImagePropertyExifWhiteBalance, _kCGImagePropertyFileContentsDictionary, _kCGImagePropertyFileSize, _kCGImagePropertyGIFCanvasPixelHeight, _kCGImagePropertyGIFCanvasPixelWidth, _kCGImagePropertyGIFDelayTime, _kCGImagePropertyGIFDictionary, _kCGImagePropertyGIFFrameInfoArray, _kCGImagePropertyGIFHasGlobalColorMap, _kCGImagePropertyGIFImageColorMap, _kCGImagePropertyGIFLoopCount, _kCGImagePropertyGIFUnclampedDelayTime, _kCGImagePropertyGPSAltitude, _kCGImagePropertyGPSAltitudeRef, _kCGImagePropertyGPSAreaInformation, _kCGImagePropertyGPSDOP, _kCGImagePropertyGPSDateStamp, _kCGImagePropertyGPSDestBearing, _kCGImagePropertyGPSDestBearingRef, _kCGImagePropertyGPSDestDistance, _kCGImagePropertyGPSDestDistanceRef, _kCGImagePropertyGPSDestLatitude, _kCGImagePropertyGPSDestLatitudeRef, _kCGImagePropertyGPSDestLongitude, _kCGImagePropertyGPSDestLongitudeRef, _kCGImagePropertyGPSDictionary, _kCGImagePropertyGPSDifferental, _kCGImagePropertyGPSHPositioningError, _kCGImagePropertyGPSImgDirection, _kCGImagePropertyGPSImgDirectionRef, _kCGImagePropertyGPSLatitude, _kCGImagePropertyGPSLatitudeRef, _kCGImagePropertyGPSLongitude, _kCGImagePropertyGPSLongitudeRef, _kCGImagePropertyGPSMapDatum, _kCGImagePropertyGPSMeasureMode, _kCGImagePropertyGPSProcessingMethod, _kCGImagePropertyGPSSatellites, _kCGImagePropertyGPSSpeed, _kCGImagePropertyGPSSpeedRef, _kCGImagePropertyGPSStatus, _kCGImagePropertyGPSTimeStamp, _kCGImagePropertyGPSTrack, _kCGImagePropertyGPSTrackRef, _kCGImagePropertyGPSVersion, _kCGImagePropertyGroupImageIndexLeft, _kCGImagePropertyGroupImageIndexRight, _kCGImagePropertyGroupImageIsAlternateImage, _kCGImagePropertyGroupImageIsLeftImage, _kCGImagePropertyGroupImageIsRightImage, _kCGImagePropertyGroupImagesAlternate, _kCGImagePropertyGroupIndex, _kCGImagePropertyGroupType, _kCGImagePropertyGroupTypeAlternate, _kCGImagePropertyGroupTypeStereoPair, _kCGImagePropertyGroups, _kCGImagePropertyHEICSCanvasPixelHeight, _kCGImagePropertyHEICSCanvasPixelWidth, _kCGImagePropertyHEICSDelayTime, _kCGImagePropertyHEICSDictionary, _kCGImagePropertyHEICSFrameInfoArray, _kCGImagePropertyHEICSLoopCount, _kCGImagePropertyHEICSUnclampedDelayTime, _kCGImagePropertyHEIFCanAnimate, _kCGImagePropertyHEIFDictionary, _kCGImagePropertyHasAlpha, _kCGImagePropertyHeight, _kCGImagePropertyIPTCActionAdvised, _kCGImagePropertyIPTCByline, _kCGImagePropertyIPTCBylineTitle, _kCGImagePropertyIPTCCaptionAbstract, _kCGImagePropertyIPTCCategory, _kCGImagePropertyIPTCCity, _kCGImagePropertyIPTCContact, _kCGImagePropertyIPTCContactInfoAddress, _kCGImagePropertyIPTCContactInfoCity, _kCGImagePropertyIPTCContactInfoCountry, _kCGImagePropertyIPTCContactInfoEmails, _kCGImagePropertyIPTCContactInfoPhones, _kCGImagePropertyIPTCContactInfoPostalCode, _kCGImagePropertyIPTCContactInfoStateProvince, _kCGImagePropertyIPTCContactInfoWebURLs, _kCGImagePropertyIPTCContentLocationCode, _kCGImagePropertyIPTCContentLocationName, _kCGImagePropertyIPTCCopyrightNotice, _kCGImagePropertyIPTCCountryPrimaryLocationCode, _kCGImagePropertyIPTCCountryPrimaryLocationName, _kCGImagePropertyIPTCCreatorContactInfo, _kCGImagePropertyIPTCCredit, _kCGImagePropertyIPTCDateCreated, _kCGImagePropertyIPTCDictionary, _kCGImagePropertyIPTCDigitalCreationDate, _kCGImagePropertyIPTCDigitalCreationTime, _kCGImagePropertyIPTCEditStatus, _kCGImagePropertyIPTCEditorialUpdate, _kCGImagePropertyIPTCExpirationDate, _kCGImagePropertyIPTCExpirationTime, _kCGImagePropertyIPTCExtAboutCvTerm, _kCGImagePropertyIPTCExtAboutCvTermCvId, _kCGImagePropertyIPTCExtAboutCvTermId, _kCGImagePropertyIPTCExtAboutCvTermName, _kCGImagePropertyIPTCExtAboutCvTermRefinedAbout, _kCGImagePropertyIPTCExtAddlModelInfo, _kCGImagePropertyIPTCExtArtworkCircaDateCreated, _kCGImagePropertyIPTCExtArtworkContentDescription, _kCGImagePropertyIPTCExtArtworkContributionDescription, _kCGImagePropertyIPTCExtArtworkCopyrightNotice, _kCGImagePropertyIPTCExtArtworkCopyrightOwnerID, _kCGImagePropertyIPTCExtArtworkCopyrightOwnerName, _kCGImagePropertyIPTCExtArtworkCreator, _kCGImagePropertyIPTCExtArtworkCreatorID, _kCGImagePropertyIPTCExtArtworkDateCreated, _kCGImagePropertyIPTCExtArtworkLicensorID, _kCGImagePropertyIPTCExtArtworkLicensorName, _kCGImagePropertyIPTCExtArtworkOrObject, _kCGImagePropertyIPTCExtArtworkPhysicalDescription, _kCGImagePropertyIPTCExtArtworkSource, _kCGImagePropertyIPTCExtArtworkSourceInvURL, _kCGImagePropertyIPTCExtArtworkSourceInventoryNo, _kCGImagePropertyIPTCExtArtworkStylePeriod, _kCGImagePropertyIPTCExtArtworkTitle, _kCGImagePropertyIPTCExtAudioBitrate, _kCGImagePropertyIPTCExtAudioBitrateMode, _kCGImagePropertyIPTCExtAudioChannelCount, _kCGImagePropertyIPTCExtCircaDateCreated, _kCGImagePropertyIPTCExtContainerFormat, _kCGImagePropertyIPTCExtContainerFormatIdentifier, _kCGImagePropertyIPTCExtContainerFormatName, _kCGImagePropertyIPTCExtContributor, _kCGImagePropertyIPTCExtContributorIdentifier, _kCGImagePropertyIPTCExtContributorName, _kCGImagePropertyIPTCExtContributorRole, _kCGImagePropertyIPTCExtControlledVocabularyTerm, _kCGImagePropertyIPTCExtCopyrightYear, _kCGImagePropertyIPTCExtCreator, _kCGImagePropertyIPTCExtCreatorIdentifier, _kCGImagePropertyIPTCExtCreatorName, _kCGImagePropertyIPTCExtCreatorRole, _kCGImagePropertyIPTCExtDataOnScreen, _kCGImagePropertyIPTCExtDataOnScreenRegion, _kCGImagePropertyIPTCExtDataOnScreenRegionD, _kCGImagePropertyIPTCExtDataOnScreenRegionH, _kCGImagePropertyIPTCExtDataOnScreenRegionText, _kCGImagePropertyIPTCExtDataOnScreenRegionUnit, _kCGImagePropertyIPTCExtDataOnScreenRegionW, _kCGImagePropertyIPTCExtDataOnScreenRegionX, _kCGImagePropertyIPTCExtDataOnScreenRegionY, _kCGImagePropertyIPTCExtDigitalImageGUID, _kCGImagePropertyIPTCExtDigitalSourceFileType, _kCGImagePropertyIPTCExtDigitalSourceType, _kCGImagePropertyIPTCExtDopesheet, _kCGImagePropertyIPTCExtDopesheetLink, _kCGImagePropertyIPTCExtDopesheetLinkLink, _kCGImagePropertyIPTCExtDopesheetLinkLinkQualifier, _kCGImagePropertyIPTCExtEmbdEncRightsExpr, _kCGImagePropertyIPTCExtEmbeddedEncodedRightsExpr, _kCGImagePropertyIPTCExtEmbeddedEncodedRightsExprLangID, _kCGImagePropertyIPTCExtEmbeddedEncodedRightsExprType, _kCGImagePropertyIPTCExtEpisode, _kCGImagePropertyIPTCExtEpisodeIdentifier, _kCGImagePropertyIPTCExtEpisodeName, _kCGImagePropertyIPTCExtEpisodeNumber, _kCGImagePropertyIPTCExtEvent, _kCGImagePropertyIPTCExtExternalMetadataLink, _kCGImagePropertyIPTCExtFeedIdentifier, _kCGImagePropertyIPTCExtGenre, _kCGImagePropertyIPTCExtGenreCvId, _kCGImagePropertyIPTCExtGenreCvTermId, _kCGImagePropertyIPTCExtGenreCvTermName, _kCGImagePropertyIPTCExtGenreCvTermRefinedAbout, _kCGImagePropertyIPTCExtHeadline, _kCGImagePropertyIPTCExtIPTCLastEdited, _kCGImagePropertyIPTCExtLinkedEncRightsExpr, _kCGImagePropertyIPTCExtLinkedEncodedRightsExpr, _kCGImagePropertyIPTCExtLinkedEncodedRightsExprLangID, _kCGImagePropertyIPTCExtLinkedEncodedRightsExprType, _kCGImagePropertyIPTCExtLocationCity, _kCGImagePropertyIPTCExtLocationCountryCode, _kCGImagePropertyIPTCExtLocationCountryName, _kCGImagePropertyIPTCExtLocationCreated, _kCGImagePropertyIPTCExtLocationGPSAltitude, _kCGImagePropertyIPTCExtLocationGPSLatitude, _kCGImagePropertyIPTCExtLocationGPSLongitude, _kCGImagePropertyIPTCExtLocationIdentifier, _kCGImagePropertyIPTCExtLocationLocationId, _kCGImagePropertyIPTCExtLocationLocationName, _kCGImagePropertyIPTCExtLocationProvinceState, _kCGImagePropertyIPTCExtLocationShown, _kCGImagePropertyIPTCExtLocationSublocation, _kCGImagePropertyIPTCExtLocationWorldRegion, _kCGImagePropertyIPTCExtMaxAvailHeight, _kCGImagePropertyIPTCExtMaxAvailWidth, _kCGImagePropertyIPTCExtModelAge, _kCGImagePropertyIPTCExtOrganisationInImageCode, _kCGImagePropertyIPTCExtOrganisationInImageName, _kCGImagePropertyIPTCExtPersonHeard, _kCGImagePropertyIPTCExtPersonHeardIdentifier, _kCGImagePropertyIPTCExtPersonHeardName, _kCGImagePropertyIPTCExtPersonInImage, _kCGImagePropertyIPTCExtPersonInImageCharacteristic, _kCGImagePropertyIPTCExtPersonInImageCvTermCvId, _kCGImagePropertyIPTCExtPersonInImageCvTermId, _kCGImagePropertyIPTCExtPersonInImageCvTermName, _kCGImagePropertyIPTCExtPersonInImageCvTermRefinedAbout, _kCGImagePropertyIPTCExtPersonInImageDescription, _kCGImagePropertyIPTCExtPersonInImageId, _kCGImagePropertyIPTCExtPersonInImageName, _kCGImagePropertyIPTCExtPersonInImageWDetails, _kCGImagePropertyIPTCExtProductInImage, _kCGImagePropertyIPTCExtProductInImageDescription, _kCGImagePropertyIPTCExtProductInImageGTIN, _kCGImagePropertyIPTCExtProductInImageName, _kCGImagePropertyIPTCExtPublicationEvent, _kCGImagePropertyIPTCExtPublicationEventDate, _kCGImagePropertyIPTCExtPublicationEventIdentifier, _kCGImagePropertyIPTCExtPublicationEventName, _kCGImagePropertyIPTCExtRating, _kCGImagePropertyIPTCExtRatingRatingRegion, _kCGImagePropertyIPTCExtRatingRegionCity, _kCGImagePropertyIPTCExtRatingRegionCountryCode, _kCGImagePropertyIPTCExtRatingRegionCountryName, _kCGImagePropertyIPTCExtRatingRegionGPSAltitude, _kCGImagePropertyIPTCExtRatingRegionGPSLatitude, _kCGImagePropertyIPTCExtRatingRegionGPSLongitude, _kCGImagePropertyIPTCExtRatingRegionIdentifier, _kCGImagePropertyIPTCExtRatingRegionLocationId, _kCGImagePropertyIPTCExtRatingRegionLocationName, _kCGImagePropertyIPTCExtRatingRegionProvinceState, _kCGImagePropertyIPTCExtRatingRegionSublocation, _kCGImagePropertyIPTCExtRatingRegionWorldRegion, _kCGImagePropertyIPTCExtRatingScaleMaxValue, _kCGImagePropertyIPTCExtRatingScaleMinValue, _kCGImagePropertyIPTCExtRatingSourceLink, _kCGImagePropertyIPTCExtRatingValue, _kCGImagePropertyIPTCExtRatingValueLogoLink, _kCGImagePropertyIPTCExtRegistryEntryRole, _kCGImagePropertyIPTCExtRegistryID, _kCGImagePropertyIPTCExtRegistryItemID, _kCGImagePropertyIPTCExtRegistryOrganisationID, _kCGImagePropertyIPTCExtReleaseReady, _kCGImagePropertyIPTCExtSeason, _kCGImagePropertyIPTCExtSeasonIdentifier, _kCGImagePropertyIPTCExtSeasonName, _kCGImagePropertyIPTCExtSeasonNumber, _kCGImagePropertyIPTCExtSeries, _kCGImagePropertyIPTCExtSeriesIdentifier, _kCGImagePropertyIPTCExtSeriesName, _kCGImagePropertyIPTCExtShownEvent, _kCGImagePropertyIPTCExtShownEventIdentifier, _kCGImagePropertyIPTCExtShownEventName, _kCGImagePropertyIPTCExtStorylineIdentifier, _kCGImagePropertyIPTCExtStreamReady, _kCGImagePropertyIPTCExtStylePeriod, _kCGImagePropertyIPTCExtSupplyChainSource, _kCGImagePropertyIPTCExtSupplyChainSourceIdentifier, _kCGImagePropertyIPTCExtSupplyChainSourceName, _kCGImagePropertyIPTCExtTemporalCoverage, _kCGImagePropertyIPTCExtTemporalCoverageFrom, _kCGImagePropertyIPTCExtTemporalCoverageTo, _kCGImagePropertyIPTCExtTranscript, _kCGImagePropertyIPTCExtTranscriptLink, _kCGImagePropertyIPTCExtTranscriptLinkLink, _kCGImagePropertyIPTCExtTranscriptLinkLinkQualifier, _kCGImagePropertyIPTCExtVideoBitrate, _kCGImagePropertyIPTCExtVideoBitrateMode, _kCGImagePropertyIPTCExtVideoDisplayAspectRatio, _kCGImagePropertyIPTCExtVideoEncodingProfile, _kCGImagePropertyIPTCExtVideoShotType, _kCGImagePropertyIPTCExtVideoShotTypeIdentifier, _kCGImagePropertyIPTCExtVideoShotTypeName, _kCGImagePropertyIPTCExtVideoStreamsCount, _kCGImagePropertyIPTCExtVisualColor, _kCGImagePropertyIPTCExtWorkflowTag, _kCGImagePropertyIPTCExtWorkflowTagCvId, _kCGImagePropertyIPTCExtWorkflowTagCvTermId, _kCGImagePropertyIPTCExtWorkflowTagCvTermName, _kCGImagePropertyIPTCExtWorkflowTagCvTermRefinedAbout, _kCGImagePropertyIPTCFixtureIdentifier, _kCGImagePropertyIPTCHeadline, _kCGImagePropertyIPTCImageOrientation, _kCGImagePropertyIPTCImageType, _kCGImagePropertyIPTCKeywords, _kCGImagePropertyIPTCLanguageIdentifier, _kCGImagePropertyIPTCObjectAttributeReference, _kCGImagePropertyIPTCObjectCycle, _kCGImagePropertyIPTCObjectName, _kCGImagePropertyIPTCObjectTypeReference, _kCGImagePropertyIPTCOriginalTransmissionReference, _kCGImagePropertyIPTCOriginatingProgram, _kCGImagePropertyIPTCProgramVersion, _kCGImagePropertyIPTCProvinceState, _kCGImagePropertyIPTCReferenceDate, _kCGImagePropertyIPTCReferenceNumber, _kCGImagePropertyIPTCReferenceService, _kCGImagePropertyIPTCReleaseDate, _kCGImagePropertyIPTCReleaseTime, _kCGImagePropertyIPTCRightsUsageTerms, _kCGImagePropertyIPTCScene, _kCGImagePropertyIPTCSource, _kCGImagePropertyIPTCSpecialInstructions, _kCGImagePropertyIPTCStarRating, _kCGImagePropertyIPTCSubLocation, _kCGImagePropertyIPTCSubjectReference, _kCGImagePropertyIPTCSupplementalCategory, _kCGImagePropertyIPTCTimeCreated, _kCGImagePropertyIPTCUrgency, _kCGImagePropertyIPTCWriterEditor, _kCGImagePropertyImageCount, _kCGImagePropertyImageIndex, _kCGImagePropertyImages, _kCGImagePropertyIsFloat, _kCGImagePropertyIsIndexed, _kCGImagePropertyJFIFDensityUnit, _kCGImagePropertyJFIFDictionary, _kCGImagePropertyJFIFIsProgressive, _kCGImagePropertyJFIFVersion, _kCGImagePropertyJFIFXDensity, _kCGImagePropertyJFIFYDensity, _kCGImagePropertyJPEGChromaSubsamplingX, _kCGImagePropertyJPEGChromaSubsamplingY, _kCGImagePropertyJPEGDictionary, _kCGImagePropertyJPEGQuantization, _kCGImagePropertyMakerAppleDictionary, _kCGImagePropertyMakerCanonAspectRatioInfo, _kCGImagePropertyMakerCanonCameraSerialNumber, _kCGImagePropertyMakerCanonContinuousDrive, _kCGImagePropertyMakerCanonDictionary, _kCGImagePropertyMakerCanonFirmware, _kCGImagePropertyMakerCanonFlashExposureComp, _kCGImagePropertyMakerCanonImageSerialNumber, _kCGImagePropertyMakerCanonLensModel, _kCGImagePropertyMakerCanonOwnerName, _kCGImagePropertyMakerFujiDictionary, _kCGImagePropertyMakerMinoltaDictionary, _kCGImagePropertyMakerNikonCameraSerialNumber, _kCGImagePropertyMakerNikonColorMode, _kCGImagePropertyMakerNikonDictionary, _kCGImagePropertyMakerNikonDigitalZoom, _kCGImagePropertyMakerNikonFlashExposureComp, _kCGImagePropertyMakerNikonFlashSetting, _kCGImagePropertyMakerNikonFocusDistance, _kCGImagePropertyMakerNikonFocusMode, _kCGImagePropertyMakerNikonISOSelection, _kCGImagePropertyMakerNikonISOSetting, _kCGImagePropertyMakerNikonImageAdjustment, _kCGImagePropertyMakerNikonLensAdapter, _kCGImagePropertyMakerNikonLensInfo, _kCGImagePropertyMakerNikonLensType, _kCGImagePropertyMakerNikonQuality, _kCGImagePropertyMakerNikonSharpenMode, _kCGImagePropertyMakerNikonShootingMode, _kCGImagePropertyMakerNikonShutterCount, _kCGImagePropertyMakerNikonWhiteBalanceMode, _kCGImagePropertyMakerOlympusDictionary, _kCGImagePropertyMakerPentaxDictionary, _kCGImagePropertyNamedColorSpace, _kCGImagePropertyOpenEXRAspectRatio, _kCGImagePropertyOpenEXRDictionary, _kCGImagePropertyOrientation, _kCGImagePropertyPNGAuthor, _kCGImagePropertyPNGBandCount, _kCGImagePropertyPNGChromaticities, _kCGImagePropertyPNGComment, _kCGImagePropertyPNGCompressionFilter, _kCGImagePropertyPNGCopyright, _kCGImagePropertyPNGCreationTime, _kCGImagePropertyPNGDescription, _kCGImagePropertyPNGDictionary, _kCGImagePropertyPNGDisclaimer, _kCGImagePropertyPNGGamma, _kCGImagePropertyPNGInterlaceType, _kCGImagePropertyPNGModificationTime, _kCGImagePropertyPNGPixelsAspectRatio, _kCGImagePropertyPNGSoftware, _kCGImagePropertyPNGSource, _kCGImagePropertyPNGTitle, _kCGImagePropertyPNGTransparency, _kCGImagePropertyPNGWarning, _kCGImagePropertyPNGXPixelsPerMeter, _kCGImagePropertyPNGYPixelsPerMeter, _kCGImagePropertyPNGsRGBIntent, _kCGImagePropertyPVRBitsPerPixel, _kCGImagePropertyPVRChannelWeighting, _kCGImagePropertyPVREncoder, _kCGImagePropertyPVRPunchThrough, _kCGImagePropertyPencilKitPrivateData, _kCGImagePropertyPixelFormat, _kCGImagePropertyPixelHeight, _kCGImagePropertyPixelWidth, _kCGImagePropertyPrimaryImage, _kCGImagePropertyProfileName, _kCGImagePropertyRawDictionary, _kCGImagePropertyRenderingDepth, _kCGImagePropertySamplesPerPixel, _kCGImagePropertyTGACompression, _kCGImagePropertyTGADictionary, _kCGImagePropertyTIFFArtist, _kCGImagePropertyTIFFCompression, _kCGImagePropertyTIFFCopyright, _kCGImagePropertyTIFFDateTime, _kCGImagePropertyTIFFDictionary, _kCGImagePropertyTIFFDocumentName, _kCGImagePropertyTIFFHostComputer, _kCGImagePropertyTIFFImageDescription, _kCGImagePropertyTIFFMake, _kCGImagePropertyTIFFModel, _kCGImagePropertyTIFFOrientation, _kCGImagePropertyTIFFPhotometricInterpretation, _kCGImagePropertyTIFFPrimaryChromaticities, _kCGImagePropertyTIFFResolutionUnit, _kCGImagePropertyTIFFSoftware, _kCGImagePropertyTIFFTileLength, _kCGImagePropertyTIFFTileWidth, _kCGImagePropertyTIFFTransferFunction, _kCGImagePropertyTIFFWhitePoint, _kCGImagePropertyTIFFXResolution, _kCGImagePropertyTIFFYResolution, _kCGImagePropertyThreshold, _kCGImagePropertyThumbnailImages, _kCGImagePropertyWebPCanvasPixelHeight, _kCGImagePropertyWebPCanvasPixelWidth, _kCGImagePropertyWebPDelayTime, _kCGImagePropertyWebPDictionary, _kCGImagePropertyWebPFrameInfoArray, _kCGImagePropertyWebPLoopCount, _kCGImagePropertyWebPUnclampedDelayTime, _kCGImagePropertyWidth, _kCGImageSkipCIF10SRGBCheck, _kCGImageSourceAddJPEGQualityInformation, _kCGImageSourceAddPencilKitPrivateData, _kCGImageSourceAddRenderingInformation, _kCGImageSourceAddThumbnailInformation, _kCGImageSourceApplyHDRGainMap, _kCGImageSourceBlackDespeckleEnabled, _kCGImageSourceBoostAmount, _kCGImageSourceCACorrectionBlueScale, _kCGImageSourceCACorrectionEnabled, _kCGImageSourceCACorrectionPower, _kCGImageSourceCACorrectionRedScale, _kCGImageSourceChromaBlurEnabled, _kCGImageSourceChromaBlurMoireAmount, _kCGImageSourceChromaBlurMoireSize, _kCGImageSourceChromaBlurRadius, _kCGImageSourceColorTransform, _kCGImageSourceColorTransformAdobeRGBTosRGB, _kCGImageSourceColorTransformOption, _kCGImageSourceColorTransformSpace, _kCGImageSourceCreateThumbnailFromImageAlways, _kCGImageSourceCreateThumbnailFromImageIfAbsent, _kCGImageSourceCreateThumbnailFromImageProxy, _kCGImageSourceCreateThumbnailWithTransform, _kCGImageSourceDisableParallelDecode, _kCGImageSourceDoNotCacheImageBlocks, _kCGImageSourceDrawAnnotations, _kCGImageSourceEnableMosquitoNoiseFiltering, _kCGImageSourceEnableRestrictedDecoding, _kCGImageSourceForCoreImage, _kCGImageSourceIgnoreJPEGAuxImages, _kCGImageSourceJPEGInterchangeFormat, _kCGImageSourceJPEGInterchangeFormatLength, _kCGImageSourceMemoryMapAsShared, _kCGImageSourceMethodCurrentVersion, _kCGImageSourceNeutralX, _kCGImageSourceNeutralY, _kCGImageSourceNoiseTransitionEnabled, _kCGImageSourcePreferHEIFCollection, _kCGImageSourcePreferredThreadCount, _kCGImageSourceRasterizationDPI, _kCGImageSourceRawReconstructionDefaults, _kCGImageSourceRawReconstructionMethodVersions, _kCGImageSourceRawReconstructionOptions, _kCGImageSourceRespectHEIFFileOrder, _kCGImageSourceSharpenAbsoluteLimit, _kCGImageSourceSharpenEdgeIntensity, _kCGImageSourceSharpenEnabled, _kCGImageSourceSharpenIntensity, _kCGImageSourceShouldAllowFloat, _kCGImageSourceShouldCache, _kCGImageSourceShouldCacheImmediately, _kCGImageSourceShouldExtendRaw, _kCGImageSourceShouldMemoryMap, _kCGImageSourceShouldPreferIPTCToEXIF, _kCGImageSourceShouldPreferRGB32, _kCGImageSourceShouldUseMethodVersion, _kCGImageSourceShouldUseRawDataForFullSize, _kCGImageSourceSkipAlpha, _kCGImageSourceSkipMetaData, _kCGImageSourceSkipMetadata, _kCGImageSourceSkipXMPMetadata, _kCGImageSourceSubsampleFactor, _kCGImageSourceThumbnailInterpolationQuality, _kCGImageSourceThumbnailMaxPixelSize, _kCGImageSourceTypeIdentifierHint, _kCGImageSourceUseCoreImage, _kCGImageSourceUseHardwareAcceleration, _kCGImageSourceUsePDFBackgroundBlack, _kCGImageSourceUsePDFBackgroundWhite, _kCGImageSourceXMPSidecar, _kCGImageSurfaceBytesPerRowAlignmentRequest, _kCGImageSurfaceFormatRequest, _kCGImageWriteExtendedAPP0, _kIIOPluginAddSourcePropsProc, _kIIOPluginCompareOptsProc, _kIIOPluginCopyAuxiliaryDataProc, _kIIOPluginExtensions, _kIIOPluginImageCountProc, _kIIOPluginInitImageProc, _kIIOPluginInitThumbnailProc, _kIIOPluginIsPreTiff, _kIIOPluginMinimumFileSize, _kIIOPluginTestHeaderProc, _kIIOPluginTestHeaderSize, _kIIOPluginUTType, _kImageIOInfoHeader_alphaInfo, _kImageIOInfoHeader_bitsPerComponent, _kImageIOInfoHeader_bitsPerPixel, _kImageIOInfoHeader_cacheImageBlocks, _kImageIOInfoHeader_colorTransformInfo, _kImageIOInfoHeader_colorspaceModel, _kImageIOInfoHeader_createImage, _kImageIOInfoHeader_createMask, _kImageIOInfoHeader_imageHeight, _kImageIOInfoHeader_imageIndex, _kImageIOInfoHeader_imageWidth, _kImageIOInfoHeader_isFloat, _kImageIOInfoHeader_isLittleEndian, _kImageIOInfoHeader_originalIndexedColorMap, _kImageIOInfoHeader_originalIsIndexed, _kImageIOInfoHeader_pixelFormat, _kImageIOInfoHeader_plugin, _kImageIOInfoHeader_pluginHandlesReMapping, _kImageIOInfoHeader_rowBytes, _kImageIOInfoHeader_session, _kImageIOInfoHeader_skipLabFixup, _kImageIOInfoHeader_supportsMultipleResolutions, _kImageIOInfoHeader_usesImageAndMask, _kIsAdobeRGB, _kIsNotICC, _kIsSRGB, _kIsUnknownICC ] - targets: [ x86_64-macos, arm64e-macos, x86_64h-macos, arm64-macos ] symbols: [ '$ld$install_name$os10.4$/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices', '$ld$install_name$os10.5$/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices', '$ld$install_name$os10.6$/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices', '$ld$install_name$os10.7$/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices' ] ...
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h
/* * ImageIO - ImageIOBase.h * Copyright (c) 2009-2016 Apple Inc. * All rights reserved. * */ #ifndef __IMAGEIOBASE__ #define __IMAGEIOBASE__ #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <float.h> #include <CoreFoundation/CoreFoundation.h> #include <os/availability.h> #include <TargetConditionals.h> #ifdef IMAGEIO_BUILDING_IMAGEIO # undef __OSX_AVAILABLE_STARTING # define __OSX_AVAILABLE_STARTING(m0,i) # undef __OSX_AVAILABLE_BUT_DEPRECATED # define __OSX_AVAILABLE_BUT_DEPRECATED(m0,m1,i0,i1) # define IMAGEIO_AVAILABLE_STARTING(...) # define IMAGEIO_AVAILABLE_BUT_DEPRECATED(...) # define IMAGEIO_UNAVAILABLE_DESKTOP # define IMAGEIO_UNAVAILABLE_EMBEDDED # define _iio_Nullable _Nullable # define _iio_Nonnull _Nonnull #else #define GET_IMAGEIO_AVAIL_MACRO(_1,_2,_3,_4,NAME,...) NAME #define IMAGEIO_AVAILABLE_STARTING(...) GET_IMAGEIO_AVAIL_MACRO(__VA_ARGS__, IMAGEIO_AVAILABLE_STARTING4, IMAGEIO_AVAILABLE_STARTING3, IMAGEIO_AVAILABLE_STARTING2, IMAGEIO_AVAILABLE_STARTING1)(__VA_ARGS__) #define IMAGEIO_AVAILABLE_STARTING1(m) API_AVAILABLE(macos(m)) #define IMAGEIO_AVAILABLE_STARTING2(m,i) API_AVAILABLE(macos(m), ios(i)) #define IMAGEIO_AVAILABLE_STARTING3(m,i,t) API_AVAILABLE(macos(m), ios(i), tvos(t)) #define IMAGEIO_AVAILABLE_STARTING4(m,i,t,w) API_AVAILABLE(macos(m), ios(i), tvos(t), watchos(w)) #define GET_IMAGEIO_AVAIL_BUT_DEPR_MACRO(_1,_2,_3,_4,_5,NAME,...) NAME #define IMAGEIO_AVAILABLE_BUT_DEPRECATED(...) GET_IMAGEIO_AVAIL_BUT_DEPR_MACRO(__VA_ARGS__, IMAGEIO_AVAILABLE_BUT_DEPRECATED5, IMAGEIO_AVAILABLE_BUT_DEPRECATED4, IMAGEIO_AVAILABLE_BUT_DEPRECATED3, IMAGEIO_AVAILABLE_BUT_DEPRECATED2, IMAGEIO_AVAILABLE_BUT_DEPRECATED1)(__VA_ARGS__) #define IMAGEIO_AVAILABLE_BUT_DEPRECATED1(m0) #define IMAGEIO_AVAILABLE_BUT_DEPRECATED2(m0,m1) API_DEPRECATED("No longer supported", macos(m0,m1)) #define IMAGEIO_AVAILABLE_BUT_DEPRECATED3(m0,m1,w) API_DEPRECATED(w, macos(m0,m1)) #define IMAGEIO_AVAILABLE_BUT_DEPRECATED4(m0,m1,i0,i1) API_DEPRECATED("No longer supported", macos(m0,m1), ios(i0,i1)) #define IMAGEIO_AVAILABLE_BUT_DEPRECATED5(m0,m1,i0,i1,w) API_DEPRECATED(w, macos(m0,m1), ios(i0,i1)) #define IMAGEIO_UNAVAILABLE_DESKTOP API_UNAVAILABLE(macos) #define IMAGEIO_UNAVAILABLE_EMBEDDED API_UNAVAILABLE(ios, tvos, watchos) # define _iio_Nullable _Nullable # define _iio_Nonnull _Nonnull #endif #if !defined(IMAGEIO_EXTERN) # if defined(__WIN32__) # if defined(IMAGEIO_BUILDING_IMAGEIO) # if defined(__cplusplus) # define IMAGEIO_EXTERN extern "C" __declspec(dllexport) # else /* !defined(__cplusplus) */ # define IMAGEIO_EXTERN extern __declspec(dllexport) # endif /* !defined(__cplusplus) */ # else /* !defined(IMAGEIO_BUILDING_IMAGEIO) */ # if defined(__cplusplus) # define IMAGEIO_EXTERN extern "C" __declspec(dllimport) # else /* !defined(__cplusplus) */ # define IMAGEIO_EXTERN extern __declspec(dllimport) # endif /* !defined(__cplusplus) */ # endif /* !defined(IMAGEIO_BUILDING_IMAGEIO) */ # else /* !defined(__WIN32__) */ # if defined(__cplusplus) # define IMAGEIO_EXTERN extern "C" __attribute__((visibility("default"))) # else /* !defined(__cplusplus) */ # define IMAGEIO_EXTERN extern __attribute__((visibility("default"))) # endif /* !defined(__cplusplus) */ # endif /* !defined(__WIN32__) */ #endif /* !defined(IMAGEIO_EXTERN) */ #if !defined(IMAGEIO_EXTERN_C_BEGIN) # ifdef __cplusplus # define IMAGEIO_EXTERN_C_BEGIN extern "C" { # define IMAGEIO_EXTERN_C_END } # else # define IMAGEIO_EXTERN_C_BEGIN # define IMAGEIO_EXTERN_C_END # endif #endif #if (!IMAGEIO_bridgeOS) # define IIO_HAS_IOSURFACE 1 #else # define IIO_HAS_IOSURFACE 0 #endif #if defined(__has_feature) && __has_feature(objc_bridge_id) #define IIO_BRIDGED_TYPE(type) CF_BRIDGED_TYPE(type) #else #define IIO_BRIDGED_TYPE(type) #endif #endif /* __IMAGEIOBASE__ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h
/* * ImageIO - CGImageSource.h * Copyright (c) 2004-2016 Apple Inc. All rights reserved. * */ #ifndef CGIMAGESOURCE_H_ #define CGIMAGESOURCE_H_ #include <ImageIO/ImageIOBase.h> typedef struct IIO_BRIDGED_TYPE(id) CGImageSource * CGImageSourceRef; #include <CoreGraphics/CoreGraphics.h> #include <ImageIO/CGImageMetadata.h> CF_IMPLICIT_BRIDGING_ENABLED typedef CF_ENUM(int32_t, CGImageSourceStatus) { kCGImageStatusUnexpectedEOF = -5, kCGImageStatusInvalidData = -4, kCGImageStatusUnknownType = -3, kCGImageStatusReadingHeader = -2, kCGImageStatusIncomplete = -1, kCGImageStatusComplete = 0 }; CF_ASSUME_NONNULL_BEGIN /** Keys for the options dictionary when creating a CGImageSourceRef. **/ /* Specifies the "best guess" of the type identifier for the format of the * image source file. If specified, the value of this key must be a * CFStringRef. For more information about type identifiers, see "UTType.h" * in the Application Services framework. */ IMAGEIO_EXTERN const CFStringRef kCGImageSourceTypeIdentifierHint IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /** Keys for the options dictionary of "CGImageSourceCopyPropertiesAtIndex" ** and "CGImageSourceCreateImageAtIndex". **/ /* Specifies whether the image should be cached in a decoded form. The * value of this key must be a CFBooleanRef. * kCFBooleanFalse indicates no caching, kCFBooleanTrue indicates caching. * For 64-bit architectures, the default is kCFBooleanTrue, for 32-bit the default is kCFBooleanFalse. */ IMAGEIO_EXTERN const CFStringRef kCGImageSourceShouldCache IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Specifies whether image decoding and caching should happen at image creation time. * The value of this key must be a CFBooleanRef. The default value is kCFBooleanFalse (image decoding will * happen at rendering time). */ IMAGEIO_EXTERN const CFStringRef kCGImageSourceShouldCacheImmediately IMAGEIO_AVAILABLE_STARTING(10.9, 7.0); /* Specifies whether the image should be returned as a floating * point CGImageRef if supported by the file format. Extended * range floating point CGImageRef may require additional * processing to render pleasingly. The value of this key must * be a CFBooleanRef; the default value is kCFBooleanFalse. */ IMAGEIO_EXTERN const CFStringRef kCGImageSourceShouldAllowFloat IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /** Keys for the options dictionary of ** "CGImageSourceCreateThumbnailAtIndex". **/ /* Specifies whether a thumbnail should be automatically created for an * image if a thumbnail isn't present in the image source file. The * thumbnail will be created from the full image, subject to the limit * specified by kCGImageSourceThumbnailMaxPixelSize---if a maximum pixel * size isn't specified, then the thumbnail will be the size of the full * image, which probably isn't what you want. The value of this key must be * a CFBooleanRef; the default value of this key is kCFBooleanFalse. */ IMAGEIO_EXTERN const CFStringRef kCGImageSourceCreateThumbnailFromImageIfAbsent IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Specifies whether a thumbnail should be created from the full image even * if a thumbnail is present in the image source file. The thumbnail will * be created from the full image, subject to the limit specified by * kCGImageSourceThumbnailMaxPixelSize---if a maximum pixel size isn't * specified, then the thumbnail will be the size of the full image, which * probably isn't what you want. The value of this key must be a * CFBooleanRef; the default value of this key is kCFBooleanFalse. */ IMAGEIO_EXTERN const CFStringRef kCGImageSourceCreateThumbnailFromImageAlways IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Specifies the maximum width and height in pixels of a thumbnail. If * this this key is not specified, the width and height of a thumbnail is * not limited and thumbnails may be as big as the image itself. If * present, this value of this key must be a CFNumberRef. */ IMAGEIO_EXTERN const CFStringRef kCGImageSourceThumbnailMaxPixelSize IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Specifies whether the thumbnail should be rotated and scaled according * to the orientation and pixel aspect ratio of the full image. The value * of this key must be a CFBooleanRef; the default value of this key is * kCFBooleanFalse. */ IMAGEIO_EXTERN const CFStringRef kCGImageSourceCreateThumbnailWithTransform IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Specifies that, if possible, an image should be returned as scaled down (in height and width) by a specified factor. * The resulting image will be smaller and have reduced spatial quality but will otherwise have the same characteristics * as the full size normal image. * If the specified scaling factor is not supported, a larger or full size normal image will be returned. * Supported file formats are JPEG, HEIF, TIFF, and PNG. * The value of this key must be an integer CFNumberRef (allowed values: 2, 4, and 8). */ IMAGEIO_EXTERN const CFStringRef kCGImageSourceSubsampleFactor IMAGEIO_AVAILABLE_STARTING(10.11, 9.0); CF_ASSUME_NONNULL_END /* Return the CFTypeID for CGImageSources. */ IMAGEIO_EXTERN CFTypeID CGImageSourceGetTypeID (void) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Return an array of supported type identifiers. */ IMAGEIO_EXTERN CFArrayRef _iio_Nonnull CGImageSourceCopyTypeIdentifiers(void) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Create an image source reading from the data provider `provider'. The * `options' dictionary may be used to request additional creation options; * see the list of keys above for more information. */ IMAGEIO_EXTERN CGImageSourceRef _iio_Nullable CGImageSourceCreateWithDataProvider(CGDataProviderRef _iio_Nonnull provider, CFDictionaryRef _iio_Nullable options) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Create an image source reading from `data'. The `options' dictionary * may be used to request additional creation options; see the list of keys * above for more information. */ IMAGEIO_EXTERN CGImageSourceRef _iio_Nullable CGImageSourceCreateWithData(CFDataRef _iio_Nonnull data, CFDictionaryRef _iio_Nullable options) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Create an image source reading from `url'. The `options' dictionary may * be used to request additional creation options; see the list of keys * above for more information. */ IMAGEIO_EXTERN CGImageSourceRef _iio_Nullable CGImageSourceCreateWithURL(CFURLRef _iio_Nonnull url, CFDictionaryRef _iio_Nullable options) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Return the type identifier of the image source `isrc'. This type is the * type of the source "container", which is not necessarily the type of the * image(s) in the container. For example, the .icns format supports * embedded JPEG2000 but the source type will be "com.apple.icns". */ IMAGEIO_EXTERN CFStringRef _iio_Nullable CGImageSourceGetType(CGImageSourceRef _iio_Nonnull isrc) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Return the number of images (not including thumbnails) in the image * source `isrc'. */ IMAGEIO_EXTERN size_t CGImageSourceGetCount(CGImageSourceRef _iio_Nonnull isrc) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Return the properties of the image source `isrc'. These properties * apply to the container in general but not necessarily to any individual * image that it contains. */ IMAGEIO_EXTERN CFDictionaryRef _iio_Nullable CGImageSourceCopyProperties(CGImageSourceRef _iio_Nonnull isrc, CFDictionaryRef _iio_Nullable options) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Return the properties of the image at `index' in the image source * `isrc'. The index is zero-based. The `options' dictionary may be used * to request additional options; see the list of keys above for more * information. */ IMAGEIO_EXTERN CFDictionaryRef _iio_Nullable CGImageSourceCopyPropertiesAtIndex(CGImageSourceRef _iio_Nonnull isrc, size_t index, CFDictionaryRef _iio_Nullable options) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Return the metadata of the image at `index' in the image source * `isrc'. The index is zero-based. The `options' dictionary may be used * to request additional options; see the list of keys above for more * information. Please refer to CGImageMetadata.h for usage of metadata. */ IMAGEIO_EXTERN CGImageMetadataRef _iio_Nullable CGImageSourceCopyMetadataAtIndex (CGImageSourceRef _iio_Nonnull isrc, size_t index, CFDictionaryRef _iio_Nullable options) IMAGEIO_AVAILABLE_STARTING(10.8,7.0); /* Return the image at `index' in the image source `isrc'. The index is * zero-based. The `options' dictionary may be used to request additional * creation options; see the list of keys above for more information. */ IMAGEIO_EXTERN CGImageRef _iio_Nullable CGImageSourceCreateImageAtIndex(CGImageSourceRef _iio_Nonnull isrc, size_t index, CFDictionaryRef _iio_Nullable options) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Remove the cached decoded image data for the image at `index' in the image source `isrc'. * The index is zero-based. */ IMAGEIO_EXTERN void CGImageSourceRemoveCacheAtIndex(CGImageSourceRef _iio_Nonnull isrc, size_t index) IMAGEIO_AVAILABLE_STARTING(10.9, 7.0); /* Return the thumbnail of the image at `index' in the image source `isrc'. * The index is zero-based. The `options' dictionary may be used to request * additional thumbnail creation options; see the list of keys above for * more information. */ IMAGEIO_EXTERN CGImageRef _iio_Nullable CGImageSourceCreateThumbnailAtIndex(CGImageSourceRef _iio_Nonnull isrc, size_t index, CFDictionaryRef _iio_Nullable options) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Create an incremental image source. No data is provided at creation * time; it is assumed that data will eventually be provided using * "CGImageSourceUpdateDataProvider" or "CGImageSourceUpdateData". The * `options' dictionary may be used to request additional creation options; * see the list of keys above for more information. */ IMAGEIO_EXTERN CGImageSourceRef _iio_Nonnull CGImageSourceCreateIncremental(CFDictionaryRef _iio_Nullable options) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Update the incremental image source `isrc' with new data. The new data * must include all the previous data plus any additional new data. The * `final' parameter should be true when the final set of data is provided; * false otherwise. */ IMAGEIO_EXTERN void CGImageSourceUpdateData(CGImageSourceRef _iio_Nonnull isrc, CFDataRef _iio_Nonnull data, bool final) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Update the incremental image source `isrc' with a new data provider. * The new data provider must provide all the previous data plus any * additional new data. The `final' parameter should be true when the final * set of data is provided; false otherwise. */ IMAGEIO_EXTERN void CGImageSourceUpdateDataProvider(CGImageSourceRef _iio_Nonnull isrc, CGDataProviderRef _iio_Nonnull provider, bool final) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Return the overall status of the image source `isrc'. The status is * particularly informative for incremental image sources, but may be used * by clients providing non-incremental data as well. */ IMAGEIO_EXTERN CGImageSourceStatus CGImageSourceGetStatus(CGImageSourceRef _iio_Nonnull isrc) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Return the current status of the image at `index' in the image source * `isrc'. The index is zero-based. The returned status is particularly * informative for incremental image sources but may used by clients * providing non-incremental data as well. */ IMAGEIO_EXTERN CGImageSourceStatus CGImageSourceGetStatusAtIndex(CGImageSourceRef _iio_Nonnull isrc, size_t index) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Return the primary image index for HEIF images. * Zero for all other formats. */ IMAGEIO_EXTERN size_t CGImageSourceGetPrimaryImageIndex(CGImageSourceRef _iio_Nonnull isrc) IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); /* Depth data support for JPEG, HEIF, and DNG images. * The returned CFDictionary contains: * - the depth data (CFDataRef) - (kCGImageAuxiliaryDataInfoData), * - the depth data description (CFDictionary) - (kCGImageAuxiliaryDataInfoDataDescription) * - metadata (CGImageMetadataRef) - (kCGImageAuxiliaryDataInfoMetadata) * CGImageSourceCopyAuxiliaryDataInfoAtIndex returns nil if the image did not contain ‘auxiliaryImageDataType’ data. */ IMAGEIO_EXTERN CFDictionaryRef _iio_Nullable CGImageSourceCopyAuxiliaryDataInfoAtIndex(CGImageSourceRef _iio_Nonnull isrc, size_t index, CFStringRef _iio_Nonnull auxiliaryImageDataType ) IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); CF_IMPLICIT_BRIDGING_DISABLED #endif /* CGIMAGESOURCE_H_ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h
/* * ImageIO - CGImageAnimation.h * Copyright (c) 2018 Apple Inc. All rights reserved. * */ #ifndef CGIMAGEANIMATION_H_ #define CGIMAGEANIMATION_H_ #include <ImageIO/ImageIOBase.h> #include <CoreGraphics/CoreGraphics.h> CF_IMPLICIT_BRIDGING_ENABLED CF_ASSUME_NONNULL_BEGIN typedef CF_ENUM(OSStatus, CGImageAnimationStatus) { kCGImageAnimationStatus_ParameterError = -22140, /* NULL or invalid parameter passed to API */ kCGImageAnimationStatus_CorruptInputImage = -22141, /* An image cannot be read from the given source */ kCGImageAnimationStatus_UnsupportedFormat = -22142, /* The image format is not applicable to animation */ kCGImageAnimationStatus_IncompleteInputImage = -22143, /* An image can be read from the given source, but it is incomplete */ kCGImageAnimationStatus_AllocationFailure = -22144 /* A required resource could not be created */ }; /* Starts the animation at the given index. Defaults to 0 * Value is a CFNumber */ IMAGEIO_EXTERN const CFStringRef kCGImageAnimationStartIndex IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); /* The value of this key overrides the `delay time' specified by the image * Value is a CFNumber of kCFNumberDoubleType. */ IMAGEIO_EXTERN const CFStringRef kCGImageAnimationDelayTime IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); /* The value of this key overrides the `loop count' specified by the image * Value is a CFNumber; kCFNumberPositiveInfinity may be used. */ IMAGEIO_EXTERN const CFStringRef kCGImageAnimationLoopCount IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); typedef void (^CGImageSourceAnimationBlock)(size_t index, CGImageRef image, bool* stop); /** Animate the sequence of images contained in the file at `url'. Currently supported image * formats are GIF and APNG. The `options' dictionary may be used to request additional playback * options; see the list of keys above for more information. The block is called on the main queue * at time intervals specified by the `delay time' of the image. The animation can be stopped by * setting the boolean parameter of the block to true. */ IMAGEIO_EXTERN OSStatus CGAnimateImageAtURLWithBlock(CFURLRef url, CFDictionaryRef _iio_Nullable options, CGImageSourceAnimationBlock block) IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); /** Animate the sequence of images contained in `data'. Currently supported image * formats are GIF and APNG. The `options' dictionary may be used to request additional playback * options; see the list of keys above for more information. The block is called on the main queue * at time intervals specified by the `delay time' of the image. The animation can be stopped by * setting the boolean parameter of the block to true. */ IMAGEIO_EXTERN OSStatus CGAnimateImageDataWithBlock(CFDataRef data, CFDictionaryRef _iio_Nullable options, CGImageSourceAnimationBlock block) IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); CF_ASSUME_NONNULL_END CF_IMPLICIT_BRIDGING_DISABLED #endif /* CGIMAGEANIMATION_H_ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h
/* * ImageIO - CGImageDestination.h * Copyright (c) 2004-2016 Apple Inc. All rights reserved. * */ #ifndef CGIMAGEDESTINATION_H_ #define CGIMAGEDESTINATION_H_ #include <ImageIO/ImageIOBase.h> typedef struct IIO_BRIDGED_TYPE(id) CGImageDestination * CGImageDestinationRef; #include <CoreGraphics/CoreGraphics.h> #include <ImageIO/CGImageSource.h> #include <ImageIO/CGImageMetadata.h> CF_IMPLICIT_BRIDGING_ENABLED /** Properties which may be passed to "CGImageDestinationAddImage" ** or "CGImageDestinationAddImageFromSource" to effect the output. ** The values apply to a single image of an image destination. **/ CF_ASSUME_NONNULL_BEGIN /* The desired compression quality to use when writing to an image * destination. If present, the value of this key is a CFNumberRef * in the range 0.0 to 1.0. A value of 1.0 implies lossless * compression is desired if destination format supports it. * A value of 0.0 implies that that maximum compression is * desired. */ IMAGEIO_EXTERN const CFStringRef kCGImageDestinationLossyCompressionQuality IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* The desired background color to composite against when writing * an image with alpha to a destination format that does not support * alpha. If present, the value of this key is a CGColorRef without * any alpha component of its own. If not present a white color * will be used if needed. */ IMAGEIO_EXTERN const CFStringRef kCGImageDestinationBackgroundColor IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Rescale the image to the maximum width and height in pixels. * If present, this value of this key must be a CFNumberRef. */ IMAGEIO_EXTERN const CFStringRef kCGImageDestinationImageMaxPixelSize IMAGEIO_AVAILABLE_STARTING(10.10, 8.0); /* Enable or disable thumbnail embedding for JPEG and HEIF. * The value should be kCFBooleanTrue or kCFBooleanFalse. Defaults to kCFBooleanFalse */ IMAGEIO_EXTERN const CFStringRef kCGImageDestinationEmbedThumbnail IMAGEIO_AVAILABLE_STARTING(10.10, 8.0); /* Create an image using a colorspace, that has is compatible with older devices * The value should be kCFBooleanTrue or kCFBooleanFalse * Defaults to kCFBooleanFalse = don't do any color conversion */ IMAGEIO_EXTERN const CFStringRef kCGImageDestinationOptimizeColorForSharing IMAGEIO_AVAILABLE_STARTING(10.12, 9.3); CF_ASSUME_NONNULL_END /* Return the CFTypeID for CGImageDestinations. */ IMAGEIO_EXTERN CFTypeID CGImageDestinationGetTypeID(void) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Return an array of supported type identifiers. */ IMAGEIO_EXTERN CFArrayRef _iio_Nonnull CGImageDestinationCopyTypeIdentifiers(void) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Create an image destination writing to the data consumer `consumer'. * The parameter `type' specifies the type identifier of the resulting * image file. Constants for `type' are found in the LaunchServices framework * header UTCoreTypes.h. The parameter `count' specifies number of images * (not including thumbnails) that the image file will contain. The `options' * dictionary is reserved for future use; currently, you should pass NULL for * this parameter. */ IMAGEIO_EXTERN CGImageDestinationRef _iio_Nullable CGImageDestinationCreateWithDataConsumer(CGDataConsumerRef _iio_Nonnull consumer, CFStringRef _iio_Nonnull type, size_t count, CFDictionaryRef _iio_Nullable options) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Create an image destination writing to `data'. The parameter `type' * specifies the type identifier of the resulting image file. Constants for * `type' are found in the LaunchServices framework header UTCoreTypes.h. The * parameter `count' specifies number of images (not including thumbnails) * that the image file will contain. The `options' dictionary is reserved * for future use; currently, you should pass NULL for this parameter. */ IMAGEIO_EXTERN CGImageDestinationRef _iio_Nullable CGImageDestinationCreateWithData(CFMutableDataRef _iio_Nonnull data, CFStringRef _iio_Nonnull type, size_t count, CFDictionaryRef _iio_Nullable options) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Create an image destination writing to `url'. The parameter `type' * specifies the type identifier of the resulting image file. Constants for * `type' are found in the LaunchServices framework header UTCoreTypes.h. The * parameter `count' specifies number of images (not including thumbnails) * that the image file will contain. The `options' dictionary is reserved * for future use; currently, you should pass NULL for this parameter. * Note that if `url' already exists, it will be overwritten. */ IMAGEIO_EXTERN CGImageDestinationRef _iio_Nullable CGImageDestinationCreateWithURL(CFURLRef _iio_Nonnull url, CFStringRef _iio_Nonnull type, size_t count, CFDictionaryRef _iio_Nullable options) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Specify the dictionary `properties' of properties which apply to all * images in the image destination `idst'. */ IMAGEIO_EXTERN void CGImageDestinationSetProperties(CGImageDestinationRef _iio_Nonnull idst, CFDictionaryRef _iio_Nullable properties) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Set the next image in the image destination `idst' to be `image' with * optional properties specified in `properties'. An error is logged if * more images are added than specified in the original count of the image * destination. */ IMAGEIO_EXTERN void CGImageDestinationAddImage(CGImageDestinationRef _iio_Nonnull idst, CGImageRef _iio_Nonnull image, CFDictionaryRef _iio_Nullable properties) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Set the next image in the image destination `idst' to be the image at * `index' in the image source `isrc'. The index is zero-based. The * properties of the source image can be added to or overriden by supplying * additional keys/values in `properties'. If a key in `properties' has * the value kCFNull, the corresponding property in the destination will be * removed. */ IMAGEIO_EXTERN void CGImageDestinationAddImageFromSource(CGImageDestinationRef _iio_Nonnull idst, CGImageSourceRef _iio_Nonnull isrc, size_t index, CFDictionaryRef _iio_Nullable properties) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Write everything to the destination data, url or consumer of the image * destination `idst'. You must call this function or the image * destination will not be valid. After this function is called, no * additional data will be written to the image destination. Return true * if the image was successfully written; false otherwise. */ IMAGEIO_EXTERN bool CGImageDestinationFinalize(CGImageDestinationRef _iio_Nonnull idst) IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Set the next image in the image destination `idst' to be `image' with * metadata properties specified in `metadata'. An error is logged if more * images are added than specified in the original count of the image * destination. */ IMAGEIO_EXTERN void CGImageDestinationAddImageAndMetadata(CGImageDestinationRef _iio_Nonnull idst, CGImageRef _iio_Nonnull image, CGImageMetadataRef _iio_Nullable metadata, CFDictionaryRef _iio_Nullable options) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); CF_ASSUME_NONNULL_BEGIN /* For CGImageDestinationAddImageFromSource: when set to kCFBooleanTrue, a HEIF-embedded GainMap will be preserved. * If the destination image is scaled (using kCGImageDestinationImageMaxPixelSize), the GainMap will be scaled accordingly. * The value should be kCFBooleanTrue or kCFBooleanFalse * Defaults to kCFBooleanFalse */ IMAGEIO_EXTERN const CFStringRef kCGImageDestinationPreserveGainMap IMAGEIO_AVAILABLE_STARTING(11.0, 14.1); /** ** Keys which may be used in the 'options' dictionary of ** "CGImageDestinationCopyImageSource" to effect the output. **/ /* Set the metadata tags for the image destination. If present, the value of * this key is a CGImageMetadataRef. By default, all EXIF, IPTC, and XMP tags * will be replaced. Use kCGImageDestinationMergeMetadata to merge the tags * with the existing tags in the image source. */ IMAGEIO_EXTERN const CFStringRef kCGImageDestinationMetadata IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /* If true, The metadata will be copied from the source and merged with the tags * specified in kCGImageDestinationMetadata. If a tag does not exist in the * source, it will be added. If the tag exists in the source, it will be * updated. A metadata tag can be removed by setting the tag's value to * kCFNull. If present, the value of this key is a CFBoooleanRef. The default * is kCFBooleanFalse. */ IMAGEIO_EXTERN const CFStringRef kCGImageDestinationMergeMetadata IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /* XMP data will not be written to the destination. If used in conjunction with * kCGImageDestinationMetadata, EXIF tags will be preserved, but * an XMP packet will not be written to the file. IPTC tags, that are stored in XMP, will not be preserved. * If present, the value for this key is a CFBooleanRef. The default is kCFBooleanFalse. */ IMAGEIO_EXTERN const CFStringRef kCGImageMetadataShouldExcludeXMP IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /* If true, GPS metadata will not be written to EXIF data or the corresponding * EXIF tags in XMP. This flag cannot filter any proprietary location data that * could be stored in a manufacturer's EXIF MakerNote or custom XMP properties. * If present, the value for this key is a CFBooleanRef. The default is * kCFBooleanFalse. */ IMAGEIO_EXTERN const CFStringRef kCGImageMetadataShouldExcludeGPS IMAGEIO_AVAILABLE_STARTING(10.10, 8.0); /* Updates the DateTime parameters of the image metadata. Only values * present in the original image will updated. If present, the value should * be a CFStringRef or a CFDateRef. If CFString, the value must be in * Exif DateTime or ISO 8601 DateTime format. This option is mutually * exclusive with kCGImageDestinationMetadata. */ IMAGEIO_EXTERN const CFStringRef kCGImageDestinationDateTime IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /* Updates the orientation in the image metadata. The image data itself will * not be rotated. If present, the value should be a CFNumberRef from 1 to 8. * This option is mutually exclusive with kCGImageDestinationMetadata. */ IMAGEIO_EXTERN const CFStringRef kCGImageDestinationOrientation IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); CF_ASSUME_NONNULL_END /* Losslessly copies the contents of the image source, 'isrc', to the * destination, 'idst'. The image data will not be modified. The image's * metadata can be modified by adding the keys and values defined above to * 'options'. No other images should be added to the image destination. * CGImageDestinationFinalize() should not be called afterward - * the result is saved to the destination when this function returns. * The image type of the destination must match the image source. Returns true * if the operation was successful. If an error occurs, false will be returned * and 'err' will be set to a CFErrorRef. Not all image formats are supported * for this operation. */ IMAGEIO_EXTERN bool CGImageDestinationCopyImageSource(CGImageDestinationRef _iio_Nonnull idst, CGImageSourceRef _iio_Nonnull isrc, CFDictionaryRef _iio_Nullable options, _iio_Nullable CFErrorRef * _iio_Nullable err) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /* Auxiliary data support for JPEG, HEIF, and DNG images. * The auxiliaryDataInfoDictionary should contain: * - the auxiliary data (CFDataRef) - (kCGImageAuxiliaryDataInfoData), * - the auxiliary data description (CFDictionary) - (kCGImageAuxiliaryDataInfoDataDescription) * - metadata (CGImageMetadataRef) - (kCGImageAuxiliaryDataInfoMetadata) * To add auxiliary data to an image, call CGImageDestinationAddAuxiliaryDataInfo() after adding the CGImage to the CGImageDestinationRef. */ IMAGEIO_EXTERN void CGImageDestinationAddAuxiliaryDataInfo(CGImageDestinationRef _iio_Nonnull idst, CFStringRef _iio_Nonnull auxiliaryImageDataType, CFDictionaryRef _iio_Nonnull auxiliaryDataInfoDictionary ) IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); CF_IMPLICIT_BRIDGING_DISABLED #endif /* CGIMAGEDESTINATION_H_ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h
/* * ImageIO - CGImageProperties.h * Copyright (c) 2004-2016 Apple Inc. All rights reserved. * */ #ifndef __CGIMAGEPROPERTIES__ #define __CGIMAGEPROPERTIES__ #include <CoreGraphics/CGBase.h> #include <ImageIO/ImageIOBase.h> CF_IMPLICIT_BRIDGING_ENABLED CF_ASSUME_NONNULL_BEGIN /* Properties that, if returned by CGImageSourceCopyProperties or * CGImageSourceCopyPropertiesAtIndex, contain a dictionary of file-format * or metadata-format specific key-values. */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFDictionary IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGIFDictionary IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyJFIFDictionary IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyHEICSDictionary IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifDictionary IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGDictionary IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCDictionary IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSDictionary IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyRawDictionary IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFDictionary IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerCanonDictionary IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonDictionary IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerMinoltaDictionary IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerFujiDictionary IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerOlympusDictionary IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerPentaxDictionary IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImageProperty8BIMDictionary IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGDictionary IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifAuxDictionary IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyOpenEXRDictionary IMAGEIO_AVAILABLE_STARTING(10.9, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerAppleDictionary IMAGEIO_AVAILABLE_STARTING(10.10, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyFileContentsDictionary IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyWebPDictionary IMAGEIO_AVAILABLE_STARTING(11.0, 14.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTGADictionary IMAGEIO_AVAILABLE_STARTING(11.0, 14.0); /** Properties which may be returned by "CGImageSourceCopyProperties". The ** values apply to the container in general but not necessarily to any ** individual image that it contains. **/ /* The size of the image file in bytes, if known. If present, the value of * this key is a CFNumberRef. */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyFileSize IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /** Properties which may be returned by "CGImageSourceCopyPropertiesAtIndex". ** The values apply to a single image of an image source file. **/ /* The number of pixels in the x- and y-dimensions. The value of these keys * is a CFNumberRef. */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPixelHeight IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPixelWidth IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* The DPI in the x- and y-dimensions, if known. If present, the value of * these keys is a CFNumberRef. */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDPIHeight IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDPIWidth IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* The number of bits in each color sample of each pixel. The value of this * key is a CFNumberRef. */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDepth IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* The intended display orientation of the image. If present, the value * of this key is a CFNumberRef with the same value as defined by the * TIFF and Exif specifications. That is: * 1 = 0th row is at the top, and 0th column is on the left. * 2 = 0th row is at the top, and 0th column is on the right. * 3 = 0th row is at the bottom, and 0th column is on the right. * 4 = 0th row is at the bottom, and 0th column is on the left. * 5 = 0th row is on the left, and 0th column is the top. * 6 = 0th row is on the right, and 0th column is the top. * 7 = 0th row is on the right, and 0th column is the bottom. * 8 = 0th row is on the left, and 0th column is the bottom. * If not present, a value of 1 is assumed. */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyOrientation IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* The value of this key is kCFBooleanTrue if the image contains floating- * point pixel samples */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIsFloat IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* The value of this key is kCFBooleanTrue if the image contains indexed * (a.k.a. paletted) pixel samples */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIsIndexed IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* The value of this key is kCFBooleanTrue if the image contains an alpha * (a.k.a. coverage) channel */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyHasAlpha IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* The color model of the image such as "RGB", "CMYK", "Gray", or "Lab". * The value of this key is CFStringRef. */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyColorModel IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* The name of the optional ICC profile embedded in the image, if known. * If present, the value of this key is a CFStringRef. */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyProfileName IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* For HEIF images: the value of this key is kCFBooleanTrue if the image at the given index is the primary image. */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPrimaryImage IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); /* Possible values for kCGImagePropertyColorModel property */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyColorModelRGB IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyColorModelGray IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyColorModelCMYK IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyColorModelLab IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Possible keys for kCGImagePropertyTIFFDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFCompression IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFPhotometricInterpretation IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFDocumentName IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFImageDescription IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFMake IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFModel IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFOrientation IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFXResolution IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFYResolution IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFResolutionUnit IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFSoftware IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFTransferFunction IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFDateTime IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFArtist IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFHostComputer IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFCopyright IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFWhitePoint IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFPrimaryChromaticities IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFTileWidth IMAGEIO_AVAILABLE_STARTING(10.11, 9.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFTileLength IMAGEIO_AVAILABLE_STARTING(10.11, 9.0); /* Possible keys for kCGImagePropertyJFIFDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyJFIFVersion IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyJFIFXDensity IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyJFIFYDensity IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyJFIFDensityUnit IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyJFIFIsProgressive IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); /* Possible keys for kCGImagePropertyHEICSDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyHEICSLoopCount IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyHEICSDelayTime IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyHEICSUnclampedDelayTime IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyHEICSCanvasPixelWidth IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyHEICSCanvasPixelHeight IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyHEICSFrameInfoArray IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); /* Possible keys for kCGImagePropertyExifDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifExposureTime IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifFNumber IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifExposureProgram IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSpectralSensitivity IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifISOSpeedRatings IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifOECF IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSensitivityType IMAGEIO_AVAILABLE_STARTING(10.9, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifStandardOutputSensitivity IMAGEIO_AVAILABLE_STARTING(10.9, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifRecommendedExposureIndex IMAGEIO_AVAILABLE_STARTING(10.9, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifISOSpeed IMAGEIO_AVAILABLE_STARTING(10.9, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifISOSpeedLatitudeyyy IMAGEIO_AVAILABLE_STARTING(10.9, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifISOSpeedLatitudezzz IMAGEIO_AVAILABLE_STARTING(10.9, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifVersion IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifDateTimeOriginal IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifDateTimeDigitized IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifOffsetTime IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifOffsetTimeOriginal IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifOffsetTimeDigitized IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifComponentsConfiguration IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifCompressedBitsPerPixel IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifShutterSpeedValue IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifApertureValue IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifBrightnessValue IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifExposureBiasValue IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifMaxApertureValue IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSubjectDistance IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifMeteringMode IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifLightSource IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifFlash IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifFocalLength IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSubjectArea IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifMakerNote IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifUserComment IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSubsecTime IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSubsecTimeOriginal IMAGEIO_AVAILABLE_STARTING(10.11, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSubsecTimeDigitized IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifFlashPixVersion IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifColorSpace IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifPixelXDimension IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifPixelYDimension IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifRelatedSoundFile IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifFlashEnergy IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSpatialFrequencyResponse IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifFocalPlaneXResolution IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifFocalPlaneYResolution IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifFocalPlaneResolutionUnit IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSubjectLocation IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifExposureIndex IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSensingMethod IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifFileSource IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSceneType IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifCFAPattern IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifCustomRendered IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifExposureMode IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifWhiteBalance IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifDigitalZoomRatio IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifFocalLenIn35mmFilm IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSceneCaptureType IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifGainControl IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifContrast IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSaturation IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSharpness IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifDeviceSettingDescription IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSubjectDistRange IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifImageUniqueID IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifCameraOwnerName IMAGEIO_AVAILABLE_STARTING(10.7, 5.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifBodySerialNumber IMAGEIO_AVAILABLE_STARTING(10.7, 5.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifLensSpecification IMAGEIO_AVAILABLE_STARTING(10.7, 5.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifLensMake IMAGEIO_AVAILABLE_STARTING(10.7, 5.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifLensModel IMAGEIO_AVAILABLE_STARTING(10.7, 5.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifLensSerialNumber IMAGEIO_AVAILABLE_STARTING(10.7, 5.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifGamma IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifCompositeImage IMAGEIO_AVAILABLE_STARTING(10.15.1, 13.1); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSourceImageNumberOfCompositeImage IMAGEIO_AVAILABLE_STARTING(10.15.1, 13.1); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSourceExposureTimesOfCompositeImage IMAGEIO_AVAILABLE_STARTING(10.15.1, 13.1); /* Deprecated. See kCGImagePropertyExifSubsecTimeOriginal */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSubsecTimeOrginal IMAGEIO_AVAILABLE_BUT_DEPRECATED(10.4, 10.11, 4.0, 10.0); /* Possible keys for kCGImagePropertyExifAuxDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifAuxLensInfo IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifAuxLensModel IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifAuxSerialNumber IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifAuxLensID IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifAuxLensSerialNumber IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifAuxImageNumber IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifAuxFlashCompensation IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifAuxOwnerName IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifAuxFirmware IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); /* Possible keys for kCGImagePropertyGIFDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGIFLoopCount IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGIFDelayTime IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGIFImageColorMap IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGIFHasGlobalColorMap IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGIFUnclampedDelayTime IMAGEIO_AVAILABLE_STARTING(10.7, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGIFCanvasPixelWidth IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGIFCanvasPixelHeight IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGIFFrameInfoArray IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); /* Possible keys for kCGImagePropertyPNGDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGAuthor IMAGEIO_AVAILABLE_STARTING(10.7, 5.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGChromaticities IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGComment IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGCopyright IMAGEIO_AVAILABLE_STARTING(10.7, 5.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGCreationTime IMAGEIO_AVAILABLE_STARTING(10.7, 5.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGDescription IMAGEIO_AVAILABLE_STARTING(10.7, 5.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGDisclaimer IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGGamma IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGInterlaceType IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGModificationTime IMAGEIO_AVAILABLE_STARTING(10.7, 5.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGSoftware IMAGEIO_AVAILABLE_STARTING(10.7, 5.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGSource IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGsRGBIntent IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGTitle IMAGEIO_AVAILABLE_STARTING(10.7, 5.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGWarning IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGXPixelsPerMeter IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGYPixelsPerMeter IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGPixelsAspectRatio IMAGEIO_AVAILABLE_STARTING(12.0, 19.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyAPNGLoopCount IMAGEIO_AVAILABLE_STARTING(10.10, 8.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyAPNGDelayTime IMAGEIO_AVAILABLE_STARTING(10.10, 8.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyAPNGUnclampedDelayTime IMAGEIO_AVAILABLE_STARTING(10.10, 8.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyAPNGFrameInfoArray IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyAPNGCanvasPixelWidth IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyAPNGCanvasPixelHeight IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); /* Possible keys for kCGImagePropertyWebPDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyWebPLoopCount IMAGEIO_AVAILABLE_STARTING(11.0, 14.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyWebPDelayTime IMAGEIO_AVAILABLE_STARTING(11.0, 14.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyWebPUnclampedDelayTime IMAGEIO_AVAILABLE_STARTING(11.0, 14.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyWebPFrameInfoArray IMAGEIO_AVAILABLE_STARTING(11.0, 14.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyWebPCanvasPixelWidth IMAGEIO_AVAILABLE_STARTING(11.0, 14.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyWebPCanvasPixelHeight IMAGEIO_AVAILABLE_STARTING(11.0, 14.0); /* Possible keys for kCGImagePropertyGPSDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSVersion IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSLatitudeRef IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSLatitude IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSLongitudeRef IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSLongitude IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSAltitudeRef IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSAltitude IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSTimeStamp IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSSatellites IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSStatus IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSMeasureMode IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSDOP IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSSpeedRef IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSSpeed IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSTrackRef IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSTrack IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSImgDirectionRef IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSImgDirection IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSMapDatum IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSDestLatitudeRef IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSDestLatitude IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSDestLongitudeRef IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSDestLongitude IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSDestBearingRef IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSDestBearing IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSDestDistanceRef IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSDestDistance IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSProcessingMethod IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSAreaInformation IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSDateStamp IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSDifferental IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGPSHPositioningError IMAGEIO_AVAILABLE_STARTING(10.10, 8.0); /* Possible keys for kCGImagePropertyIPTCDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCObjectTypeReference IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCObjectAttributeReference IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCObjectName IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCEditStatus IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCEditorialUpdate IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCUrgency IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCSubjectReference IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCCategory IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCSupplementalCategory IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCFixtureIdentifier IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCKeywords IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCContentLocationCode IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCContentLocationName IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCReleaseDate IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCReleaseTime IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExpirationDate IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExpirationTime IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCSpecialInstructions IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCActionAdvised IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCReferenceService IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCReferenceDate IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCReferenceNumber IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCDateCreated IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCTimeCreated IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCDigitalCreationDate IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCDigitalCreationTime IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCOriginatingProgram IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCProgramVersion IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCObjectCycle IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCByline IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCBylineTitle IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCCity IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCSubLocation IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCProvinceState IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCCountryPrimaryLocationCode IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCCountryPrimaryLocationName IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCOriginalTransmissionReference IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCHeadline IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCCredit IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCSource IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCCopyrightNotice IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCContact IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCCaptionAbstract IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCWriterEditor IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCImageType IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCImageOrientation IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCLanguageIdentifier IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCStarRating IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCCreatorContactInfo IMAGEIO_AVAILABLE_STARTING(10.6, 4.0); // IPTC Core IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCRightsUsageTerms IMAGEIO_AVAILABLE_STARTING(10.6, 4.0); // IPTC Core IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCScene IMAGEIO_AVAILABLE_STARTING(10.6, 4.0); // IPTC Core IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtAboutCvTerm IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtAboutCvTermCvId IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtAboutCvTermId IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtAboutCvTermName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtAboutCvTermRefinedAbout IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtAddlModelInfo IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkOrObject IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkCircaDateCreated IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkContentDescription IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkContributionDescription IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkCopyrightNotice IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkCreator IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkCreatorID IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkCopyrightOwnerID IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkCopyrightOwnerName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkLicensorID IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkLicensorName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkDateCreated IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkPhysicalDescription IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkSource IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkSourceInventoryNo IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkSourceInvURL IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkStylePeriod IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtArtworkTitle IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtAudioBitrate IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtAudioBitrateMode IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtAudioChannelCount IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtCircaDateCreated IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtContainerFormat IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtContainerFormatIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtContainerFormatName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtContributor IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtContributorIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtContributorName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtContributorRole IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtCopyrightYear IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtCreator IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtCreatorIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtCreatorName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtCreatorRole IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtControlledVocabularyTerm IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDataOnScreen IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDataOnScreenRegion IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDataOnScreenRegionD IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDataOnScreenRegionH IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDataOnScreenRegionText IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDataOnScreenRegionUnit IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDataOnScreenRegionW IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDataOnScreenRegionX IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDataOnScreenRegionY IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDigitalImageGUID IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDigitalSourceFileType IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDigitalSourceType IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDopesheet IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDopesheetLink IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDopesheetLinkLink IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtDopesheetLinkLinkQualifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtEmbdEncRightsExpr IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtEmbeddedEncodedRightsExpr IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtEmbeddedEncodedRightsExprType IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtEmbeddedEncodedRightsExprLangID IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtEpisode IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtEpisodeIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtEpisodeName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtEpisodeNumber IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtEvent IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtShownEvent IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtShownEventIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtShownEventName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtExternalMetadataLink IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtFeedIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtGenre IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtGenreCvId IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtGenreCvTermId IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtGenreCvTermName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtGenreCvTermRefinedAbout IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtHeadline IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtIPTCLastEdited IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLinkedEncRightsExpr IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLinkedEncodedRightsExpr IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLinkedEncodedRightsExprType IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLinkedEncodedRightsExprLangID IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLocationCreated IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLocationCity IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLocationCountryCode IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLocationCountryName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLocationGPSAltitude IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLocationGPSLatitude IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLocationGPSLongitude IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLocationIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLocationLocationId IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLocationLocationName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLocationProvinceState IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLocationSublocation IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLocationWorldRegion IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtLocationShown IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtMaxAvailHeight IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtMaxAvailWidth IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtModelAge IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtOrganisationInImageCode IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtOrganisationInImageName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPersonHeard IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPersonHeardIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPersonHeardName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPersonInImage IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPersonInImageWDetails IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPersonInImageCharacteristic IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPersonInImageCvTermCvId IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPersonInImageCvTermId IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPersonInImageCvTermName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPersonInImageCvTermRefinedAbout IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPersonInImageDescription IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPersonInImageId IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPersonInImageName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtProductInImage IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtProductInImageDescription IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtProductInImageGTIN IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtProductInImageName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPublicationEvent IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPublicationEventDate IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPublicationEventIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtPublicationEventName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRating IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingRatingRegion IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingRegionCity IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingRegionCountryCode IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingRegionCountryName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingRegionGPSAltitude IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingRegionGPSLatitude IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingRegionGPSLongitude IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingRegionIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingRegionLocationId IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingRegionLocationName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingRegionProvinceState IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingRegionSublocation IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingRegionWorldRegion IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingScaleMaxValue IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingScaleMinValue IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingSourceLink IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingValue IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRatingValueLogoLink IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRegistryID IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRegistryEntryRole IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRegistryItemID IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtRegistryOrganisationID IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtReleaseReady IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtSeason IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtSeasonIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtSeasonName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtSeasonNumber IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtSeries IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtSeriesIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtSeriesName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtStorylineIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtStreamReady IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtStylePeriod IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtSupplyChainSource IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtSupplyChainSourceIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtSupplyChainSourceName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtTemporalCoverage IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtTemporalCoverageFrom IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtTemporalCoverageTo IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtTranscript IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtTranscriptLink IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtTranscriptLinkLink IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtTranscriptLinkLinkQualifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtVideoBitrate IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtVideoBitrateMode IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtVideoDisplayAspectRatio IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtVideoEncodingProfile IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtVideoShotType IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtVideoShotTypeIdentifier IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtVideoShotTypeName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtVideoStreamsCount IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtVisualColor IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtWorkflowTag IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtWorkflowTagCvId IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtWorkflowTagCvTermId IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtWorkflowTagCvTermName IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCExtWorkflowTagCvTermRefinedAbout IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); /* Possible keys for kCGImagePropertyIPTCCreatorContactInfo dictionary (part of IPTC Core - above) */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCContactInfoCity IMAGEIO_AVAILABLE_STARTING(10.6, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCContactInfoCountry IMAGEIO_AVAILABLE_STARTING(10.6, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCContactInfoAddress IMAGEIO_AVAILABLE_STARTING(10.6, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCContactInfoPostalCode IMAGEIO_AVAILABLE_STARTING(10.6, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCContactInfoStateProvince IMAGEIO_AVAILABLE_STARTING(10.6, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCContactInfoEmails IMAGEIO_AVAILABLE_STARTING(10.6, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCContactInfoPhones IMAGEIO_AVAILABLE_STARTING(10.6, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyIPTCContactInfoWebURLs IMAGEIO_AVAILABLE_STARTING(10.6, 4.0); /* Possible keys for kCGImageProperty8BIMDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImageProperty8BIMLayerNames IMAGEIO_AVAILABLE_STARTING(10.4, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImageProperty8BIMVersion IMAGEIO_AVAILABLE_STARTING(10.10, 8.0); /* Possible keys for kCGImagePropertyDNGDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGVersion IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGBackwardVersion IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGUniqueCameraModel IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGLocalizedCameraModel IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGCameraSerialNumber IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGLensInfo IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGBlackLevel IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGWhiteLevel IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGCalibrationIlluminant1 IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGCalibrationIlluminant2 IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGColorMatrix1 IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGColorMatrix2 IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGCameraCalibration1 IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGCameraCalibration2 IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGAsShotNeutral IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGAsShotWhiteXY IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGBaselineExposure IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGBaselineNoise IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGBaselineSharpness IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGPrivateData IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGCameraCalibrationSignature IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGProfileCalibrationSignature IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGNoiseProfile IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGWarpRectilinear IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGWarpFisheye IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGFixVignetteRadial IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGActiveArea IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGAnalogBalance IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGAntiAliasStrength IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGAsShotICCProfile IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGAsShotPreProfileMatrix IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGAsShotProfileName IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGBaselineExposureOffset IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGBayerGreenSplit IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGBestQualityScale IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGBlackLevelDeltaH IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGBlackLevelDeltaV IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGBlackLevelRepeatDim IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGCFALayout IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGCFAPlaneColor IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGChromaBlurRadius IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGColorimetricReference IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGCurrentICCProfile IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGCurrentPreProfileMatrix IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGDefaultBlackRender IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGDefaultCropOrigin IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGDefaultCropSize IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGDefaultScale IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGDefaultUserCrop IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGExtraCameraProfiles IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGForwardMatrix1 IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGForwardMatrix2 IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGLinearizationTable IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGLinearResponseLimit IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGMakerNoteSafety IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGMaskedAreas IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGNewRawImageDigest IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGNoiseReductionApplied IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGOpcodeList1 IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGOpcodeList2 IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGOpcodeList3 IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGOriginalBestQualityFinalSize IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGOriginalDefaultCropSize IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGOriginalDefaultFinalSize IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGOriginalRawFileData IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGOriginalRawFileDigest IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGOriginalRawFileName IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGPreviewApplicationName IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGPreviewApplicationVersion IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGPreviewColorSpace IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGPreviewDateTime IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGPreviewSettingsDigest IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGPreviewSettingsName IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGProfileCopyright IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGProfileEmbedPolicy IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGProfileHueSatMapData1 IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGProfileHueSatMapData2 IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGProfileHueSatMapDims IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGProfileHueSatMapEncoding IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGProfileLookTableData IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGProfileLookTableDims IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGProfileLookTableEncoding IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGProfileName IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGProfileToneCurve IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGRawDataUniqueID IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGRawImageDigest IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGRawToPreviewGain IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGReductionMatrix1 IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGReductionMatrix2 IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGRowInterleaveFactor IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGShadowScale IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyDNGSubTileBlockSize IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); /* Possible keys for kCGImagePropertyCIFFDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFDescription IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFFirmware IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFOwnerName IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFImageName IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFImageFileName IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFReleaseMethod IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFReleaseTiming IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFRecordID IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFSelfTimingTime IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFCameraSerialNumber IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFImageSerialNumber IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFContinuousDrive IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFFocusMode IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFMeteringMode IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFShootingMode IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFLensModel IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFLensMaxMM IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFLensMinMM IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFWhiteBalanceIndex IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFFlashExposureComp IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyCIFFMeasuredEV IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); /* Possible keys for kCGImagePropertyMakerNikonDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonISOSetting IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonColorMode IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonQuality IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonWhiteBalanceMode IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonSharpenMode IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonFocusMode IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonFlashSetting IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonISOSelection IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonFlashExposureComp IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonImageAdjustment IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonLensAdapter IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonLensType IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonLensInfo IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonFocusDistance IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonDigitalZoom IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonShootingMode IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonCameraSerialNumber IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerNikonShutterCount IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); /* Possible keys for kCGImagePropertyMakerCanonDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerCanonOwnerName IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerCanonCameraSerialNumber IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerCanonImageSerialNumber IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerCanonFlashExposureComp IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerCanonContinuousDrive IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerCanonLensModel IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerCanonFirmware IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerCanonAspectRatioInfo IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); /* Possible keys for kCGImagePropertyOpenEXRDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyOpenEXRAspectRatio IMAGEIO_AVAILABLE_STARTING(10.9, 11.3); /* Possible int values for kCGImagePropertyTIFFOrientation */ typedef CF_CLOSED_ENUM(uint32_t, CGImagePropertyOrientation) { kCGImagePropertyOrientationUp = 1, // 0th row at top, 0th column on left - default orientation kCGImagePropertyOrientationUpMirrored, // 0th row at top, 0th column on right - horizontal flip kCGImagePropertyOrientationDown, // 0th row at bottom, 0th column on right - 180 deg rotation kCGImagePropertyOrientationDownMirrored, // 0th row at bottom, 0th column on left - vertical flip kCGImagePropertyOrientationLeftMirrored, // 0th row on left, 0th column at top kCGImagePropertyOrientationRight, // 0th row on right, 0th column at top - 90 deg CW kCGImagePropertyOrientationRightMirrored, // 0th row on right, 0th column on bottom kCGImagePropertyOrientationLeft // 0th row on left, 0th column at bottom - 90 deg CCW }; /* Possible keys for kCGImagePropertyTGADictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTGACompression IMAGEIO_AVAILABLE_STARTING(11.0, 14.0); /* Possible int values for kCGImagePropertyTGACompression */ typedef CF_CLOSED_ENUM(uint32_t, CGImagePropertyTGACompression) { kCGImageTGACompressionNone = 0, kCGImageTGACompressionRLE, }; /* * Allows client to choose the filters applied before PNG compression * http://www.libpng.org/pub/png/book/chapter09.html#png.ch09.div.1 * The value should be a CFNumber, of type long, containing a bitwise OR of the desired filters * The filters are defined below, IMAGEIO_PNG_NO_FILTERS, IMAGEIO_PNG_FILTER_NONE, etc * This value has no effect when compressing to any format other than PNG */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGCompressionFilter IMAGEIO_AVAILABLE_STARTING(10.11, 9.0); #define IMAGEIO_PNG_NO_FILTERS 0x00 #define IMAGEIO_PNG_FILTER_NONE 0x08 #define IMAGEIO_PNG_FILTER_SUB 0x10 #define IMAGEIO_PNG_FILTER_UP 0x20 #define IMAGEIO_PNG_FILTER_AVG 0x40 #define IMAGEIO_PNG_FILTER_PAETH 0x80 #define IMAGEIO_PNG_ALL_FILTERS (IMAGEIO_PNG_FILTER_NONE | IMAGEIO_PNG_FILTER_SUB | IMAGEIO_PNG_FILTER_UP | IMAGEIO_PNG_FILTER_AVG | IMAGEIO_PNG_FILTER_PAETH) /* * For PNG files: * When writing indexed color PNGs, the data for the transparity chunk 'tRNS' can be passed in with this key. * The value (CFDataRef) should contain one byte transparency info for each entry in the indexed color map. */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGTransparency IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); /* For use with CGImageSourceCopyAuxiliaryDataInfoAtIndex and CGImageDestinationAddAuxiliaryDataInfo: * These strings specify the 'auxiliaryImageDataType': */ IMAGEIO_EXTERN const CFStringRef kCGImageAuxiliaryDataTypeDepth IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImageAuxiliaryDataTypeDisparity IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImageAuxiliaryDataTypePortraitEffectsMatte IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); IMAGEIO_EXTERN const CFStringRef kCGImageAuxiliaryDataTypeSemanticSegmentationSkinMatte IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImageAuxiliaryDataTypeSemanticSegmentationHairMatte IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImageAuxiliaryDataTypeSemanticSegmentationTeethMatte IMAGEIO_AVAILABLE_STARTING(10.15, 13.0); IMAGEIO_EXTERN const CFStringRef kCGImageAuxiliaryDataTypeSemanticSegmentationGlassesMatte IMAGEIO_AVAILABLE_STARTING(11.0, 14.1); IMAGEIO_EXTERN const CFStringRef kCGImageAuxiliaryDataTypeSemanticSegmentationSkyMatte IMAGEIO_AVAILABLE_STARTING(11.0, 14.1); IMAGEIO_EXTERN const CFStringRef kCGImageAuxiliaryDataTypeHDRGainMap IMAGEIO_AVAILABLE_STARTING(11.0, 14.1); /* Depth/Disparity data support for JPEG, HEIF, and DNG images: * CGImageSourceCopyAuxiliaryDataInfoAtIndex and CGImageDestinationAddAuxiliaryDataInfo will use these keys in the dictionary: * kCGImageAuxiliaryDataInfoData - the depth data (CFDataRef) * kCGImageAuxiliaryDataInfoDataDescription - the depth data description (CFDictionary) * kCGImageAuxiliaryDataInfoMetadata - metadata (CGImageMetadataRef) */ IMAGEIO_EXTERN const CFStringRef kCGImageAuxiliaryDataInfoData IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImageAuxiliaryDataInfoDataDescription IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImageAuxiliaryDataInfoMetadata IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyImageCount IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyWidth IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyHeight IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyBytesPerRow IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyNamedColorSpace IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPixelFormat IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyImages IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyThumbnailImages IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyAuxiliaryData IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyAuxiliaryDataType IMAGEIO_AVAILABLE_STARTING(10.13, 11.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyImageIndex IMAGEIO_AVAILABLE_STARTING(12.0, 15.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroups IMAGEIO_AVAILABLE_STARTING(12.0, 15.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupIndex IMAGEIO_AVAILABLE_STARTING(12.0, 15.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupType IMAGEIO_AVAILABLE_STARTING(12.0, 15.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupTypeStereoPair IMAGEIO_AVAILABLE_STARTING(12.0, 15.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupTypeAlternate IMAGEIO_AVAILABLE_STARTING(12.0, 15.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupImagesAlternate IMAGEIO_AVAILABLE_STARTING(12.0, 15.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupImageIndexLeft IMAGEIO_AVAILABLE_STARTING(12.0, 15.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupImageIndexRight IMAGEIO_AVAILABLE_STARTING(12.0, 15.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupImageIsLeftImage IMAGEIO_AVAILABLE_STARTING(12.0, 15.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupImageIsRightImage IMAGEIO_AVAILABLE_STARTING(12.0, 15.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupImageIsAlternateImage IMAGEIO_AVAILABLE_STARTING(12.0, 15.0); CF_ASSUME_NONNULL_END CF_IMPLICIT_BRIDGING_DISABLED #endif /* __CGIMAGEPROPERTIES__ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h
/* * ImageIO - CGImageMetadata.h * Copyright (c) 2004-2016 Apple Inc. All rights reserved. * */ #ifndef CGIMAGEMETADATA_H_ #define CGIMAGEMETADATA_H_ #include <ImageIO/ImageIOBase.h> CF_IMPLICIT_BRIDGING_ENABLED /*! * @header CGImageMetadata.h * @abstract Implements access to image metadata * @description CGImageMetadata APIs allow clients to view and modify metadata * for popular image formats. ImageIO supports the EXIF, IPTC, and XMP * metadata specifications. Please refer to CGImageSource.h for functions to * read metadata from a CGImageSource, and CGImageDestination.h for functions to * write metadata to a CGImageDestination. CGImageDestinationCopyImageSource can * be used to modify metadata without recompressing the image. * * Developers can enable additional debugging information by setting the * environment variable IIO_DEBUG_METADATA=1. * @related CGImageSource.h * @related CGImageDestination.h * @ignorefuncmacro IMAGEIO_AVAILABLE_STARTING * @ignore IMAGEIO_EXTERN * @unsorted */ /*! * @typedef CGImageMetadataRef * @abstract an immutable container for CGImageMetadataTags */ typedef const struct IIO_BRIDGED_TYPE(id) CGImageMetadata *CGImageMetadataRef; ///*! @functiongroup Creating and identifying CGImageMetadata containers */ /*! * @function CGImageMetadataGetTypeID * @abstract Gets the type identifier for the CGImageMetadata opaque type * @return the type identifier for the CGImageMetadata opaque type */ IMAGEIO_EXTERN CFTypeID CGImageMetadataGetTypeID(void); /*! * @typedef CGMutableImageMetadataRef * @abstract a mutable container for CGImageMetadataTags * @discussion A CGMutableImageMetadataRef can be used in any function that * accepts a CGImageMetadataRef. */ typedef struct IIO_BRIDGED_TYPE(id) CGImageMetadata *CGMutableImageMetadataRef; /*! * @function CGImageMetadataCreateMutable * @abstract Creates an empty CGMutableImageMetadataRef */ IMAGEIO_EXTERN CGMutableImageMetadataRef _iio_Nonnull CGImageMetadataCreateMutable(void) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /*! * @function CGImageMetadataCreateMutableCopy * @abstract Creates a deep mutable copy of another CGImageMetadataRef * @discussion Before modifying an immutable CGImageMetadataRef (such as metadata * from CGImageSourceCopyMetadataAtIndex) you must first make a copy. * This function makes a deep copy of all CGImageMetadataTags and their values. */ IMAGEIO_EXTERN CGMutableImageMetadataRef _iio_Nullable CGImageMetadataCreateMutableCopy(CGImageMetadataRef _iio_Nonnull metadata) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); // **************************************************************************** // CGImageMetadataTag - an individual metadata tag, encapsulating an EXIF tag, // IPTC tag, or XMP property. // **************************************************************************** /*! * @typedef CGImageMetadataTagRef * @abstract an individual metadata tag * @discussion A CGImageMetadataTag encapsulates an EXIF, IPTC, or XMP property. * All tags contain a namespace, prefix, name, type, and value. Please see * @link CGImageMetadataTagCreate @/link for more details. */ typedef struct IIO_BRIDGED_TYPE(id) CGImageMetadataTag *CGImageMetadataTagRef; ///*! @functiongroup Creating and identifying CGImageMetadataTags */ /*! * @function CGImageMetadataTagGetTypeID * @abstract Gets the type identifier for the CGImageMetadataTag opaque type * @return the type identifier for the CGImageMetadataTagGetTypeID opaque type */ IMAGEIO_EXTERN CFTypeID CGImageMetadataTagGetTypeID(void) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); // **************************************************************************** // Constants for use in a CGImageMetadataTag // **************************************************************************** CF_ASSUME_NONNULL_BEGIN // All metadata tags must contain a namespace. Clients may use one of the // public namespaces defined below or create their own namespace. If a caller // defines their own namespace, it should comply with the guidelines set forth // by Adobe in their XMP specification at: // http://www.adobe.com/devnet/xmp.html. // For example: "http://ns.adobe.com/exif/1.0/". // The caller must also register a custom namespace using // CGImageMetadataRegisterNamespaceForPrefix. // Public, common namespaces. IMAGEIO_EXTERN const CFStringRef kCGImageMetadataNamespaceExif IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataNamespaceExifAux IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataNamespaceExifEX IMAGEIO_AVAILABLE_STARTING(10.9, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataNamespaceDublinCore IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataNamespaceIPTCCore IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataNamespaceIPTCExtension IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataNamespacePhotoshop IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataNamespaceTIFF IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataNamespaceXMPBasic IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataNamespaceXMPRights IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); // All metadata tags must contain a prefix. For the public namespaces defined // above, no prefix is required - ImageIO will use appropriate defaults. For // other namespaces a prefix is required. For example, while the exif namespace // is rather long ("http://ns.adobe.com/exif/1.0/"), when exported the shorter // string "exif" will be used to prefix all properties in the exif namespace // (example - "exif:Flash"). // Public, common prefixes. IMAGEIO_EXTERN const CFStringRef kCGImageMetadataPrefixExif IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataPrefixExifAux IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataPrefixExifEX IMAGEIO_AVAILABLE_STARTING(10.9, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataPrefixDublinCore IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataPrefixIPTCCore IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataPrefixIPTCExtension IMAGEIO_AVAILABLE_STARTING(10.13.4, 11.3); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataPrefixPhotoshop IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataPrefixTIFF IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataPrefixXMPBasic IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); IMAGEIO_EXTERN const CFStringRef kCGImageMetadataPrefixXMPRights IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); CF_ASSUME_NONNULL_END // Metadata value type constants. /*! * @typedef CGImageMetadataType * @abstract The XMP type for a CGImageMetadataTag * @discussion CGImageMetadataType defines a list of constants used to indicate * the type for a CGImageMetadataTag. If you are reading metadata, use the type * to determine how to interpret the CGImageMetadataTag's value. If you are * creating a CGImageMetadataTag, use the type to specify how the tag * should be serialized in XMP. String types have CFStringRef values, array * types have CFArray values, and structure types have CFDictionary values. * @const kCGImageMetadataTypeDefault The type will be interpretted based on the * CFType of the tag's value. This is only used when creating a new * CGImageMetadataTag - no existing tags should have this value. CFString * defaults to kCGImageMetadataTypeString, CFArray defaults to * kCGImageMetadataTypeArrayOrdered, and CFDictionary defaults to * kCGImageMetadataTypeStructure. * @const kCGImageMetadataTypeString A string value. CFNumber and CFBoolean * values will be converted to a string. * @const kCGImageMetadataTypeArrayUnordered An array where order does not matter. * Serialized in XMP as <rdf:Bag>. * @const kCGImageMetadataTypeArrayOrdered An array where order is preserved. * Serialized in XMP as <rdf:Seq>. * @const kCGImageMetadataTypeAlternateArray An ordered array where all elements * are alternates for the same value. Serialized in XMP as <rdf:Alt>. * @const kCGImageMetadataTypeAlternateText A special case of an alternate array * where all elements are different localized strings for the same value. * Serialized in XMP as an alternate array of strings with xml:lang qualifiers. * @const kCGImageMetadataTypeStructure A collection of keys and values. Unlike * array elements, fields of a structure may belong to different namespaces. */ typedef CF_ENUM(int32_t, CGImageMetadataType) { kCGImageMetadataTypeInvalid = -1, kCGImageMetadataTypeDefault = 0, kCGImageMetadataTypeString = 1, kCGImageMetadataTypeArrayUnordered = 2, kCGImageMetadataTypeArrayOrdered = 3, kCGImageMetadataTypeAlternateArray = 4, kCGImageMetadataTypeAlternateText = 5, kCGImageMetadataTypeStructure = 6 }; // **************************************************************************** // Creating a CGImageMetadataTag // **************************************************************************** /*! * @function CGImageMetadataTagCreate * @abstract Creates a new CGImageMetadataTag * @param xmlns The namespace for the tag. The value can be a common XMP namespace * defined above, such as kCGImageMetadataNamespaceExif, or a CFString with a * custom namespace URI. Custom namespaces must be a valid XML namespace. By * convention, namespaces should end with either '/' or '#'. For example, exif * uses the namespace "http://ns.adobe.com/exif/1.0/". * @param prefix An abbreviation for the XML namespace. The value can be NULL if * the namespace is defined as a constant. Custom prefixes must be a valid XML * name. For example, the prefix used for "http://ns.adobe.com/exif/1.0/" is "exif". * The XMP serialization of the tag will use the prefix. Prefixes are also * important for path-based CGImageMetadata functions, such as * @link CGImageMetadataCopyStringValueWithPath @/link or * @link CGImageMetadataSetValueWithPath @/link. * @param name The name of the tag. It must be a valid XMP name. * @param type The type of the tag's value. Must be a constant from @link * CGImageMetadataType @/link. * @param value The value of the tag. Allowable CFTypes include CFStringRef, * CFNumberRef, CFBooleanRef, CFArrayRef, and CFDictionaryRef. The CFType of 'value' * must correspond to the 'type'. The elements of a CFArray must be either a * CFStringRef or CGImageMetadataTagRef. The keys of a CFDictionary must be * CFStringRefs with valid XMP names. The values of a CFDictionary must be either * CFStringRefs or CGImageMetadataTagRefs. A shallow copy of the value is stored * in the tag. Therefore, modifying a mutable value after the tag is created * will not affect the tag's value. * @result Returns a pointer to a new CGImageMetadataTag. Returns NULL if a tag * could not be created with the specified parameters. */ IMAGEIO_EXTERN CGImageMetadataTagRef _iio_Nullable CGImageMetadataTagCreate (CFStringRef _iio_Nonnull xmlns, CFStringRef _iio_Nullable prefix, CFStringRef _iio_Nonnull name, CGImageMetadataType type, CFTypeRef _iio_Nonnull value) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); // **************************************************************************** // Getting attributes of a CGImageMetadataTag // **************************************************************************** ///*! @functiongroup Getting attributes of a CGImageMetadataTag */ /*! * @function CGImageMetadataTagCopyNamespace * @abstract Returns a copy of the tag's namespace */ IMAGEIO_EXTERN CFStringRef _iio_Nullable CGImageMetadataTagCopyNamespace(CGImageMetadataTagRef _iio_Nonnull tag) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /*! * @function CGImageMetadataTagCopyPrefix * @abstract Returns a copy of the tag's prefix */ IMAGEIO_EXTERN CFStringRef _iio_Nullable CGImageMetadataTagCopyPrefix(CGImageMetadataTagRef _iio_Nonnull tag) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /*! * @function CGImageMetadataTagCopyName * @abstract Returns a copy of the tag's name */ IMAGEIO_EXTERN CFStringRef _iio_Nullable CGImageMetadataTagCopyName(CGImageMetadataTagRef _iio_Nonnull tag) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /*! * @function CGImageMetadataTagCopyValue * @abstract Returns a shallow copy of the tag's value * @discussion This function should only be used to read the tag's value. * CGImageMetadataCopyTagWithPath returns a copy of the tag (including a copy of * the tag's value). Therefore mutating a tag's value returned from this function * may not actually mutate the value in the CGImageMetadata. It is recommended * to create a new tag followed by CGImageMetadataSetTagWithPath, or use * CGImageMetadataSetValueWithPath to mutate a metadata value. */ IMAGEIO_EXTERN CFTypeRef _iio_Nullable CGImageMetadataTagCopyValue(CGImageMetadataTagRef _iio_Nonnull tag) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /*! * @function CGImageMetadataTagGetType * @abstract Get the type of the CGImageMetadataTag * @return Returns a CGImageMetadataType constant for the CGImageMetadataTag. * This is primarily used to determine how to interpret the tag's value. */ IMAGEIO_EXTERN CGImageMetadataType CGImageMetadataTagGetType(CGImageMetadataTagRef _iio_Nonnull tag) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /*! * @function CGImageMetadataTagCopyQualifiers * @abstract Return a copy of the tag's qualifiers * @discussion XMP allows properties to contain supplemental properties called * qualifiers. Qualifiers are themselves CGImageMetadataTags with their own * namespace, prefix, name, and value. A common use is the xml:lang qualifier * for elements of an alternate-text array. * @return Returns a copy of the array of qualifiers. Elements of the array are * CGImageMetadataTags. Returns NULL if the tag does not have any qualifiers. * The copy is shallow, the qualifiers are not deep copied. */ IMAGEIO_EXTERN CFArrayRef _iio_Nullable CGImageMetadataTagCopyQualifiers(CGImageMetadataTagRef _iio_Nonnull tag) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); // **************************************************************************** // Functions for copying CGImageMetadataTagRefs from a CGImageMetadataRef. // These functions make it easier for the caller to traverse complex nested // structures of metadata, similar to KVC-compliant Objective-C classes. // **************************************************************************** ///*! @functiongroup Retrieving CGImageMetadataTagRefs from a CGImageMetadataRef */ /*! * @function CGImageMetadataCopyTags * @abstract Obtain an array of tags from a CGImageMetadataRef * @return Returns an array with a shallow copy of all top-level * CGImageMetadataTagRefs in a CGImageMetadataRef. */ IMAGEIO_EXTERN CFArrayRef _iio_Nullable CGImageMetadataCopyTags(CGImageMetadataRef _iio_Nonnull metadata) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /*! * @function CGImageMetadataCopyTagWithPath * @abstract Searches for a specific CGImageMetadataTag in a CGImageMetadataRef * @discussion This is the primary function for clients to obtain specific * metadata properties from an image. The 'path' mechanism provides a way to * access both simple top-level properties, such as Date & Time, or complex * deeply-nested properties with ease. * @param metadata A collection of metadata tags. * @param parent A parent tag. If NULL, the path is relative to the root of the * CGImageMetadataRef (i.e. it is not a child of another property). If the parent * is provided, the effective path will be the concatenation of the parent's path * and the 'path' parameter. This is useful for accessing array elements or * structure fields inside nested tags. * @param path A string representing a path to the desired tag. Paths consist of * a tag prefix (i.e. "exif") joined with a tag name (i.e. "Flash") by a colon * (":"), such as CFSTR("exif:Flash"). * Elements of ordered and unordered arrays are accessed via 0-based indices inside square [] brackets. * Elements of alternate-text arrays are accessed by an RFC 3066 language code inside square [] brackets. * Fields of a structure are delimited by a period, '.'. * Qualifiers are delimited by the '?' character. Only tags with string values (kCGImageMetadataTypeString) * are allowed to have qualifiers - arrays and structures may not contain qualifiers. * * If parent is NULL, a prefix must be specified for the first tag. Prefixes for * all subsequent tags are optional. If unspecified, the prefix is * inherented from the nearest parent tag with a prefix. Custom prefixes must be * registered using @link CGImageMetadataRegisterNamespaceForPrefix @/link prior to use * in any path-based functions. * * Examples: * <ul> * <li>'path' = CFSTR("xmp:CreateDate")</li> * <li>'path' = CFSTR("exif:Flash.Fired")</li> * <li>'parent' = tag at path CFSTR("exif:Flash"), path = CFSTR("exif:Fired") (equivilent to previous)</li> * <li>'path' = CFSTR("exif:Flash.RedEyeMode")</li> * <li>'path' = CFSTR("dc:title")</li> * <li>'path' = CFSTR("dc:subject")</li> * <li>'path' = CFSTR("dc:subject[2]") </li> * <li>'parent' = tag at path CFSTR("dc:subject"), path = CFSTR("[2]") (equivilent to previous)</li> * <li>'path' = CFSTR("dc:description[x-default])"</li> * <li>'path' = CFSTR("dc.description[de])"</li> * <li>'path' = CFSTR("dc.description[fr])"</li> * <li>'path' = CFSTR("foo:product)"</li> * <li>'path' = CFSTR("foo:product?bar:manufacturer)"</li> * </ul> * @return Returns a copy of CGImageMetadataTag matching 'path', or NULL if no * match is found. The copy of the tag's value is shallow. Tags * copied from an immutable CGImageMetadataRef are also immutable. Because this * function returns a copy of the tag's value, any modification of the tag's * value must be followed by a CGImageMetadataSetTagWithPath to commit the * change to the metadata container. */ IMAGEIO_EXTERN CGImageMetadataTagRef _iio_Nullable CGImageMetadataCopyTagWithPath(CGImageMetadataRef _iio_Nonnull metadata, CGImageMetadataTagRef _iio_Nullable parent, CFStringRef _iio_Nonnull path) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /*! * @function CGImageMetadataCopyStringValueWithPath * @abstract Searches for a specific tag in a CGImageMetadataRef and returns its * string value. * @discussion This is a convenience method for searching for a tag at path and * extracting the string value. * @param metadata A collection of metadata tags. * @param parent A parent tag. If NULL, the path is relative to the root of the * CGImageMetadataRef (i.e. it is not a child of another property). * @param path A string with the path to the desired tag. Please consult * the documentation of @link CGImageMetadataCopyTagWithPath @/link for * information about path syntax. * @return Returns a string from a CGImageMetadataTag located at 'path'. The * tag must be of type kCGImageMetadataTypeString or kCGImageMetadataTypeAlternateText. * For AlternateText tags, the element with the "x-default" language qualifier * will be returned. For other types, NULL will be returned. */ IMAGEIO_EXTERN CFStringRef _iio_Nullable CGImageMetadataCopyStringValueWithPath(CGImageMetadataRef _iio_Nonnull metadata, CGImageMetadataTagRef _iio_Nullable parent, CFStringRef _iio_Nonnull path) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); // **************************************************************************** // Functions for modifying a CGMutableImageMetadataRef // **************************************************************************** ///*! @functiongroup Modifying a CGMutableImageMetadataRef */ /*! * @function CGImageMetadataRegisterNamespaceForPrefix * @abstract Associates an XMP namespace URI with a prefix string. * @discussion This allows ImageIO to create custom metadata when it encounters * an unrecognized prefix in a path (see CGImageMetadataCopyTagWithPath for more * information about path syntax). A namespace must be registered before it can * be used to add custom metadata. All namespaces found in the image's metadata, * or defined as a constant above, will be pre-registered. Namespaces and * prefixes must be unique. * @return Returns true if successful. Returns false and sets 'err' if an error * or conflict occurs. */ IMAGEIO_EXTERN bool CGImageMetadataRegisterNamespaceForPrefix(CGMutableImageMetadataRef _iio_Nonnull metadata, CFStringRef _iio_Nonnull xmlns, CFStringRef _iio_Nonnull prefix, _iio_Nullable CFErrorRef * _iio_Nullable err) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /*! * @function CGImageMetadataSetTagWithPath * @abstract Sets the tag at a specific path in a CGMutableImageMetadata container or a parent tag * @discussion This is the primary function for adding new metadata tags to a * metadata container, or updating existing tags. All tags required to reach * the final tag (at the end of the path) will be created, if needed. Tags will * created with default types (ordered arrays). Creating tags will fail if a * prefix is encountered that has not been registered. Use * @link CGImageMetadataRegisterNamespaceForPrefix @/link to associate a prefix * with a namespace prior to using a path-based CGImageMetadata function. * Note that if a parent tag is provided, * the children of that tag reference will be modified, which may be a different * reference from the tag stored in the metadata container. Since tags are normally * obtained as a copy, it is typically neccesary to use CGImageMetadataSetTagWithPath * to commit the changed parent object back to the metadata container (using * the parent's path and NULL for the parent). * @param metadata A mutable collection of metadata tags. * Use @link CGImageMetadataCreateMutableCopy @/link or * @link CGImageMetadataCreateMutable @/link to obtain a mutable metadata container. * @param parent A parent tag. If NULL, the path is relative to the root of the * CGImageMetadataRef (i.e. it is not a child of another property). * Note that if a parent tag is provided, * the children of that tag reference will be modified, which may be a different * reference from the tag stored in the metadata container. Since tags are normally * obtained as a copy, it is typically neccesary to use CGImageMetadataSetTagWithPath * to commit the changed parent object back to the metadata container (using * the parent's path and NULL for the parent). * @param path A string with the path to the desired tag. Please consult * the documentation of @link CGImageMetadataCopyTagWithPath @/link for * information about path syntax. * @param tag The CGImageMetadataTag to be added to the metadata. The tag * will be retained. * @return Returns true if successful, false otherwise. */ IMAGEIO_EXTERN bool CGImageMetadataSetTagWithPath(CGMutableImageMetadataRef _iio_Nonnull metadata, CGImageMetadataTagRef _iio_Nullable parent, CFStringRef _iio_Nonnull path, CGImageMetadataTagRef _iio_Nonnull tag) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /*! * @function CGImageMetadataSetValueWithPath * @abstract Sets the value of the tag at a specific path in a CGMutableImageMetadataRef container or a parent tag * @discussion This function is used to add new metadata values to a * metadata container, or update existing tag values. All tags required to reach * the final tag (at the end of the path) are created, if needed. Tags are * created with default types (i.e. arrays will be ordered). Creating tags will * fail if a prefix is encountered that has not been registered. Use * @link CGImageMetadataRegisterNamespaceForPrefix @/link to associate a prefix * with a namespace prior to using a path-based CGImageMetadata function. * * Examples * <ul> * <li>'path' = CFSTR("xmp:CreateDate"), 'value' = CFSTR("2011-09-20T14:54:47-08:00")</li> * <li>'path' = CFSTR("dc:subject[0]"), 'value' = CFSTR("San Francisco")</li> * <li>'path' = CFSTR("dc:subject[1]"), 'value' = CFSTR("Golden Gate Bridge")</li> * <li>'path' = CFSTR("dc:description[en]") 'value' = CFSTR("my image description")</li> * <li>'path' = CFSTR("dc:description[de]") 'value' = CFSTR("meine bildbeschreibung")</li> * </ul> * Note that if a parent tag is provided, * the children of that tag reference will be modified, which may be a different * reference from the tag stored in the metadata container. Since tags are normally * obtained as a copy, it is typically neccesary to use CGImageMetadataSetTagWithPath * to commit the changed parent object back to the metadata container (using * the parent's path and NULL for the parent). * @param metadata A mutable collection of metadata tags. * Use @link CGImageMetadataCreateMutableCopy @/link or * @link CGImageMetadataCreateMutable @/link to obtain a mutable metadata container. * @param parent A parent tag. If NULL, the path is relative to the root of the * CGImageMetadataRef (i.e. it is not a child of another property). * @param path A string with the path to the desired tag. Please consult * the documentation of @link CGImageMetadataCopyTagWithPath @/link for * information about path syntax. * @param value The value to be added to the CGImageMetadataTag matching the path. * The tag will be retained. The restrictions for the value are the same as in @link * CGImageMetadataTagCreate @/link. * @return Returns true if successful, false otherwise. */ IMAGEIO_EXTERN bool CGImageMetadataSetValueWithPath(CGMutableImageMetadataRef _iio_Nonnull metadata, CGImageMetadataTagRef _iio_Nullable parent, CFStringRef _iio_Nonnull path, CFTypeRef _iio_Nonnull value) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /*! * @function CGImageMetadataRemoveTagWithPath * @abstract Removes the tag at a specific path from a CGMutableImageMetadata container or from the parent tag * @discussion Use this function to delete a metadata tag matching a specific * path from a mutable metadata container. Note that if a parent tag is provided, * the children of that tag reference will be modified, which may be a different * reference from the tag stored in the metadata container. Since tags are normally * obtained as a copy, it is typically neccesary to use CGImageMetadataSetTagWithPath * to commit the changed parent object back to the metadata container (using * the parent's path and NULL for the parent). * @param parent A parent tag. If NULL, the path is relative to the root of the * CGImageMetadataRef (i.e. it is not a child of another property). * @param path A string with the path to the desired tag. Please consult * the documentation of @link CGImageMetadataCopyTagWithPath @/link for * information about path syntax. */ IMAGEIO_EXTERN bool CGImageMetadataRemoveTagWithPath(CGMutableImageMetadataRef _iio_Nonnull metadata, CGImageMetadataTagRef _iio_Nullable parent, CFStringRef _iio_Nonnull path) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); #ifdef __BLOCKS__ /* Iterating through tags of CGImageMetadataRef */ /*! * @typedef CGImageMetadataTagBlock * @abstract The block type used by CGImageMetadataEnumerateTagsUsingBlock * @param path The full path to the tag in the metadata container. * @param tag The CGImageMetadataTagRef corresponding to the path in metadata. * @return Return true to continue iterating through the tags, or return false to stop. */ typedef bool(^CGImageMetadataTagBlock)(CFStringRef _iio_Nonnull path, CGImageMetadataTagRef _iio_Nonnull tag); // Enumerates the children of the tag located at 'path'. // If 'rootPath' is nil, all top-level tags in 'metadata' will be enumerated. // Executes a CGImageMetadataTagBlock, 'block', for each CGImageMetadataTag. // The block should return true to continue enumeration, or false to stop. // Behavior is undefined if 'metadata' is modified during enumeration. /*! * @function CGImageMetadataEnumerateTagsUsingBlock * @abstract Executes a given block using each tag in the metadata * @discussion This function iterates over all of the tags in a * CGImageMetadataRef, executing the block for each tag. The default behavior * iterates over all top-level tags in the metadata. The path of the tag and * the tag itself is passed to the block. The metadata cannot be modified inside * the block - consider adding the tags of interest into another collection. * @param metadata A collection of metadata tags. * @param rootPath Iteration will occur for all children of the tag matching * the root path. Please refer to CGImageMetadataCopyTagWithPath for information * about path syntax. If NULL or an empty string, the block will be executed * for all top-level tags in the metadata container. * @param options A dictionary of options for iterating through the tags. * Currently the only supported option is kCGImageMetadataEnumerateRecursively, * which should be set to a CFBoolean. * @param block The block that is executed for each tag in metadata. */ IMAGEIO_EXTERN void CGImageMetadataEnumerateTagsUsingBlock(CGImageMetadataRef _iio_Nonnull metadata, CFStringRef _iio_Nullable rootPath, CFDictionaryRef _iio_Nullable options, CGImageMetadataTagBlock _iio_Nonnull block) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); #endif // A key for the 'options' of CGImageMetadataEnumerateTagsUsingBlock. If present, // the value should be a CFBoolean. If true, tags will be enumerated recursively, // if false, only the direct children of 'rootPath' will be enumerated. // The default is non-recursive. IMAGEIO_EXTERN const CFStringRef _iio_Nonnull kCGImageMetadataEnumerateRecursively IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); // **************************************************************************** // Functions for working with constants defined in CGImageProperties.h // Provides a bridge for values from CGImageCopyPropertiesAtIndex(). // Simplifies metadata access for properties defined EXIF and IPTC standards, // which have no notion of namespaces, prefixes, or XMP property types. // Metadata Working Group guidance is factored into the mapping of // CGImageProperties to XMP. For example, setting Exif DateTimeOriginal will // set the value of the corresponding XMP tag, which is photoshop:DateCreated // **************************************************************************** ///*! @functiongroup Working with CGImageProperties */ /*! * @function CGImageMetadataCopyTagMatchingImageProperty * @abstract Searches for a specific CGImageMetadataTag matching a kCGImageProperty constant * @discussion Provides a bridge for values from CGImageCopyPropertiesAtIndex, simplifying * access for properties defined in EXIF and IPTC standards, which have no notion of * namespaces, prefixes, or XMP property types. * Metadata Working Group guidance is factored into the mapping of CGImageProperties to * XMP compatible CGImageMetadataTags. * For example, kCGImagePropertyExifDateTimeOriginal will get the value of the * corresponding XMP tag, which is photoshop:DateCreated. Note that property values will * still be in their XMP forms, such as "YYYY-MM-DDThh:mm:ss" for DateTime, rather than * the EXIF or IPTC DateTime formats. * @param metadata A collection of metadata tags * @param dictionaryName the metadata subdictionary to which the image property belongs, * such as kCGImagePropertyExifDictionary or kCGImagePropertyIPTCDictionary. Not all * dictionaries and properties are supported at this time. * @param propertyName the name of the property. This must be a defined property constant * corresponding to the 'dictionaryName'. For example, kCGImagePropertyTIFFOrientation, * kCGImagePropertyExifDateTimeOriginal, or kCGImagePropertyIPTCKeywords. A warning * will be logged if the CGImageProperty is unsupported by CGImageMetadata. * @return Returns a CGImageMetadataTagRef with the appropriate namespace, prefix, * tag name, and XMP value for the corresponding CGImageProperty. Returns NULL if the * property could not be found. */ IMAGEIO_EXTERN CGImageMetadataTagRef _iio_Nullable CGImageMetadataCopyTagMatchingImageProperty(CGImageMetadataRef _iio_Nonnull metadata, CFStringRef _iio_Nonnull dictionaryName, CFStringRef _iio_Nonnull propertyName) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /*! * @function CGImageMetadataSetValueMatchingImageProperty * @abstract Sets the value of the CGImageMetadataTag matching a kCGImageProperty constant * @discussion Provides a bridge for values from CGImageCopyPropertiesAtIndex, simplifying * changing property values defined in EXIF and IPTC standards, which have no notion of * namespaces, prefixes, or XMP property types. * Metadata Working Group guidance is factored into the mapping of CGImageProperties to * XMP compatible CGImageMetadataTags. * For example, setting kCGImagePropertyExifDateTimeOriginal will set the value of the * corresponding XMP tag, which is photoshop:DateCreated. Note that property values should * still be in their XMP forms, such as "YYYY-MM-DDThh:mm:ss" for DateTime, rather than * the EXIF or IPTC DateTime formats. Although this function will allow the caller to set * custom values for these properties, you should consult the appropriate specifications * for details about property value formats for EXIF and IPTC tags in XMP. * @param metadata A mutable collection of metadata tags * @param dictionaryName the metadata subdictionary to which the image property belongs, * such as kCGImagePropertyExifDictionary or kCGImagePropertyIPTCDictionary. Not all * dictionaries and properties are supported at this time. * @param propertyName the name of the property. This must be a defined property constant * corresponding to the 'dictionaryName'. For example, kCGImagePropertyTIFFOrientation, * kCGImagePropertyExifDateTimeOriginal, or kCGImagePropertyIPTCKeywords. A warning * will be logged if the CGImageProperty is unsupported by CGImageMetadata. * @param value A CFTypeRef with the value for the tag. The same value restrictions apply * as in @link CGImageMetadataTagCreate @/link. * @return Returns true if successful, false otherwise. */ IMAGEIO_EXTERN bool CGImageMetadataSetValueMatchingImageProperty(CGMutableImageMetadataRef _iio_Nonnull metadata, CFStringRef _iio_Nonnull dictionaryName, CFStringRef _iio_Nonnull propertyName, CFTypeRef _iio_Nonnull value) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); // **************************************************************************** // Functions for converting metadata to and from XMP packets // **************************************************************************** ///*! @functiongroup Reading and Writing XMP */ /*! * @function CGImageMetadataCreateXMPData * @abstract Serializes the CGImageMetadataRef to XMP data * @discussion This converts all of the metadata tags to a block of XMP data. Common uses * include creating sidecar files that contain metadata for image formats that do not * support embedded XMP, or cannot be edited due to other format restrictions (such as * proprietary RAW camera formats). * @param metadata A collection of metadata tags. * @param options should be NULL. Options are currently not used, but may be used in * future release. * @return Returns a CFData containing an XMP representation of the metadata. Returns * NULL if an error occurred. */ IMAGEIO_EXTERN CFDataRef _iio_Nullable CGImageMetadataCreateXMPData (CGImageMetadataRef _iio_Nonnull metadata, CFDictionaryRef _iio_Nullable options) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /*! * @function CGImageMetadataCreateFromXMPData * @abstract Creates a collection of CGImageMetadataTags from a block of XMP data * @discussion Converts XMP data into a collection of metadata tags. * The data must be a complete XMP tree. XMP packet headers (<?xpacket .. ?>) are * supported. * @param data The XMP data. * @return Returns a collection of CGImageMetadata tags. Returns NULL if an error occurred. */ IMAGEIO_EXTERN CGImageMetadataRef _iio_Nullable CGImageMetadataCreateFromXMPData (CFDataRef _iio_Nonnull data) IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); /*! * @constant kCFErrorDomainCGImageMetadata * @discussion Error domain for all errors originating in ImageIO for CGImageMetadata APIs. * Error codes may be interpreted using the list below. */ IMAGEIO_EXTERN const CFStringRef _iio_Nonnull kCFErrorDomainCGImageMetadata; /*! * @enum CGImageMetadataErrors * @discussion the list of all error codes returned under the error domain kCFErrorDomainCGImageMetadata */ typedef CF_ENUM(int32_t, CGImageMetadataErrors) { kCGImageMetadataErrorUnknown = 0, kCGImageMetadataErrorUnsupportedFormat = 1, kCGImageMetadataErrorBadArgument = 2, kCGImageMetadataErrorConflictingArguments = 3, kCGImageMetadataErrorPrefixConflict = 4, }; CF_IMPLICIT_BRIDGING_DISABLED #endif // CGIMAGEMETADATA_H_
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h
/* * ImageIO - ImageIO.h * Copyright (c) 2004-2016 Apple Inc. All rights reserved. * */ #ifndef __IMAGEIO__ #define __IMAGEIO__ #include <ImageIO/ImageIOBase.h> #include <ImageIO/CGImageSource.h> #include <ImageIO/CGImageDestination.h> #include <ImageIO/CGImageProperties.h> #include <ImageIO/CGImageMetadata.h> #include <ImageIO/CGImageAnimation.h> #endif /* __IMAGEIO__ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/ImageIO.framework/Modules/module.modulemap
framework module ImageIO [extern_c] [system] { umbrella header "ImageIO.h" export * module * { export * } }
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/IOKit.tbd
--- !tapi-tbd tbd-version: 4 targets: [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, arm64e-macos, arm64e-maccatalyst ] uuids: - target: x86_64-macos value: 5E6D9E75-A25B-3EED-8951-9AA49D8F7CA1 - target: x86_64-maccatalyst value: 5E6D9E75-A25B-3EED-8951-9AA49D8F7CA1 - target: arm64-macos value: 00000000-0000-0000-0000-000000000000 - target: arm64-maccatalyst value: 00000000-0000-0000-0000-000000000000 - target: arm64e-macos value: 91E820AD-54E2-3669-8052-10E07599E075 - target: arm64e-maccatalyst value: 91E820AD-54E2-3669-8052-10E07599E075 install-name: '/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit' current-version: 275 exports: - targets: [ x86_64-maccatalyst, x86_64-macos, arm64e-maccatalyst, arm64e-macos, arm64-macos, arm64-maccatalyst ] symbols: [ '$ld$hide$os10.7$_SCDynamicStoreAddWatchedKey', '$ld$hide$os10.7$_SCDynamicStoreCopyMultiple', '$ld$hide$os10.7$_SCDynamicStoreCopyValue', '$ld$hide$os10.7$_SCDynamicStoreCreate', '$ld$hide$os10.7$_SCDynamicStoreCreateRunLoopSource', '$ld$hide$os10.7$_SCDynamicStoreKeyCreate', '$ld$hide$os10.7$_SCDynamicStoreKeyCreatePreferences', '$ld$hide$os10.7$_SCDynamicStoreNotifyValue', '$ld$hide$os10.7$_SCDynamicStoreSetNotificationKeys', '$ld$hide$os10.7$_SCDynamicStoreSetValue', '$ld$hide$os10.7$_SCError', '$ld$hide$os10.7$_SCPreferencesApplyChanges', '$ld$hide$os10.7$_SCPreferencesCommitChanges', '$ld$hide$os10.7$_SCPreferencesCreate', '$ld$hide$os10.7$_SCPreferencesCreateWithAuthorization', '$ld$hide$os10.7$_SCPreferencesGetValue', '$ld$hide$os10.7$_SCPreferencesLock', '$ld$hide$os10.7$_SCPreferencesRemoveValue', '$ld$hide$os10.7$_SCPreferencesSetValue', '$ld$hide$os10.7$_SCPreferencesUnlock', _IOAVAudioInterfaceCopyChannelLayoutElements, _IOAVAudioInterfaceCopyDiagnosticsString, _IOAVAudioInterfaceCopyElements, _IOAVAudioInterfaceCopyProperties, _IOAVAudioInterfaceCopyProperty, _IOAVAudioInterfaceCreate, _IOAVAudioInterfaceCreateWithService, _IOAVAudioInterfaceGetLinkData, _IOAVAudioInterfaceGetLinkDataWithSource, _IOAVAudioInterfaceGetLocation, _IOAVAudioInterfaceGetService, _IOAVAudioInterfaceGetTypeID, _IOAVAudioInterfaceSetLogLevel, _IOAVAudioInterfaceSetLogLevelMask, _IOAVAudioInterfaceSetProperty, _IOAVAudioInterfaceStartLink, _IOAVAudioInterfaceStartLinkWithSource, _IOAVAudioInterfaceStopLink, _IOAVAudioInterfaceStopLinkWithSource, _IOAVConnectCallCopyMethod, _IOAVConnectCallSetMethod, _IOAVControlInterfaceCopyDiagnosticsString, _IOAVControlInterfaceCopyProperties, _IOAVControlInterfaceCopyProperty, _IOAVControlInterfaceCreate, _IOAVControlInterfaceCreateWithService, _IOAVControlInterfaceGetLocation, _IOAVControlInterfaceGetService, _IOAVControlInterfaceGetTypeID, _IOAVControlInterfaceSetLogLevel, _IOAVControlInterfaceSetLogLevelMask, _IOAVControlInterfaceSetProperty, _IOAVControllerClearEventLog, _IOAVControllerCopyDiagnosticsString, _IOAVControllerCopyProperties, _IOAVControllerCopyProperty, _IOAVControllerCreate, _IOAVControllerCreateWithLocation, _IOAVControllerCreateWithService, _IOAVControllerForceHotPlugDetect, _IOAVControllerGetLocation, _IOAVControllerGetPower, _IOAVControllerGetTypeID, _IOAVControllerSetEventLogCommandMask, _IOAVControllerSetEventLogEventMask, _IOAVControllerSetEventLogSize, _IOAVControllerSetLogLevel, _IOAVControllerSetLogLevelMask, _IOAVControllerSetPower, _IOAVControllerSetProperty, _IOAVControllerSetProtectionType, _IOAVControllerSetVirtualDeviceMode, _IOAVControllerSleepDisplay, _IOAVControllerWakeDisplay, _IOAVCreateDiagnosticsReference, _IOAVCreateDiagnosticsReferenceWithLocation, _IOAVCreateDiagnosticsString, _IOAVCreateDiagnosticsStringWithLocation, _IOAVCreateStringWithAudioChannelLayoutData, _IOAVCreateStringWithAudioLinkData, _IOAVCreateStringWithData, _IOAVCreateStringWithElement, _IOAVCreateStringWithElements, _IOAVCreateStringWithVideoColorData, _IOAVCreateStringWithVideoLinkData, _IOAVCreateStringWithVideoTimingData, _IOAVDeviceClearEventLog, _IOAVDeviceCopyDiagnosticsString, _IOAVDeviceCopyProperties, _IOAVDeviceCopyProperty, _IOAVDeviceCreate, _IOAVDeviceCreateWithLocation, _IOAVDeviceCreateWithService, _IOAVDeviceGetController, _IOAVDeviceGetLinkData, _IOAVDeviceGetLocation, _IOAVDeviceGetProtectionStatus, _IOAVDeviceGetTypeID, _IOAVDeviceReadI2C, _IOAVDeviceSetEventLogCommandMask, _IOAVDeviceSetEventLogEventMask, _IOAVDeviceSetEventLogSize, _IOAVDeviceSetLogLevel, _IOAVDeviceSetLogLevelMask, _IOAVDeviceSetProperty, _IOAVDeviceWriteI2C, _IOAVDisplayMemoryCreateWithName, _IOAVDisplayMemoryCreateWithService, _IOAVDisplayMemoryGetTypeID, _IOAVDisplayMemoryRead, _IOAVDisplayMemoryWrite, _IOAVObjectConformsTo, _IOAVPropertyListCreateWithCFProperties, _IOAVServiceClearEventLog, _IOAVServiceCopyDiagnosticsString, _IOAVServiceCopyEDID, _IOAVServiceCopyPhysicalAddress, _IOAVServiceCopyProperties, _IOAVServiceCopyProperty, _IOAVServiceCreate, _IOAVServiceCreateWithLocation, _IOAVServiceCreateWithService, _IOAVServiceGetChosenContentProtection, _IOAVServiceGetContentProtectionCapabilities, _IOAVServiceGetDevice, _IOAVServiceGetHDCPAuthenticatedContentType, _IOAVServiceGetLinkData, _IOAVServiceGetLinkDataWithSource, _IOAVServiceGetLocation, _IOAVServiceGetPower, _IOAVServiceGetProtectionStatus, _IOAVServiceGetTypeID, _IOAVServiceReadI2C, _IOAVServiceSetContentProtectionCapabilities, _IOAVServiceSetContentProtectionPolicyOptions, _IOAVServiceSetContentProtectionSupportEnabled, _IOAVServiceSetEventLogCommandMask, _IOAVServiceSetEventLogEventMask, _IOAVServiceSetEventLogSize, _IOAVServiceSetHDRStaticMetadata, _IOAVServiceSetLogLevel, _IOAVServiceSetLogLevelMask, _IOAVServiceSetProperty, _IOAVServiceSetVirtualEDIDMode, _IOAVServiceStartInfoFrame, _IOAVServiceStartInfoFrameWithSource, _IOAVServiceStartLink, _IOAVServiceStartLinkWithSource, _IOAVServiceStopInfoFrame, _IOAVServiceStopInfoFrameWithSource, _IOAVServiceStopLink, _IOAVServiceStopLinkWithSource, _IOAVServiceWriteI2C, _IOAVVideoInterfaceCopyColorElements, _IOAVVideoInterfaceCopyDiagnosticsString, _IOAVVideoInterfaceCopyDisplayAttributes, _IOAVVideoInterfaceCopyProperties, _IOAVVideoInterfaceCopyProperty, _IOAVVideoInterfaceCopyTimingElements, _IOAVVideoInterfaceCreate, _IOAVVideoInterfaceCreateWithLocation, _IOAVVideoInterfaceCreateWithService, _IOAVVideoInterfaceGetLinkData, _IOAVVideoInterfaceGetLinkDataWithSource, _IOAVVideoInterfaceGetLocation, _IOAVVideoInterfaceGetService, _IOAVVideoInterfaceGetTypeID, _IOAVVideoInterfaceSetBounds, _IOAVVideoInterfaceSetColorDitherRemoval, _IOAVVideoInterfaceSetLogLevel, _IOAVVideoInterfaceSetLogLevelMask, _IOAVVideoInterfaceSetProperty, _IOAVVideoInterfaceSetRotation, _IOAVVideoInterfaceSetScreenVirtualTemperature, _IOAVVideoInterfaceStartLink, _IOAVVideoInterfaceStartLinkWithModes, _IOAVVideoInterfaceStartLinkWithSource, _IOAVVideoInterfaceStopLink, _IOAVVideoInterfaceStopLinkWithSource, _IOAccelCreateAccelID, _IOAccelCreateSurface, _IOAccelDestroyAccelID, _IOAccelDestroySurface, _IOAccelFindAccelerator, _IOAccelFlushSurfaceOnFramebuffers, _IOAccelQueryLockSurface, _IOAccelReadLockSurface, _IOAccelReadLockSurfaceWithOptions, _IOAccelReadSurface, _IOAccelReadUnlockSurface, _IOAccelReadUnlockSurfaceWithOptions, _IOAccelSetSurfaceFramebufferShape, _IOAccelSetSurfaceFramebufferShapeWithBacking, _IOAccelSetSurfaceFramebufferShapeWithBackingAndLength, _IOAccelSetSurfaceScale, _IOAccelSurfaceControl, _IOAccelWaitForSurface, _IOAccelWriteLockSurface, _IOAccelWriteLockSurfaceWithOptions, _IOAccelWriteUnlockSurface, _IOAccelWriteUnlockSurfaceWithOptions, _IOAllowPowerChange, _IOAuthenticatedRestartSupported, _IOBSDNameMatching, _IOCFSerialize, _IOCFURLWriteDataAndPropertiesToResource, _IOCFUnserialize, _IOCFUnserializeBinary, _IOCFUnserializeWithSize, _IOCFUnserializeparse, _IOCancelPowerChange, _IOCatalogueGetData, _IOCatalogueModuleLoaded, _IOCatalogueReset, _IOCatalogueSendData, _IOCatalogueTerminate, _IOCatlogueGetGenCount, _IOCloseConnection, _IOCompatibiltyNumber, _IOConnectAddClient, _IOConnectAddRef, _IOConnectCallAsyncMethod, _IOConnectCallAsyncScalarMethod, _IOConnectCallAsyncStructMethod, _IOConnectCallMethod, _IOConnectCallScalarMethod, _IOConnectCallStructMethod, _IOConnectGetService, _IOConnectMapMemory, _IOConnectMapMemory64, _IOConnectRelease, _IOConnectSetCFProperties, _IOConnectSetCFProperty, _IOConnectSetNotificationPort, _IOConnectTrap0, _IOConnectTrap1, _IOConnectTrap2, _IOConnectTrap3, _IOConnectTrap4, _IOConnectTrap5, _IOConnectTrap6, _IOConnectUnmapMemory, _IOConnectUnmapMemory64, _IOCopyModel, _IOCopySystemLoadAdvisoryDetailed, _IOCreateDisplayInfoDictionary, _IOCreatePlugInInterfaceForService, _IOCreateReceivePort, _IODPControllerCreate, _IODPControllerCreateWithLocation, _IODPControllerCreateWithService, _IODPControllerGetAVController, _IODPControllerGetMaxLaneCount, _IODPControllerGetMaxLinkRate, _IODPControllerGetMinLaneCount, _IODPControllerGetMinLinkRate, _IODPControllerGetTypeID, _IODPControllerSetDriveSettings, _IODPControllerSetLaneCount, _IODPControllerSetLinkRate, _IODPControllerSetMaxLaneCount, _IODPControllerSetMaxLinkRate, _IODPControllerSetMinLaneCount, _IODPControllerSetMinLinkRate, _IODPControllerSetQualityPattern, _IODPControllerSetScramblingInhibited, _IODPControllerSetSupportsDownspread, _IODPControllerSetSupportsEnhancedMode, _IODPCreateStringWithLinkTrainingData, _IODPDeviceCreate, _IODPDeviceCreateWithLocation, _IODPDeviceCreateWithService, _IODPDeviceGetAVDevice, _IODPDeviceGetController, _IODPDeviceGetLinkTrainingData, _IODPDeviceGetMaxLaneCount, _IODPDeviceGetMaxLinkRate, _IODPDeviceGetRevisionMajor, _IODPDeviceGetRevisionMinor, _IODPDeviceGetSupportsDownspread, _IODPDeviceGetSupportsEnhancedMode, _IODPDeviceGetSymbolErrorCount, _IODPDeviceGetTypeID, _IODPDeviceReadDPCD, _IODPDeviceSetUpdateMode, _IODPDeviceSetUpdated, _IODPDeviceWriteDPCD, _IODPServiceCreate, _IODPServiceCreateWithLocation, _IODPServiceCreateWithService, _IODPServiceGetAVService, _IODPServiceGetDevice, _IODPServiceGetSinkCount, _IODPServiceGetSymbolErrorCount, _IODPServiceGetTypeID, _IODPServiceRetrainLink, _IODataQueueAllocateNotificationPort, _IODataQueueDataAvailable, _IODataQueueDequeue, _IODataQueueEnqueue, _IODataQueuePeek, _IODataQueueSetNotificationPort, _IODataQueueWaitForAvailableData, _IODeregisterApp, _IODeregisterForRemoteSystemPower, _IODeregisterForSystemPower, _IODestroyPlugInInterface, _IODispatchCalloutFromCFMessage, _IODispatchCalloutFromMessage, _IODisplayCommitParameters, _IODisplayCopyFloatParameters, _IODisplayCopyParameters, _IODisplayCreateInfoDictionary, _IODisplayForFramebuffer, _IODisplayGetFloatParameter, _IODisplayGetIntegerRangeParameter, _IODisplayMatchDictionaries, _IODisplaySetFloatParameter, _IODisplaySetIntegerParameter, _IODisplaySetParameters, _IOEthernetControllerCreate, _IOEthernetControllerGetBSDSocket, _IOEthernetControllerGetIONetworkInterfaceObject, _IOEthernetControllerGetTypeID, _IOEthernetControllerReadPacket, _IOEthernetControllerRegisterBSDAttachCallback, _IOEthernetControllerRegisterDisableCallback, _IOEthernetControllerRegisterEnableCallback, _IOEthernetControllerRegisterPacketAvailableCallback, _IOEthernetControllerScheduleWithRunLoop, _IOEthernetControllerSetDispatchQueue, _IOEthernetControllerSetLinkStatus, _IOEthernetControllerSetPowerSavings, _IOEthernetControllerUnscheduleFromRunLoop, _IOEthernetControllerWritePacket, _IOFBCopyI2CInterfaceForBus, _IOFBGetI2CInterfaceCount, _IOFramebufferOpen, _IOGetSystemLoadAdvisory, _IOHIDAnalyticsEventActivate, _IOHIDAnalyticsEventAddField, _IOHIDAnalyticsEventAddHistogramField, _IOHIDAnalyticsEventCancel, _IOHIDAnalyticsEventCreate, _IOHIDAnalyticsEventSetIntegerValueForField, _IOHIDAnalyticsEventSetStringValueForField, _IOHIDAnalyticsHistogramEventCreate, _IOHIDAnalyticsHistogramEventSetIntegerValue, _IOHIDCheckAccess, _IOHIDConnectionFilterActivate, _IOHIDConnectionFilterCancel, _IOHIDConnectionFilterCopyProperty, _IOHIDConnectionFilterCreate, _IOHIDConnectionFilterFilterEvent, _IOHIDConnectionFilterGetTypeID, _IOHIDConnectionFilterSetCancelHandler, _IOHIDConnectionFilterSetDispatchQueue, _IOHIDConnectionFilterSetProperty, _IOHIDCopyCFTypeParameter, _IOHIDCopyHIDParameterFromEventSystem, _IOHIDCreateSharedMemory, _IOHIDDeviceActivate, _IOHIDDeviceCancel, _IOHIDDeviceClose, _IOHIDDeviceConformsTo, _IOHIDDeviceCopyDescription, _IOHIDDeviceCopyMatchingElements, _IOHIDDeviceCopyValueMultiple, _IOHIDDeviceCopyValueMultipleWithCallback, _IOHIDDeviceCreate, _IOHIDDeviceGetProperty, _IOHIDDeviceGetRegistryEntryID, _IOHIDDeviceGetReport, _IOHIDDeviceGetReportWithCallback, _IOHIDDeviceGetService, _IOHIDDeviceGetTypeID, _IOHIDDeviceGetValue, _IOHIDDeviceGetValueWithCallback, _IOHIDDeviceGetValueWithOptions, _IOHIDDeviceOpen, _IOHIDDeviceRegisterInputReportCallback, _IOHIDDeviceRegisterInputReportWithTimeStampCallback, _IOHIDDeviceRegisterInputValueCallback, _IOHIDDeviceRegisterRemovalCallback, _IOHIDDeviceScheduleWithRunLoop, _IOHIDDeviceSetCancelHandler, _IOHIDDeviceSetDispatchQueue, _IOHIDDeviceSetInputValueMatching, _IOHIDDeviceSetInputValueMatchingMultiple, _IOHIDDeviceSetProperty, _IOHIDDeviceSetReport, _IOHIDDeviceSetReportWithCallback, _IOHIDDeviceSetValue, _IOHIDDeviceSetValueMultiple, _IOHIDDeviceSetValueMultipleWithCallback, _IOHIDDeviceSetValueWithCallback, _IOHIDDeviceUnscheduleFromRunLoop, _IOHIDElementAttach, _IOHIDElementCopyAttached, _IOHIDElementCreateWithDictionary, _IOHIDElementDetach, _IOHIDElementGetChildren, _IOHIDElementGetCollectionType, _IOHIDElementGetCookie, _IOHIDElementGetDevice, _IOHIDElementGetDuplicateIndex, _IOHIDElementGetLogicalMax, _IOHIDElementGetLogicalMin, _IOHIDElementGetName, _IOHIDElementGetParent, _IOHIDElementGetPhysicalMax, _IOHIDElementGetPhysicalMin, _IOHIDElementGetProperty, _IOHIDElementGetReportCount, _IOHIDElementGetReportID, _IOHIDElementGetReportSize, _IOHIDElementGetType, _IOHIDElementGetTypeID, _IOHIDElementGetUnit, _IOHIDElementGetUnitExponent, _IOHIDElementGetUsage, _IOHIDElementGetUsagePage, _IOHIDElementHasNullState, _IOHIDElementHasPreferredState, _IOHIDElementIsArray, _IOHIDElementIsNonLinear, _IOHIDElementIsRelative, _IOHIDElementIsVirtual, _IOHIDElementIsWrapping, _IOHIDElementSetProperty, _IOHIDEventAppendEvent, _IOHIDEventConformsTo, _IOHIDEventConformsToWithOptions, _IOHIDEventCopyDescription, _IOHIDEventCreate, _IOHIDEventCreateAccelerometerEvent, _IOHIDEventCreateAccelerometerEventWithType, _IOHIDEventCreateAmbientLightSensorEvent, _IOHIDEventCreateAtmosphericPressureEvent, _IOHIDEventCreateBiometricEvent, _IOHIDEventCreateBoundaryScrollEvent, _IOHIDEventCreateBrightnessEvent, _IOHIDEventCreateButtonEvent, _IOHIDEventCreateButtonEventWithPressure, _IOHIDEventCreateCollectionEvent, _IOHIDEventCreateCompassEvent, _IOHIDEventCreateCompassEventWithType, _IOHIDEventCreateCopy, _IOHIDEventCreateData, _IOHIDEventCreateDeviceOrientationEventWithUsage, _IOHIDEventCreateDigitizerEvent, _IOHIDEventCreateDigitizerFingerEvent, _IOHIDEventCreateDigitizerFingerEventWithQuality, _IOHIDEventCreateDigitizerStylusEvent, _IOHIDEventCreateDigitizerStylusEventWithPolarOrientation, _IOHIDEventCreateDockSwipeEvent, _IOHIDEventCreateFluidTouchGestureEvent, _IOHIDEventCreateForceEvent, _IOHIDEventCreateGameControllerEvent, _IOHIDEventCreateGenericGestureEvent, _IOHIDEventCreateGyroEvent, _IOHIDEventCreateGyroEventWithType, _IOHIDEventCreateKeyboardEvent, _IOHIDEventCreateLEDEvent, _IOHIDEventCreateMotionActivtyEvent, _IOHIDEventCreateMotionGestureEvent, _IOHIDEventCreateMouseEvent, _IOHIDEventCreateNavigationSwipeEvent, _IOHIDEventCreateOrientationEvent, _IOHIDEventCreatePolarOrientationEvent, _IOHIDEventCreateProgressEvent, _IOHIDEventCreateProximtyEvent, _IOHIDEventCreateQuaternionOrientationEvent, _IOHIDEventCreateRelativePointerEvent, _IOHIDEventCreateRotationEvent, _IOHIDEventCreateScaleEvent, _IOHIDEventCreateScrollEvent, _IOHIDEventCreateSwipeEvent, _IOHIDEventCreateSymbolicHotKeyEvent, _IOHIDEventCreateTranslationEvent, _IOHIDEventCreateUnicodeEvent, _IOHIDEventCreateUnicodeEventWithQuality, _IOHIDEventCreateVelocityEvent, _IOHIDEventCreateVendorDefinedEvent, _IOHIDEventCreateWithBytes, _IOHIDEventCreateWithData, _IOHIDEventCreateZoomToggleEvent, _IOHIDEventGetAttributeData, _IOHIDEventGetAttributeDataLength, _IOHIDEventGetAttributeDataPtr, _IOHIDEventGetChildren, _IOHIDEventGetDataLength, _IOHIDEventGetDataValue, _IOHIDEventGetDataValueWithOptions, _IOHIDEventGetDoubleValue, _IOHIDEventGetDoubleValueWithOptions, _IOHIDEventGetEvent, _IOHIDEventGetEventFlags, _IOHIDEventGetEventWithOptions, _IOHIDEventGetFloatMultiple, _IOHIDEventGetFloatMultipleWithOptions, _IOHIDEventGetFloatValue, _IOHIDEventGetFloatValueWithOptions, _IOHIDEventGetIntegerMultiple, _IOHIDEventGetIntegerMultipleWithOptions, _IOHIDEventGetIntegerValue, _IOHIDEventGetIntegerValueWithOptions, _IOHIDEventGetLatency, _IOHIDEventGetParent, _IOHIDEventGetPhase, _IOHIDEventGetPolicy, _IOHIDEventGetPosition, _IOHIDEventGetPositionWithOptions, _IOHIDEventGetScrollMomentum, _IOHIDEventGetSenderID, _IOHIDEventGetTimeStamp, _IOHIDEventGetType, _IOHIDEventGetTypeID, _IOHIDEventGetTypeString, _IOHIDEventGetVendorDefinedData, _IOHIDEventIsAbsolute, _IOHIDEventIsRepeat, _IOHIDEventQueueCreate, _IOHIDEventQueueCreateWithVM, _IOHIDEventQueueDequeueCopy, _IOHIDEventQueueEnqueue, _IOHIDEventQueueGetMemoryHandle, _IOHIDEventQueueGetNotificationPort, _IOHIDEventQueueGetTypeID, _IOHIDEventQueueIsActive, _IOHIDEventQueueResume, _IOHIDEventQueueSetNotificationPort, _IOHIDEventQueueStart, _IOHIDEventQueueStop, _IOHIDEventQueueSuspend, _IOHIDEventReadBytes, _IOHIDEventRemoveEvent, _IOHIDEventServerCreate, _IOHIDEventServerGetTypeID, _IOHIDEventServerScheduleWithDispatchQueue, _IOHIDEventServerUnscheduleFromDispatchQueue, _IOHIDEventSetAttributeData, _IOHIDEventSetDoubleMultiple, _IOHIDEventSetDoubleMultipleWithOptions, _IOHIDEventSetDoubleValue, _IOHIDEventSetDoubleValueWithOptions, _IOHIDEventSetEventFlags, _IOHIDEventSetFloatMultiple, _IOHIDEventSetFloatMultipleWithOptions, _IOHIDEventSetFloatValue, _IOHIDEventSetFloatValueWithOptions, _IOHIDEventSetIntegerMultiple, _IOHIDEventSetIntegerMultipleWithOptions, _IOHIDEventSetIntegerValue, _IOHIDEventSetIntegerValueWithOptions, _IOHIDEventSetPhase, _IOHIDEventSetPosition, _IOHIDEventSetPositionWithOptions, _IOHIDEventSetRepeat, _IOHIDEventSetScrollMomentum, _IOHIDEventSetSenderID, _IOHIDEventSetTimeStamp, _IOHIDEventSystemClient, _IOHIDEventSystemClientActivate, _IOHIDEventSystemClientCancel, _IOHIDEventSystemClientCopyProperty, _IOHIDEventSystemClientCopyServiceForRegistryID, _IOHIDEventSystemClientCopyServices, _IOHIDEventSystemClientCreate, _IOHIDEventSystemClientCreateSimpleClient, _IOHIDEventSystemClientCreateWithType, _IOHIDEventSystemClientDispatchEvent, _IOHIDEventSystemClientGetTypeID, _IOHIDEventSystemClientGetTypeString, _IOHIDEventSystemClientRegisterDeviceMatchingBlock, _IOHIDEventSystemClientRegisterDeviceMatchingCallback, _IOHIDEventSystemClientRegisterEventBlock, _IOHIDEventSystemClientRegisterEventCallback, _IOHIDEventSystemClientRegisterEventFilterBlock, _IOHIDEventSystemClientRegisterEventFilterBlockWithPriority, _IOHIDEventSystemClientRegisterEventFilterCallback, _IOHIDEventSystemClientRegisterEventFilterCallbackWithPriority, _IOHIDEventSystemClientRegisterPropertyChangedCallback, _IOHIDEventSystemClientRegisterResetCallback, _IOHIDEventSystemClientRegistryIDConformsTo, _IOHIDEventSystemClientScheduleWithDispatchQueue, _IOHIDEventSystemClientScheduleWithRunLoop, _IOHIDEventSystemClientSetCancelHandler, _IOHIDEventSystemClientSetDispatchQueue, _IOHIDEventSystemClientSetMatching, _IOHIDEventSystemClientSetMatchingMultiple, _IOHIDEventSystemClientSetProperty, _IOHIDEventSystemClientUnregisterDeviceMatchingBlock, _IOHIDEventSystemClientUnregisterDeviceMatchingCallback, _IOHIDEventSystemClientUnregisterEventBlock, _IOHIDEventSystemClientUnregisterEventCallback, _IOHIDEventSystemClientUnregisterEventFilterBlock, _IOHIDEventSystemClientUnregisterEventFilterCallback, _IOHIDEventSystemClientUnregisterPropertyChangedCallback, _IOHIDEventSystemClientUnregisterResetCallback, _IOHIDEventSystemClientUnscheduleFromDispatchQueue, _IOHIDEventSystemClientUnscheduleWithRunLoop, _IOHIDEventSystemClose, _IOHIDEventSystemConnectionCopyDescription, _IOHIDEventSystemConnectionDispatchEvent, _IOHIDEventSystemConnectionGetAttribute, _IOHIDEventSystemConnectionGetAuditToken, _IOHIDEventSystemConnectionGetEntitlements, _IOHIDEventSystemConnectionGetTaskNamePort, _IOHIDEventSystemConnectionGetType, _IOHIDEventSystemConnectionGetTypeID, _IOHIDEventSystemConnectionGetTypeString, _IOHIDEventSystemConnectionGetUUID, _IOHIDEventSystemCopyConnections, _IOHIDEventSystemCopyEvent, _IOHIDEventSystemCopyMatchingServices, _IOHIDEventSystemCopyService, _IOHIDEventSystemCopyServices, _IOHIDEventSystemCreate, _IOHIDEventSystemGetProperty, _IOHIDEventSystemGetTypeID, _IOHIDEventSystemOpen, _IOHIDEventSystemRegisterConnectionAdditionCallback, _IOHIDEventSystemRegisterConnectionRemovalCallback, _IOHIDEventSystemRegisterPropertyChangedNotification, _IOHIDEventSystemRegisterServicesCallback, _IOHIDEventSystemSetCallback, _IOHIDEventSystemSetProperty, _IOHIDEventSystemUnregisterConnectionAdditionCallback, _IOHIDEventSystemUnregisterConnectionRemovalCallback, _IOHIDEventSystemUnregisterPropertyChangedNotification, _IOHIDEventSystemUnregisterServicesCallback, _IOHIDEventTypeGetName, _IOHIDGetAccelerationWithKey, _IOHIDGetActivityState, _IOHIDGetButtonEventNum, _IOHIDGetModifierLockState, _IOHIDGetMouseAcceleration, _IOHIDGetMouseButtonMode, _IOHIDGetParameter, _IOHIDGetScrollAcceleration, _IOHIDGetStateForSelector, _IOHIDManagerActivate, _IOHIDManagerCancel, _IOHIDManagerClose, _IOHIDManagerCopyDevices, _IOHIDManagerCreate, _IOHIDManagerGetProperty, _IOHIDManagerGetTypeID, _IOHIDManagerOpen, _IOHIDManagerRegisterDeviceMatchingCallback, _IOHIDManagerRegisterDeviceRemovalCallback, _IOHIDManagerRegisterInputReportCallback, _IOHIDManagerRegisterInputReportWithTimeStampCallback, _IOHIDManagerRegisterInputValueCallback, _IOHIDManagerSaveToPropertyDomain, _IOHIDManagerScheduleWithRunLoop, _IOHIDManagerSetCancelHandler, _IOHIDManagerSetDeviceMatching, _IOHIDManagerSetDeviceMatchingMultiple, _IOHIDManagerSetDispatchQueue, _IOHIDManagerSetInputValueMatching, _IOHIDManagerSetInputValueMatchingMultiple, _IOHIDManagerSetProperty, _IOHIDManagerUnscheduleFromRunLoop, _IOHIDNotificationCreate, _IOHIDNotificationGetClientCallback, _IOHIDNotificationGetClientRefcon, _IOHIDNotificationGetClientTarget, _IOHIDNotificationGetOwnerCallback, _IOHIDNotificationGetOwnerRefcon, _IOHIDNotificationGetOwnerTarget, _IOHIDNotificationGetTypeID, _IOHIDNotificationInvalidate, _IOHIDNotificationSignalWithBlock, _IOHIDPostEvent, _IOHIDPreferencesCopy, _IOHIDPreferencesCopyDomain, _IOHIDPreferencesCopyMultiple, _IOHIDPreferencesSet, _IOHIDPreferencesSetDomain, _IOHIDPreferencesSetMultiple, _IOHIDPreferencesSynchronize, _IOHIDQueueActivate, _IOHIDQueueAddElement, _IOHIDQueueCancel, _IOHIDQueueContainsElement, _IOHIDQueueCopyNextValue, _IOHIDQueueCopyNextValueWithTimeout, _IOHIDQueueCreate, _IOHIDQueueGetDepth, _IOHIDQueueGetDevice, _IOHIDQueueGetTypeID, _IOHIDQueueRegisterValueAvailableCallback, _IOHIDQueueRemoveElement, _IOHIDQueueScheduleWithRunLoop, _IOHIDQueueSetCancelHandler, _IOHIDQueueSetDepth, _IOHIDQueueSetDispatchQueue, _IOHIDQueueStart, _IOHIDQueueStop, _IOHIDQueueUnscheduleFromRunLoop, _IOHIDRegisterVirtualDisplay, _IOHIDRequestAccess, _IOHIDServiceClientConformsTo, _IOHIDServiceClientCopyDescription, _IOHIDServiceClientCopyEvent, _IOHIDServiceClientCopyMatchingEvent, _IOHIDServiceClientCopyProperties, _IOHIDServiceClientCopyProperty, _IOHIDServiceClientFastPathCopyEvent, _IOHIDServiceClientFastPathCopyEventWithStatus, _IOHIDServiceClientFastPathCopyProperty, _IOHIDServiceClientFastPathInit, _IOHIDServiceClientFastPathInvalidate, _IOHIDServiceClientFastPathSetProperty, _IOHIDServiceClientGetRegistryID, _IOHIDServiceClientGetTypeID, _IOHIDServiceClientRegisterRemovalBlock, _IOHIDServiceClientRegisterRemovalCallback, _IOHIDServiceClientSetElementValue, _IOHIDServiceClientSetProperty, _IOHIDServiceConformsTo, _IOHIDServiceConnectionCacheContainsKey, _IOHIDServiceConnectionCacheCopyDebugInfo, _IOHIDServiceConnectionCacheCopyValueForKey, _IOHIDServiceConnectionCacheCreate, _IOHIDServiceConnectionCacheGetReportDeadline, _IOHIDServiceConnectionCacheGetTypeID, _IOHIDServiceConnectionCacheSetReportDeadline, _IOHIDServiceConnectionCacheSetValueForKey, _IOHIDServiceCopyDescription, _IOHIDServiceCopyEvent, _IOHIDServiceCopyEventForClient, _IOHIDServiceCopyMatchingEvent, _IOHIDServiceCopyProperty, _IOHIDServiceCreatePropertyChangedNotification, _IOHIDServiceCreateRemovalNotification, _IOHIDServiceFilterClientNotification, _IOHIDServiceFilterClose, _IOHIDServiceFilterCompare, _IOHIDServiceFilterCopyPropertyForClient, _IOHIDServiceFilterCreate, _IOHIDServiceFilterCreateWithClass, _IOHIDServiceFilterFilterCopyEvent, _IOHIDServiceFilterFilterCopyMatchingEvent, _IOHIDServiceFilterFilterEvent, _IOHIDServiceFilterGetMatchScore, _IOHIDServiceFilterGetStateMask, _IOHIDServiceFilterGetType, _IOHIDServiceFilterGetTypeID, _IOHIDServiceFilterMatch, _IOHIDServiceFilterOpen, _IOHIDServiceFilterSchedule, _IOHIDServiceFilterSetCancelHandler, _IOHIDServiceFilterSetEventCallback, _IOHIDServiceFilterSetOutputEvent, _IOHIDServiceFilterSetPropertyForClient, _IOHIDServiceFilterUnschedule, _IOHIDServiceGetProperty, _IOHIDServiceGetRegistryID, _IOHIDServiceGetService, _IOHIDServiceGetTypeID, _IOHIDServiceMatchPropertyTable, _IOHIDServiceSetElementValue, _IOHIDServiceSetOutputEvent, _IOHIDServiceSetProperty, _IOHIDSessionAddService, _IOHIDSessionClose, _IOHIDSessionCopyEvent, _IOHIDSessionCreate, _IOHIDSessionFilterClose, _IOHIDSessionFilterCopyEvent, _IOHIDSessionFilterCreate, _IOHIDSessionFilterCreateWithClass, _IOHIDSessionFilterFilterCopyEvent, _IOHIDSessionFilterFilterEvent, _IOHIDSessionFilterFilterEventToConnection, _IOHIDSessionFilterGetPropertyForClient, _IOHIDSessionFilterGetType, _IOHIDSessionFilterGetTypeID, _IOHIDSessionFilterOpen, _IOHIDSessionFilterRegisterService, _IOHIDSessionFilterScheduleWithDispatchQueue, _IOHIDSessionFilterSetPropertyForClient, _IOHIDSessionFilterUnregisterService, _IOHIDSessionFilterUnscheduleFromDispatchQueue, _IOHIDSessionGetFilters, _IOHIDSessionGetProperty, _IOHIDSessionGetTypeID, _IOHIDSessionOpen, _IOHIDSessionRemoveService, _IOHIDSessionSetProperty, _IOHIDSetAccelerationWithKey, _IOHIDSetCFTypeParameter, _IOHIDSetCursorBounds, _IOHIDSetCursorEnable, _IOHIDSetEventsEnable, _IOHIDSetFixedMouseLocation, _IOHIDSetFixedMouseLocationWithTimeStamp, _IOHIDSetHIDParameterToEventSystem, _IOHIDSetModifierLockState, _IOHIDSetMouseAcceleration, _IOHIDSetMouseButtonMode, _IOHIDSetMouseLocation, _IOHIDSetOnScreenCursorBounds, _IOHIDSetParameter, _IOHIDSetScrollAcceleration, _IOHIDSetStateForSelector, _IOHIDSetVirtualDisplayBounds, _IOHIDTransactionAddElement, _IOHIDTransactionClear, _IOHIDTransactionCommit, _IOHIDTransactionCommitWithCallback, _IOHIDTransactionContainsElement, _IOHIDTransactionCreate, _IOHIDTransactionGetDevice, _IOHIDTransactionGetDirection, _IOHIDTransactionGetTypeID, _IOHIDTransactionGetValue, _IOHIDTransactionRemoveElement, _IOHIDTransactionScheduleWithRunLoop, _IOHIDTransactionSetDirection, _IOHIDTransactionSetValue, _IOHIDTransactionUnscheduleFromRunLoop, _IOHIDUnregisterVirtualDisplay, _IOHIDUserDeviceActivate, _IOHIDUserDeviceCancel, _IOHIDUserDeviceCopyProperty, _IOHIDUserDeviceCopyService, _IOHIDUserDeviceCreate, _IOHIDUserDeviceCreateWithOptions, _IOHIDUserDeviceCreateWithProperties, _IOHIDUserDeviceGetTypeID, _IOHIDUserDeviceHandleReport, _IOHIDUserDeviceHandleReportAsync, _IOHIDUserDeviceHandleReportAsyncWithTimeStamp, _IOHIDUserDeviceHandleReportWithTimeStamp, _IOHIDUserDeviceRegisterGetReportBlock, _IOHIDUserDeviceRegisterGetReportCallback, _IOHIDUserDeviceRegisterGetReportWithReturnLengthCallback, _IOHIDUserDeviceRegisterSetReportBlock, _IOHIDUserDeviceRegisterSetReportCallback, _IOHIDUserDeviceScheduleWithDispatchQueue, _IOHIDUserDeviceScheduleWithRunLoop, _IOHIDUserDeviceSetCancelHandler, _IOHIDUserDeviceSetDispatchQueue, _IOHIDUserDeviceSetProperty, _IOHIDUserDeviceUnscheduleFromDispatchQueue, _IOHIDUserDeviceUnscheduleFromRunLoop, _IOHIDValueCreateWithBytes, _IOHIDValueCreateWithBytesNoCopy, _IOHIDValueCreateWithIntegerValue, _IOHIDValueGetBytePtr, _IOHIDValueGetElement, _IOHIDValueGetIntegerValue, _IOHIDValueGetLength, _IOHIDValueGetScaledValue, _IOHIDValueGetTimeStamp, _IOHIDValueGetTypeID, _IOHIDVirtualServiceClientCreate, _IOHIDVirtualServiceClientCreateWithCallbacks, _IOHIDVirtualServiceClientDispatchEvent, _IOHIDVirtualServiceClientRemove, _IOI2CCopyInterfaceForID, _IOI2CInterfaceClose, _IOI2CInterfaceOpen, _IOI2CSendRequest, _IOInitContainerClasses, _IOIteratorIsValid, _IOIteratorNext, _IOIteratorReset, _IOKitGetBusyState, _IOKitWaitQuiet, _IOLoadPEFsFromURL, _IOMIGMachPortCacheAdd, _IOMIGMachPortCacheCopy, _IOMIGMachPortCacheRemove, _IOMIGMachPortCreate, _IOMIGMachPortGetPort, _IOMIGMachPortGetTypeID, _IOMIGMachPortRegisterDemuxCallback, _IOMIGMachPortRegisterTerminationCallback, _IOMIGMachPortScheduleWithDispatchQueue, _IOMIGMachPortScheduleWithRunLoop, _IOMIGMachPortUnscheduleFromDispatchQueue, _IOMIGMachPortUnscheduleFromRunLoop, _IOMainPort, _IOMasterPort, _IONetworkClose, _IONetworkGetDataCapacity, _IONetworkGetDataHandle, _IONetworkGetPacketFiltersMask, _IONetworkOpen, _IONetworkReadData, _IONetworkResetData, _IONetworkSetPacketFiltersMask, _IONetworkWriteData, _IONoteToSelfSupported, _IONotificationPortCreate, _IONotificationPortDestroy, _IONotificationPortGetMachPort, _IONotificationPortGetRunLoopSource, _IONotificationPortSetDispatchQueue, _IONotificationPortSetImportanceReceiver, _IOObjectConformsTo, _IOObjectCopyBundleIdentifierForClass, _IOObjectCopyClass, _IOObjectCopySuperclassForClass, _IOObjectGetClass, _IOObjectGetKernelRetainCount, _IOObjectGetRetainCount, _IOObjectGetUserRetainCount, _IOObjectIsEqualTo, _IOObjectRelease, _IOObjectRetain, _IOOpenConnection, _IOOpenFirmwarePathMatching, _IOPMActivateSystemPowerSettings, _IOPMAllowRemotePowerChange, _IOPMAllowsBackgroundTask, _IOPMAllowsPushServiceTask, _IOPMAssertionCopyProperties, _IOPMAssertionCreate, _IOPMAssertionCreateWithAutoTimeout, _IOPMAssertionCreateWithDescription, _IOPMAssertionCreateWithName, _IOPMAssertionCreateWithProperties, _IOPMAssertionCreateWithResourceList, _IOPMAssertionDeclareNotificationEvent, _IOPMAssertionDeclareSystemActivity, _IOPMAssertionDeclareSystemActivityWithProperties, _IOPMAssertionDeclareUserActivity, _IOPMAssertionNotify, _IOPMAssertionRelease, _IOPMAssertionRetain, _IOPMAssertionSetBTCollection, _IOPMAssertionSetProcessState, _IOPMAssertionSetProperty, _IOPMAssertionSetTimeout, _IOPMCancelAllRepeatingPowerEvents, _IOPMCancelAllScheduledPowerEvents, _IOPMCancelScheduledPowerEvent, _IOPMChangeSystemActivityAssertionBehavior, _IOPMClaimSystemWakeEvent, _IOPMConnectionAcknowledgeEvent, _IOPMConnectionAcknowledgeEventWithOptions, _IOPMConnectionCreate, _IOPMConnectionGetSystemCapabilities, _IOPMConnectionRelease, _IOPMConnectionScheduleWithRunLoop, _IOPMConnectionSetDispatchQueue, _IOPMConnectionSetNotification, _IOPMConnectionUnscheduleFromRunLoop, _IOPMCopyActiveAsyncAssertionsByProcess, _IOPMCopyActivePMPreferences, _IOPMCopyAssertionActivityAggregate, _IOPMCopyAssertionActivityAggregateWithAllocator, _IOPMCopyAssertionActivityLog, _IOPMCopyAssertionActivityLogWithAllocator, _IOPMCopyAssertionActivityUpdate, _IOPMCopyAssertionActivityUpdateWithAllocator, _IOPMCopyAssertionActivityUpdateWithCallback, _IOPMCopyAssertionsByProcess, _IOPMCopyAssertionsByProcessWithAllocator, _IOPMCopyAssertionsByType, _IOPMCopyAssertionsStatus, _IOPMCopyBatteryHeatMap, _IOPMCopyBatteryInfo, _IOPMCopyCPUPowerStatus, _IOPMCopyConnectionStatus, _IOPMCopyCurrentScheduledWake, _IOPMCopyCycleCountData, _IOPMCopyDefaultPreferences, _IOPMCopyDeviceRestartPreventers, _IOPMCopyFromPrefs, _IOPMCopyHIDPostEventHistory, _IOPMCopyInactiveAssertionsByProcess, _IOPMCopyKioskModeData, _IOPMCopyPMPreferences, _IOPMCopyPMSetting, _IOPMCopyPowerHistory, _IOPMCopyPowerHistoryDetailed, _IOPMCopyPowerStateInfo, _IOPMCopyPreferencesOnFile, _IOPMCopyRepeatingPowerEvents, _IOPMCopyScheduledPowerEvents, _IOPMCopySleepPreventersList, _IOPMCopySleepPreventersListWithID, _IOPMCopySleepWakeFailure, _IOPMCopySystemPowerSettings, _IOPMCopyUPSShutdownLevels, _IOPMCopyUserActivityLevelDescription, _IOPMCtlAssertionType, _IOPMDeclareNetworkClientActivity, _IOPMDisableAsyncAssertions, _IOPMEnableAsyncAssertions, _IOPMFeatureIsAvailable, _IOPMFeatureIsAvailableWithSupportedTable, _IOPMFindPowerManagement, _IOPMGetActivePushConnectionState, _IOPMGetAggressiveness, _IOPMGetCapabilitiesDescription, _IOPMGetCurrentAsycnRemoteAssertion, _IOPMGetCurrentAsyncActiveAssertions, _IOPMGetCurrentAsyncInactiveAssertions, _IOPMGetCurrentAsyncReleasedAssertions, _IOPMGetCurrentAsyncTimedAssertions, _IOPMGetDarkWakeThermalEmergencyCount, _IOPMGetLastWakeTime, _IOPMGetPerformanceWarningLevel, _IOPMGetSleepServicesActive, _IOPMGetThermalWarningLevel, _IOPMGetUUID, _IOPMGetUserActivityLevel, _IOPMGetValueInt, _IOPMIsADarkWake, _IOPMIsASilentWake, _IOPMIsASleep, _IOPMIsAUserWake, _IOPMLogWakeProgress, _IOPMPerformBlockWithAssertion, _IOPMRegisterForRemoteSystemPower, _IOPMRegisterPrefsChangeNotification, _IOPMRemoveIrrelevantProperties, _IOPMRequestSysWake, _IOPMRevertPMPreferences, _IOPMScheduleAssertionExceptionNotification, _IOPMSchedulePowerEvent, _IOPMScheduleRepeatingPowerEvent, _IOPMScheduleUserActiveChangedNotification, _IOPMScheduleUserActivityLevelNotification, _IOPMScheduleUserActivityLevelNotificationWithTimeout, _IOPMSetActivePushConnectionState, _IOPMSetAggressiveness, _IOPMSetAssertionActivityAggregate, _IOPMSetAssertionActivityLog, _IOPMSetAssertionExceptionLimits, _IOPMSetBTWakeInterval, _IOPMSetDWLingerInterval, _IOPMSetDebugFlags, _IOPMSetDesktopMode, _IOPMSetPMPreference, _IOPMSetPMPreferences, _IOPMSetReservePowerMode, _IOPMSetSleepServicesWakeTimeCap, _IOPMSetSystemAssertionTimeout, _IOPMSetSystemPowerSetting, _IOPMSetUPSShutdownLevels, _IOPMSetUserActivityIdleTimeout, _IOPMSetValueInt, _IOPMSkylightCheckIn, _IOPMSkylightCheckInWithCapability, _IOPMSleepEnabled, _IOPMSleepSystem, _IOPMSleepSystemWithOptions, _IOPMSleepWakeCopyUUID, _IOPMSleepWakeSetUUID, _IOPMUnregisterExceptionNotification, _IOPMUnregisterNotification, _IOPMUnregisterPrefsChangeNotification, _IOPMUserIsActive, _IOPMUsingDefaultPreferences, _IOPMWriteToPrefs, _IOPSAccCreateAttachNotification, _IOPSAccCreateLimitedPowerNotification, _IOPSAccNotificationCreateRunLoopSource, _IOPSCopyExternalPowerAdapterDetails, _IOPSCopyInternalBatteriesArray, _IOPSCopyPowerSourcesByType, _IOPSCopyPowerSourcesInfo, _IOPSCopyPowerSourcesList, _IOPSCopyUPSArray, _IOPSCreateLimitedPowerNotification, _IOPSCreatePowerSource, _IOPSDrawingUnlimitedPower, _IOPSGetActiveBattery, _IOPSGetActiveUPS, _IOPSGetBatteryWarningLevel, _IOPSGetPercentRemaining, _IOPSGetPowerSourceDescription, _IOPSGetProvidingPowerSourceType, _IOPSGetSupportedPowerSources, _IOPSGetTimeRemainingEstimate, _IOPSNotificationCreateRunLoopSource, _IOPSPowerSourceSupported, _IOPSReleasePowerSource, _IOPSRequestBatteryUpdate, _IOPSSetPowerSourceDetails, _IOPlatformCopyFeatureActive, _IOPlatformCopyFeatureDefault, _IOPlatformGetDeviceColor, _IORegisterApp, _IORegisterClient, _IORegisterForSystemPower, _IORegistryCreateEnumerator, _IORegistryCreateIterator, _IORegistryDisposeEnumerator, _IORegistryEntryCopyFromPath, _IORegistryEntryCopyPath, _IORegistryEntryCreateCFProperties, _IORegistryEntryCreateCFProperty, _IORegistryEntryCreateIterator, _IORegistryEntryFromPath, _IORegistryEntryGetChildEntry, _IORegistryEntryGetChildIterator, _IORegistryEntryGetLocationInPlane, _IORegistryEntryGetName, _IORegistryEntryGetNameInPlane, _IORegistryEntryGetParentEntry, _IORegistryEntryGetParentIterator, _IORegistryEntryGetPath, _IORegistryEntryGetProperty, _IORegistryEntryGetRegistryEntryID, _IORegistryEntryIDMatching, _IORegistryEntryInPlane, _IORegistryEntrySearchCFProperty, _IORegistryEntrySetCFProperties, _IORegistryEntrySetCFProperty, _IORegistryEnumeratorNextConforming, _IORegistryEnumeratorReset, _IORegistryGetRootEntry, _IORegistryIteratorEnterEntry, _IORegistryIteratorExitEntry, _IOSMCKeyProxyPresent, _IOServiceAddInterestNotification, _IOServiceAddMatchingNotification, _IOServiceAddNotification, _IOServiceAuthorize, _IOServiceClose, _IOServiceCopySystemStateNotificationService, _IOServiceGetBusyState, _IOServiceGetBusyStateAndTime, _IOServiceGetMatchingService, _IOServiceGetMatchingServices, _IOServiceGetState, _IOServiceMatchPropertyTable, _IOServiceMatching, _IOServiceNameMatching, _IOServiceOFPathToBSDName, _IOServiceOpen, _IOServiceOpenAsFileDescriptor, _IOServiceRequestProbe, _IOServiceStateNotificationItemCopy, _IOServiceStateNotificationItemCreate, _IOServiceStateNotificationItemSet, _IOServiceWaitQuiet, _IOSetNotificationPort, _IOURLCreateDataAndPropertiesFromResource, _IOURLCreatePropertyFromResource, _KextManagerCopyLoadedKextInfo, _KextManagerCreateURLForBundleIdentifier, _KextManagerLoadKextWithIdentifier, _KextManagerLoadKextWithURL, _KextManagerUnloadKextWithIdentifier, _NXClickTime, _NXCloseEventStatus, _NXEventSystemInfo, _NXGetClickSpace, _NXGetKeyMapping, _NXKeyMappingLength, _NXKeyRepeatInterval, _NXKeyRepeatThreshold, _NXOpenEventStatus, _NXResetKeyboard, _NXResetMouse, _NXSetClickSpace, _NXSetClickTime, _NXSetKeyMapping, _NXSetKeyRepeatInterval, _NXSetKeyRepeatThreshold, _OSGetNotificationFromMessage, _OSKEXT_BUILD_DATE, _OSKextAuthenticate, _OSKextAuthenticateDependencies, _OSKextCopyAllDependencies, _OSKextCopyAllRequestedIdentifiers, _OSKextCopyArchitectures, _OSKextCopyContainerForPluginKext, _OSKextCopyDeclaredDependencies, _OSKextCopyDependents, _OSKextCopyDiagnostics, _OSKextCopyExecutableForArchitecture, _OSKextCopyExecutableName, _OSKextCopyIndirectDependencies, _OSKextCopyInfoDictionary, _OSKextCopyKextsWithIdentifier, _OSKextCopyKextsWithIdentifiers, _OSKextCopyLinkDependencies, _OSKextCopyLoadList, _OSKextCopyLoadListForKexts, _OSKextCopyLoadedKextInfo, _OSKextCopyLoadedKextInfoByUUID, _OSKextCopyPersonalitiesArray, _OSKextCopyPersonalitiesOfKexts, _OSKextCopyPlugins, _OSKextCopyResource, _OSKextCopySymbolReferences, _OSKextCopyUUIDForAddress, _OSKextCopyUUIDForArchitecture, _OSKextCreate, _OSKextCreateKextsFromMkextData, _OSKextCreateKextsFromMkextFile, _OSKextCreateKextsFromURL, _OSKextCreateKextsFromURLs, _OSKextCreateLoadedKextInfo, _OSKextCreateMkext, _OSKextCreatePrelinkedKernel, _OSKextCreateWithIdentifier, _OSKextDeclaresExecutable, _OSKextDeclaresUserExecutable, _OSKextDependenciesAreLoadableInSafeBoot, _OSKextDependsOnKext, _OSKextExecutableVariant, _OSKextFilterRequiredKexts, _OSKextFindLinkDependencies, _OSKextFlushDependencies, _OSKextFlushDiagnostics, _OSKextFlushInfoDictionary, _OSKextFlushLoadInfo, _OSKextGenerateDebugSymbols, _OSKextGetActualSafeBoot, _OSKextGetAllKexts, _OSKextGetArchitecture, _OSKextGetCompatibleKextWithIdentifier, _OSKextGetCompatibleVersion, _OSKextGetExecutableURL, _OSKextGetIdentifier, _OSKextGetKernelExecutableURL, _OSKextGetKextWithIdentifier, _OSKextGetKextWithIdentifierAndVersion, _OSKextGetKextWithURL, _OSKextGetLoadAddress, _OSKextGetLoadTag, _OSKextGetLoadedKextWithIdentifier, _OSKextGetLogFilter, _OSKextGetRecordsDiagnostics, _OSKextGetRunningKernelArchitecture, _OSKextGetSimulatedSafeBoot, _OSKextGetSystemExtensionsFolderURLs, _OSKextGetTargetString, _OSKextGetTypeID, _OSKextGetURL, _OSKextGetUserExecutableURL, _OSKextGetUsesCaches, _OSKextGetValueForInfoDictionaryKey, _OSKextGetVersion, _OSKextHasLogOrDebugFlags, _OSKextIsAuthentic, _OSKextIsCompatibleWithVersion, _OSKextIsFromMkext, _OSKextIsInExcludeList, _OSKextIsInterface, _OSKextIsKernelComponent, _OSKextIsLibrary, _OSKextIsLoadable, _OSKextIsLoadableInSafeBoot, _OSKextIsLoaded, _OSKextIsLoggingEnabled, _OSKextIsPlugin, _OSKextIsSigned, _OSKextIsStarted, _OSKextIsValid, _OSKextLoad, _OSKextLoadWithOptions, _OSKextLog, _OSKextLogCFString, _OSKextLogDependencyGraph, _OSKextLogDiagnostics, _OSKextMatchesRequiredFlags, _OSKextNeedsLoadAddressForDebugSymbols, _OSKextOtherVersionIsLoaded, _OSKextParseVersionCFString, _OSKextParseVersionString, _OSKextReadLoadedKextInfo, _OSKextRemoveKextPersonalitiesFromKernel, _OSKextRemovePersonalitiesForIdentifierFromKernel, _OSKextResolveDependencies, _OSKextSendKextPersonalitiesToKernel, _OSKextSendPersonalitiesOfKextsToKernel, _OSKextSendPersonalitiesToKernel, _OSKextSetArchitecture, _OSKextSetExecutableSuffix, _OSKextSetLoadAddress, _OSKextSetLogFilter, _OSKextSetLogOutputFunction, _OSKextSetLoggingEnabled, _OSKextSetRecordsDiagnostics, _OSKextSetSimulatedSafeBoot, _OSKextSetTargetString, _OSKextSetUsesCaches, _OSKextStart, _OSKextStop, _OSKextSupportsArchitecture, _OSKextUnload, _OSKextUnloadKextWithIdentifier, _OSKextVLog, _OSKextVLogCFString, _OSKextValidate, _OSKextValidateDependencies, _OSKextVersionGetString, _SCDynamicStoreAddWatchedKey, _SCDynamicStoreCopyMultiple, _SCDynamicStoreCopyValue, _SCDynamicStoreCreate, _SCDynamicStoreCreateRunLoopSource, _SCDynamicStoreKeyCreate, _SCDynamicStoreKeyCreatePreferences, _SCDynamicStoreNotifyValue, _SCDynamicStoreSetNotificationKeys, _SCDynamicStoreSetValue, _SCError, _SCPreferencesApplyChanges, _SCPreferencesCommitChanges, _SCPreferencesCreate, _SCPreferencesCreateWithAuthorization, _SCPreferencesGetValue, _SCPreferencesLock, _SCPreferencesRemoveValue, _SCPreferencesSetValue, _SCPreferencesUnlock, __CFURLCopyAbsolutePath, __IOAVCreateStringOfColorIDs, __IOAVElementListGetElementIDAtIndex, __IOAVStringAppendIndendationAndFormat, __IODataQueueDequeue, __IODataQueueEnqueueWithReadCallback, __IODataQueuePeek, __IODispatchCalloutWithDispatch, __IOHIDArrayAppendSInt64, __IOHIDCFArrayApplyBlock, __IOHIDCFDictionaryApplyBlock, __IOHIDCFSetApplyBlock, __IOHIDCallbackApplier, __IOHIDCopyServiceClientInfo, __IOHIDCreateBinaryData, __IOHIDCreateTimeString, __IOHIDDebugEventAddPerfData, __IOHIDDebugTrace, __IOHIDDeviceCreatePrivate, __IOHIDDeviceGetIOCFPlugInInterface, __IOHIDDeviceReleasePrivate, __IOHIDDictionaryAddCStr, __IOHIDDictionaryAddSInt32, __IOHIDDictionaryAddSInt64, __IOHIDElementCreatePrivate, __IOHIDElementCreateWithElement, __IOHIDElementCreateWithParentAndData, __IOHIDElementGetCalibrationInfo, __IOHIDElementGetFlags, __IOHIDElementGetLength, __IOHIDElementGetValue, __IOHIDElementReleasePrivate, __IOHIDElementSetDevice, __IOHIDElementSetDeviceInterface, __IOHIDElementSetValue, __IOHIDEventCopyAttachment, __IOHIDEventCreate, __IOHIDEventEqual, __IOHIDEventGetContext, __IOHIDEventQueueSerializeState, __IOHIDEventRemoveAttachment, __IOHIDEventSetAttachment, __IOHIDEventSetContext, __IOHIDEventSystemAddConnection, __IOHIDEventSystemAddService, __IOHIDEventSystemAddServiceForConnection, __IOHIDEventSystemClientCopyEventForService, __IOHIDEventSystemClientCopyMatchingEventForService, __IOHIDEventSystemClientCopyPropertiesForService, __IOHIDEventSystemClientCopyPropertyForService, __IOHIDEventSystemClientDispatchEventFilter, __IOHIDEventSystemClientDispatchPropertiesChanged, __IOHIDEventSystemClientRegisterClientRecordsChangedBlock, __IOHIDEventSystemClientRegisterClientRecordsChangedCallback, __IOHIDEventSystemClientRegisterServiceRecordsChangedBlock, __IOHIDEventSystemClientRegisterServiceRecordsChangedCallback, __IOHIDEventSystemClientServiceConformsTo, __IOHIDEventSystemClientSetElementValueForService, __IOHIDEventSystemClientSetPropertyForService, __IOHIDEventSystemClientUnregisterClientRecordsChangedBlock, __IOHIDEventSystemClientUnregisterClientRecordsChangedCallback, __IOHIDEventSystemClientUnregisterServiceRecordsChangedBlock, __IOHIDEventSystemClientUnregisterServiceRecordsChangedCallback, __IOHIDEventSystemConnectionAddNotification, __IOHIDEventSystemConnectionAddServices, __IOHIDEventSystemConnectionContainsService, __IOHIDEventSystemConnectionCopyEventCounts, __IOHIDEventSystemConnectionCopyEventLog, __IOHIDEventSystemConnectionCopyNotification, __IOHIDEventSystemConnectionCopyQueue, __IOHIDEventSystemConnectionCopyRecord, __IOHIDEventSystemConnectionCopyServices, __IOHIDEventSystemConnectionCreate, __IOHIDEventSystemConnectionCreatePrivate, __IOHIDEventSystemConnectionCreateVirtualService, __IOHIDEventSystemConnectionDispatchEvent, __IOHIDEventSystemConnectionDispatchEventForVirtualService, __IOHIDEventSystemConnectionEventFilterCompare, __IOHIDEventSystemConnectionFilterEvent, __IOHIDEventSystemConnectionGetDispatchQueue, __IOHIDEventSystemConnectionGetEventFilterPriority, __IOHIDEventSystemConnectionGetPID, __IOHIDEventSystemConnectionGetPort, __IOHIDEventSystemConnectionGetProperty, __IOHIDEventSystemConnectionGetReplyPort, __IOHIDEventSystemConnectionGetSystem, __IOHIDEventSystemConnectionInvalidate, __IOHIDEventSystemConnectionIsResponsive, __IOHIDEventSystemConnectionIsValid, __IOHIDEventSystemConnectionLogEvent, __IOHIDEventSystemConnectionPropertyChanged, __IOHIDEventSystemConnectionQueueStart, __IOHIDEventSystemConnectionQueueStop, __IOHIDEventSystemConnectionRecordClientChanged, __IOHIDEventSystemConnectionRecordServiceChanged, __IOHIDEventSystemConnectionRegisterDemuxCallback, __IOHIDEventSystemConnectionRegisterEventFilter, __IOHIDEventSystemConnectionRegisterPropertyChangedNotification, __IOHIDEventSystemConnectionRegisterRecordClientChanged, __IOHIDEventSystemConnectionRegisterRecordServiceChanged, __IOHIDEventSystemConnectionRegisterTerminationCallback, __IOHIDEventSystemConnectionReleasePrivate, __IOHIDEventSystemConnectionRemoveAllServices, __IOHIDEventSystemConnectionRemoveNotification, __IOHIDEventSystemConnectionRemoveService, __IOHIDEventSystemConnectionRemoveVirtualService, __IOHIDEventSystemConnectionScheduleAsync, __IOHIDEventSystemConnectionSetProperty, __IOHIDEventSystemConnectionSetQueue, __IOHIDEventSystemConnectionUnregisterEventFilter, __IOHIDEventSystemConnectionUnregisterPropertyChangedNotification, __IOHIDEventSystemConnectionUnregisterRecordClientChanged, __IOHIDEventSystemConnectionUnregisterRecordServiceChanged, __IOHIDEventSystemConnectionUnscheduleAsync, __IOHIDEventSystemConnectionVirtualServiceNotify, __IOHIDEventSystemCopyRecord, __IOHIDEventSystemDispatchEvent, __IOHIDEventSystemGetPropertyForConnection, __IOHIDEventSystemGetSession, __IOHIDEventSystemPropertyChanged, __IOHIDEventSystemRegisterEventFilter, __IOHIDEventSystemRegisterRecordClientChanged, __IOHIDEventSystemRegisterRecordServiceChanged, __IOHIDEventSystemRemoveConnection, __IOHIDEventSystemRemoveNotificationForConnection, __IOHIDEventSystemRemoveService, __IOHIDEventSystemRemoveServicesForConnection, __IOHIDEventSystemSetPropertyForConnection, __IOHIDEventSystemUnregisterEventFilter, __IOHIDEventSystemUnregisterRecordClientChanged, __IOHIDEventSystemUnregisterRecordServiceChanged, __IOHIDGetMonotonicTime, __IOHIDGetTimestampDelta, __IOHIDIsSerializable, __IOHIDLoadBundles, __IOHIDLoadServiceFilterBundles, __IOHIDLoadServicePluginBundles, __IOHIDLoadSessionFilterBundles, __IOHIDLog, __IOHIDLogCategory, __IOHIDObjectCreateInstance, __IOHIDObjectExtRetainCount, __IOHIDObjectIntRetainCount, __IOHIDObjectInternalRelease, __IOHIDObjectInternalReleaseCallback, __IOHIDObjectInternalRetain, __IOHIDObjectInternalRetainCallback, __IOHIDObjectRetainCount, __IOHIDPlugInInstanceCacheAdd, __IOHIDPlugInInstanceCacheClear, __IOHIDPlugInInstanceCacheIsEmpty, __IOHIDQueueCopyElements, __IOHIDSerialize, __IOHIDServiceAddConnection, __IOHIDServiceClientCacheProperties, __IOHIDServiceClientCopyUsageProp, __IOHIDServiceClientCreate, __IOHIDServiceClientCreatePrivate, __IOHIDServiceClientCreateVirtual, __IOHIDServiceClientDispatchServiceRemoval, __IOHIDServiceClientRefresh, __IOHIDServiceClientReleasePrivate, __IOHIDServiceClose, __IOHIDServiceContainsReportInterval, __IOHIDServiceContainsReportIntervalForClient, __IOHIDServiceCopyConnectionCache, __IOHIDServiceCopyConnectionIntervals, __IOHIDServiceCopyConnections, __IOHIDServiceCopyDispatchQueue, __IOHIDServiceCopyEventCounts, __IOHIDServiceCopyEventLog, __IOHIDServiceCopyFilterDebugInfoForClient, __IOHIDServiceCopyPropertiesForClient, __IOHIDServiceCopyPropertyForClient, __IOHIDServiceCopyProperyFromPlugin, __IOHIDServiceCopyServiceInfoForClient, __IOHIDServiceCopyServiceRecordForClient, __IOHIDServiceCreate, __IOHIDServiceCreatePrivate, __IOHIDServiceCreateVirtual, __IOHIDServiceCreateVirtualForConnection, __IOHIDServiceCurrentBatchInterval, __IOHIDServiceDispatchEvent, __IOHIDServiceGetEventDeadlineForClient, __IOHIDServiceGetOwner, __IOHIDServiceGetReportInterval, __IOHIDServiceGetReportIntervalForClient, __IOHIDServiceGetSenderID, __IOHIDServiceHidden, __IOHIDServiceInitVirtual, __IOHIDServiceIsInactive, __IOHIDServiceIsProtected, __IOHIDServiceOpen, __IOHIDServiceReleasePrivate, __IOHIDServiceRemoveConnection, __IOHIDServiceRemovePropertiesForClient, __IOHIDServiceScheduleAsync, __IOHIDServiceSetBatchIntervalForClient, __IOHIDServiceSetEventCallback, __IOHIDServiceSetEventDeadlineForClient, __IOHIDServiceSetMiscDebugDebugInfo, __IOHIDServiceSetPropertyForClient, __IOHIDServiceSetReportIntervalForClient, __IOHIDServiceSupportReportLatency, __IOHIDServiceTerminate, __IOHIDServiceUnscheduleAsync, __IOHIDSessionCreateActivityNotification, __IOHIDSessionCreatePrivate, __IOHIDSessionDispatchEvent, __IOHIDSessionGetPropertyForClient, __IOHIDSessionReleasePrivate, __IOHIDSessionSetPropertyForClient, __IOHIDSetFixedMouseLocation, __IOHIDSimpleQueueApplyBlock, __IOHIDSimpleQueueCreate, __IOHIDSimpleQueueDequeue, __IOHIDSimpleQueueEnqueue, __IOHIDSimpleQueuePeek, __IOHIDStringAppendIndendationAndFormat, __IOHIDUnserializeAndVMDealloc, __IOHIDUnserializeAndVMDeallocWithTypeID, __IOHIDValueCopyToElementValueHeader, __IOHIDValueCopyToElementValuePtr, __IOHIDValueCreateWithElementValuePtr, __IOHIDValueCreateWithStruct, __IOHIDValueCreateWithValue, __IOHIDValueGetFlags, __IOHIDVirtuaServiceClientGetEventSystemClient, __IOHIDVirtualServiceClientCopyEvent, __IOHIDVirtualServiceClientCopyMatchingEvent, __IOHIDVirtualServiceClientCopyProperty, __IOHIDVirtualServiceClientNotification, __IOHIDVirtualServiceClientSetOputputEvent, __IOHIDVirtualServiceClientSetProperty, __IOObjectCFRelease, __IOObjectCFRetain, __IOObjectConformsTo, __IOObjectCopyClass, __IOObjectGetClass, __IOReadBytesFromFile, __IOServiceGetAuthorizationID, __IOServiceSetAuthorizationID, __IOWriteBytesToFile, __KextManagerCreatePropertyValueArray, __KextManagerStopExtension, __KextManagerUpdateExtension, __KextManagerValidateExtension, __OSKextBasicFilesystemAuthentication, __OSKextCopyKernelRequests, __OSKextCreateFolderForCacheURL, __OSKextIdentifierHasApplePrefix, __OSKextReadCache, __OSKextReadFromIdentifierCacheForFolder, __OSKextSendResource, __OSKextSetAuthenticationFunction, __OSKextSetLoadAuditFunction, __OSKextSetPersonalityPatcherFunction, __OSKextSetStrictAuthentication, __OSKextSetStrictRecordingByLastOpened, __OSKextWriteCache, __OSKextWriteIdentifierCacheForKextsInDirectory, __ZN5kcgen26adjustKextSegmentLocationsE8ArchPairPhRKNSt3__16vectorIyNS2_9allocatorIyEEEES8_S8_S8_RNS3_IPvNS4_IS9_EEEE, ___ConnectionFunctionPickBatchInterval, ___CopyRecordForCientFunction, ___FunctionApplierForParameters, ___GDBIOHIDEventSystemDump, ___IOAVClassMatching, ___IOAVCopyFirstMatchingIOAVObjectOfType, ___IODataQueueDequeue, ___IODataQueuePeek, ___IOHIDApplyPropertiesToDeviceFromDictionary, ___IOHIDApplyPropertyToDeviceSet, ___IOHIDDeviceGetRootKey, ___IOHIDDeviceGetUUIDKey, ___IOHIDDeviceGetUUIDString, ___IOHIDDeviceLoadProperties, ___IOHIDDeviceSaveProperties, ___IOHIDElementGetRootKey, ___IOHIDElementLoadProperties, ___IOHIDElementSaveProperties, ___IOHIDEventSystemClientFinalizeStateHandler, ___IOHIDEventSystemClientInitReplyPort, ___IOHIDEventSystemClientRefresh, ___IOHIDEventSystemClientRefreshServiceCallback, ___IOHIDEventSystemClientServiceRefreshRemovedServiceCallback, ___IOHIDEventSystemClientServiceReplaceCallback, ___IOHIDEventSystemConnectionActivityNotification, ___IOHIDEventSystemConnectionUpdateActivityState, ___IOHIDEventSystem_debug, ___IOHIDLoadElementSet, ___IOHIDManagerGetRootKey, ___IOHIDManagerLoadProperties, ___IOHIDManagerRegister, ___IOHIDManagerSaveProperties, ___IOHIDNotificationIntFinalize, ___IOHIDNotificationInvalidateCompletion, ___IOHIDNotificationRegister, ___IOHIDPlugInInstanceCacheApplier, ___IOHIDPropertyLoadDictionaryFromKey, ___IOHIDPropertyLoadFromKeyWithSpecialKeys, ___IOHIDPropertySaveToKeyWithSpecialKeys, ___IOHIDPropertySaveWithContext, ___IOHIDQueueRegister, ___IOHIDSaveDeviceSet, ___IOHIDSaveElementSet, ___IOHIDServiceClientCopyDebugDescription, ___IOHIDServiceCompleteInProgressEvents, ___IOHIDServiceCreateAndCopyConnectionCache, ___IOHIDServiceCreateVirtualNoInit, ___IOHIDServiceHandleCancelTimerTimeout, ___IOHIDServicePassiveMatchToFilterPlugin, ___IOHIDServicePickBatchInterval, ___IOHIDSessionActivityNotificationRelease, ___IOHIDSystemEnumerationQueueDidExecute, ___IOHIDSystemEnumerationQueueWillExecute, ___IOHIDTransactionRegister, ___IOHIDUserDeviceFinalizeStateHandler, ___IOHIDUserDeviceSerializeState, ___IOHIDUserDeviceStateHandler, ___IOHIDValueRegister, ___KextManagerSendLoadKextRequest, ___NotificationApplier, ___OSKextBundleIDCompare, ___OSKextCacheNeedsUpdate, ___OSKextCheckURL, ___OSKextClearHasAllDependenciesOnKext, ___OSKextCompareIdentifiers, ___OSKextCopyExecutableRelativePath, ___OSKextCopyStrippedExecutable, ___OSKextCreateCacheFileURL, ___OSKextCreateCompositeKey, ___OSKextCreateFromIdentifierCacheDict, ___OSKextCreateIdentifierCacheDict, ___OSKextCreateKextRequest, ___OSKextDeallocateMmapBuffer, ___OSKextExtractDebugSymbols, ___OSKextGetBleedthroughFlag, ___OSKextInitKXLDDependency, ___OSKextLogDependencyGraphApplierFunction, ___OSKextLogKernelMessages, ___OSKextMapExecutable, ___OSKextProcessKextRequestResults, ___OSKextReadRegistryNumberProperty, ___OSKextRealize, ___OSKextRealizeKextsWithIdentifier, ___OSKextRemoveIdentifierCacheForKext, ___OSKextRemovePersonalities, ___OSKextSendKextRequest, ___OSKextSetLoadAddress, ___OSKextStatURL, ___OSKextStatURLsOrURL, ___OSKextURLIsSystemFolder, ___OSKextUUIDCallback, ___OSKextUnload, ___RegisterServiceWithSessionFunction, ___SetNumPropertyForService, ___VirtualServiceNotifier, ___VirtualServicesApplier, ___absPathOnVolume, ___hid_dispatch_queue_context_destructor, ___kOSKextDiagnosticsFlagAllImplemented, ___sOSKextDefaultLogFunction, ___sOSKextLogOutputFunction, ___uuid_callback, __copySleepPreventersList, __getPSDispatchQueue, __io_hideventsystem_clear_service_cache, __io_hideventsystem_copy_event_for_service, __io_hideventsystem_copy_matching_event_for_service, __io_hideventsystem_copy_matching_services, __io_hideventsystem_copy_properties_for_service, __io_hideventsystem_copy_property, __io_hideventsystem_copy_property_for_service, __io_hideventsystem_create_virtual_service, __io_hideventsystem_dispatch_event, __io_hideventsystem_dispatch_event_for_virtual_service, __io_hideventsystem_do_client_refresh, __io_hideventsystem_open, __io_hideventsystem_queue_create, __io_hideventsystem_queue_start, __io_hideventsystem_queue_stop, __io_hideventsystem_register_event_filter, __io_hideventsystem_register_property_changed_notification, __io_hideventsystem_register_record_client_changed_notification, __io_hideventsystem_register_record_service_changed_notification, __io_hideventsystem_release_notification, __io_hideventsystem_remove_virtual_service, __io_hideventsystem_service_conforms_to, __io_hideventsystem_set_element_value_for_service, __io_hideventsystem_set_properties, __io_hideventsystem_set_properties_for_service, __io_hideventsystem_unregister_event_filter, __io_hideventsystem_unregister_property_changed_notification, __io_hideventsystem_unregister_record_client_changed_notification, __io_hideventsystem_unregister_record_service_changed_notification, __io_kSCCompAnyRegex, __io_kSCDynamicStoreDomainState, __iohideventsystem_client_dispatch_client_records_changed, __iohideventsystem_client_dispatch_event_filter, __iohideventsystem_client_dispatch_notification_results, __iohideventsystem_client_dispatch_properties_changed, __iohideventsystem_client_dispatch_service_records_changed, __iohideventsystem_client_dispatch_service_removal, __iohideventsystem_client_dispatch_virtual_service_copy_property, __iohideventsystem_client_dispatch_virtual_service_notification, __iohideventsystem_client_dispatch_virtual_service_set_property, __iohideventsystem_client_refresh, __iohideventsystem_client_subsystem, __iohideventsystem_copy_event_from_virtual_service, __iohideventsystem_copy_matching_event_from_virtual_service, __iohideventsystem_output_event_to_virtual_service, __iohideventsystem_subsystem, __isArray, __isDictionary, __isString, __kcgen_log, __kcgen_terminate, __kcgen_verboseLog, __kcgen_warning, __pm_connect, __pm_disconnect, __releaseAsycnAssertion, __removePrivateKextInfo, __servicePropertyCacheKeys, __servicePropertyCacheKeysCount, __systemPowerCallback, _activateAsyncAssertion, _activeAssertions, _checkFeatureEnabled, _comparePrefsToDefaults, _copyPreferencesForSrc, _createAsyncAssertion, _createCFStringForData, _createCFStringForPlist_new, _createUTF8CStringForCFString, _decodeIOPMUserIsActive, _defaultPropertyKeyValue, _defaultSettings, _ev_try_lock, _ev_unlock, _fat_iterator_close, _fat_iterator_file_end, _fat_iterator_file_start, _fat_iterator_find_arch, _fat_iterator_find_fat_arch, _fat_iterator_find_host_arch, _fat_iterator_for_data, _fat_iterator_is_iterable, _fat_iterator_next_arch, _fat_iterator_num_arches, _fat_iterator_open, _fat_iterator_reset, _gAsyncMode, _gAsyncModeSetupDone, _gIOCFPlugInInterfaceID, _gIOHIDDebugConfig, _gIOKitLibSerializeOptions, _gIOKitLibServerVersion, _gIOPMUserIsActive, _getEffectivePageSize, _getGenericPrefsPath, _getHostPrefsPath, _getMonotonicTime, _getPMQueue, _getUserActiveValidDict, _handleAssertionLevel, _handleAssertionTimeout, _hid_dispatch_pthread_root_queue_create, _hid_dispatch_queue_create, _hid_dispatch_queue_create_with_context_destructor, _hid_dispatch_queue_release, _hid_pthread_attr_init, _hid_workloop_create, _initialSetup, _insertIntoTimedList, _io_hideventsystem_clear_service_cache, _io_hideventsystem_copy_event_for_service, _io_hideventsystem_copy_matching_event_for_service, _io_hideventsystem_copy_matching_services, _io_hideventsystem_copy_properties_for_service, _io_hideventsystem_copy_property, _io_hideventsystem_copy_property_for_service, _io_hideventsystem_create_virtual_service, _io_hideventsystem_dispatch_event, _io_hideventsystem_dispatch_event_for_virtual_service, _io_hideventsystem_do_client_refresh, _io_hideventsystem_open, _io_hideventsystem_queue_create, _io_hideventsystem_queue_start, _io_hideventsystem_queue_stop, _io_hideventsystem_register_event_filter, _io_hideventsystem_register_property_changed_notification, _io_hideventsystem_register_record_client_changed_notification, _io_hideventsystem_register_record_service_changed_notification, _io_hideventsystem_release_notification, _io_hideventsystem_remove_virtual_service, _io_hideventsystem_service_conforms_to, _io_hideventsystem_set_element_value_for_service, _io_hideventsystem_set_properties, _io_hideventsystem_set_properties_for_service, _io_hideventsystem_unregister_event_filter, _io_hideventsystem_unregister_property_changed_notification, _io_hideventsystem_unregister_record_client_changed_notification, _io_hideventsystem_unregister_record_service_changed_notification, _io_pm_assertion_activity_aggregate, _io_pm_assertion_activity_log, _io_pm_assertion_copy_details, _io_pm_assertion_create, _io_pm_assertion_notify, _io_pm_assertion_retain_release, _io_pm_assertion_set_properties, _io_pm_cancel_repeat_events, _io_pm_change_sa_assertion_behavior, _io_pm_connection_acknowledge_event, _io_pm_connection_create, _io_pm_connection_release, _io_pm_connection_schedule_notification, _io_pm_ctl_assertion_type, _io_pm_declare_network_client_active, _io_pm_declare_system_active, _io_pm_declare_user_active, _io_pm_force_active_settings, _io_pm_get_capability_bits, _io_pm_get_uuid, _io_pm_get_value_int, _io_pm_hid_event_copy_history, _io_pm_hid_event_report_activity, _io_pm_last_wake_time, _io_pm_schedule_power_event, _io_pm_schedule_repeat_event, _io_pm_set_bt_wake_interval, _io_pm_set_debug_flags, _io_pm_set_dw_linger_interval, _io_pm_set_exception_limits, _io_pm_set_sleepservice_wake_time_cap, _io_pm_set_value_int, _io_ps_copy_powersources_info, _io_ps_new_pspowersource, _io_ps_release_pspowersource, _io_ps_update_pspowersource, _iohideventsystem_client_dispatch_client_records_changed, _iohideventsystem_client_dispatch_event_filter, _iohideventsystem_client_dispatch_notification_results, _iohideventsystem_client_dispatch_properties_changed, _iohideventsystem_client_dispatch_service_records_changed, _iohideventsystem_client_dispatch_service_removal, _iohideventsystem_client_dispatch_virtual_service_copy_property, _iohideventsystem_client_dispatch_virtual_service_notification, _iohideventsystem_client_dispatch_virtual_service_set_property, _iohideventsystem_client_refresh, _iohideventsystem_client_server, _iohideventsystem_client_server_routine, _iohideventsystem_copy_event_from_virtual_service, _iohideventsystem_copy_matching_event_from_virtual_service, _iohideventsystem_output_event_to_virtual_service, _iohideventsystem_server, _iohideventsystem_server_routine, _iokit_user_client_trap, _isA_GenericPref, _isCrossLinking, _kIOEthernetHardwareAddress, _kIOHIDEventAttachmentSender, _kIOHIDEventSystemConnectionDispatchFilterWaitTimeoutMS, _kIOHIDFilterPluginArrayCallBacks, _kIOHIDServerConnectionRootQueue, _kIOHIDServiceCapsLockLEDKey, _kIOHIDServiceCapsLockLEDKey_Auto, _kIOHIDServiceCapsLockLEDKey_Inhibit, _kIOHIDServiceCapsLockLEDKey_Off, _kIOHIDServiceCapsLockLEDKey_On, _kIOHIDServiceCapsLockLEDOnKey, _kIOHIDServiceEnumerationWorkloop, _kIOHIDServiceHiddenKey, _kIOHIDServiceInterruptWorkloop, _kIOMainPortDefault, _kIOMasterPortDefault, _kIOUserEthernetInterfaceMergeProperties, _kIOUserEthernetInterfaceRole, _kOSKextDependencyCircularReference, _kOSKextDependencyCompatibleVersionUndeclared, _kOSKextDependencyInauthentic, _kOSKextDependencyIndirectDependencyUnresolvable, _kOSKextDependencyIneligibleInSafeBoot, _kOSKextDependencyInvalid, _kOSKextDependencyLoadedCompatibleVersionUndeclared, _kOSKextDependencyLoadedIsIncompatible, _kOSKextDependencyMultipleVersionsDetected, _kOSKextDependencyNoCompatibleVersion, _kOSKextDependencyRawAndComponentKernel, _kOSKextDependencyUnavailable, _kOSKextDiagnosticBadPropertyListXMLKey, _kOSKextDiagnosticBadSystemPropertyKey, _kOSKextDiagnosticBundleIdentifierMismatchKey, _kOSKextDiagnosticBundleVersionMismatchKey, _kOSKextDiagnosticCodelessWithLibrariesKey, _kOSKextDiagnosticCompatibleVersionLaterThanVersionKey, _kOSKextDiagnosticDeclaresBothKernelAndKPIDependenciesKey, _kOSKextDiagnosticDeclaresNoKPIsWarningKey, _kOSKextDiagnosticDeclaresNonKPIDependenciesKey, _kOSKextDiagnosticDeprecatedPropertyKey, _kOSKextDiagnosticExecutableArchNotFoundKey, _kOSKextDiagnosticExecutableBadKey, _kOSKextDiagnosticExecutableMissingKey, _kOSKextDiagnosticFileAccessKey, _kOSKextDiagnosticFileNotFoundKey, _kOSKextDiagnosticIdentifierOrVersionTooLongKey, _kOSKextDiagnosticIneligibleInSafeBoot, _kOSKextDiagnosticInfoKeyIneligibleForDriverKit, _kOSKextDiagnosticInvalidSymlinkKey, _kOSKextDiagnosticKernelComponentNotInterfaceKey, _kOSKextDiagnosticKextIneligibleForDriverKit, _kOSKextDiagnosticMissingDesignatedKernelClass, _kOSKextDiagnosticMissingPropertyKey, _kOSKextDiagnosticNoExplicitKernelDependencyKey, _kOSKextDiagnosticNoFileKey, _kOSKextDiagnosticNonAppleKextDeclaresPrivateKPIDependencyKey, _kOSKextDiagnosticNonuniqueIOResourcesMatchKey, _kOSKextDiagnosticNotABundleKey, _kOSKextDiagnosticNotSignedKey, _kOSKextDiagnosticOSBundleRequiredValueIneligibleForDriverKit, _kOSKextDiagnosticOwnerPermissionKey, _kOSKextDiagnosticPersonalityHasDifferentBundleIdentifierKey, _kOSKextDiagnosticPersonalityHasNoBundleIdentifierKey, _kOSKextDiagnosticPersonalityNamesKextWithNoExecutableKey, _kOSKextDiagnosticPersonalityNamesNonloadableKextKey, _kOSKextDiagnosticPersonalityNamesUnknownKextKey, _kOSKextDiagnosticPropertyIsIllegalTypeKey, _kOSKextDiagnosticPropertyIsIllegalValueKey, _kOSKextDiagnosticRawKernelDependency, _kOSKextDiagnosticSharedExecutableAndExecutableKey, _kOSKextDiagnosticSharedExecutableKextMissingKey, _kOSKextDiagnosticStatFailureKey, _kOSKextDiagnosticSymlinkKey, _kOSKextDiagnosticThirdPartiesIneligibleForDriverKitOSBundleRequired, _kOSKextDiagnosticTypeWarningKey, _kOSKextDiagnosticURLConversionKey, _kOSKextDiagnosticUserExecutableAndExecutableKey, _kOSKextDiagnosticsAuthenticationKey, _kOSKextDiagnosticsBootLevelKey, _kOSKextDiagnosticsDependenciesKey, _kOSKextDiagnosticsDependencyNotOSBundleRequired, _kOSKextDiagnosticsInterfaceDependencyCount, _kOSKextDiagnosticsValidationKey, _kOSKextDiagnosticsWarningsKey, _kOSKextLoadNotification, _kOSKextUnloadNotification, _kcgen_adjustKextSegmentLocations, _kernelmanagement_load_kext_identifier, _kernelmanagement_load_kext_url, _kernelmanagement_path_for_bundle_id, _kernelmanagement_unload_kext_identifier, _kextmanager_create_property_value_array, _kextmanager_load_kext, _kextmanager_lock_kextload, _kextmanager_lock_reboot, _kextmanager_lock_volume, _kextmanager_path_for_bundle_id, _kextmanager_stop_ext, _kextmanager_unlock_kextload, _kextmanager_unlock_volume, _kextmanager_update_ext, _kextmanager_validate_ext, _macho_find_dysymtab, _macho_find_section_numbered, _macho_find_source_version, _macho_find_symbol, _macho_find_symtab, _macho_find_uuid, _macho_get_section_by_name, _macho_get_section_by_name_64, _macho_get_segment_by_name, _macho_get_segment_by_name_64, _macho_remove_linkedit, _macho_scan_load_commands, _macho_swap, _macho_trim_linkedit, _macho_unswap, _offloadAssertions, _pathsForURLs, _previouslySerialized, _printPList_new, _processAssertionTimeout, _processAssertionUpdateActivity, _processCheckAssertionsMsg, _processCurrentActiveAssertions, _processRemoteMsg, _processUserActivityMsg, _recordObjectInIDRefDictionary, _releaseAsyncAssertion, _removeFromTimedList, _roundPageCrossSafe, _roundPageCrossSafeFixedWidth, _sendAsyncAssertionMsg, _sendAsyncReleaseMsg, _sendUserActivityMsg, _setAsyncAssertionProperties, _setCrossLinkPageSize, _setDispatchQueue, _setPreferencesForSrc, _setupLogging, _shimmingEnabled, _showPList_new, _smcSupportsSilentRunning ] objc-classes: [ HIDConnection, HIDDevice, HIDElement, HIDEvent, HIDEventService, HIDServiceClient, HIDSession ] objc-ivars: [ HIDConnection._connection, HIDDevice._device, HIDElement._element, HIDEvent._event, HIDEventService._service, HIDServiceClient._client, HIDSession._session ] - targets: [ arm64e-maccatalyst, arm64e-macos, arm64-macos, arm64-maccatalyst ] symbols: [ _IOAVAudioFormatString, _IOAVAudioGetChannelAllocation, _IOAVAudioGetChannelAllocationDefault, _IOAVAudioGetChannelLayoutData, _IOAVAudioGetSpeakerAllocationMask, _IOAVAudioLinkGetBitRate, _IOAVAudioLinkGetHDMIAudioPacketType, _IOAVAudioLinkGetMaxStreamChannelCount, _IOAVAudioLinkGetMaxStreamSampleRate, _IOAVAudioLinkIsIEC61937, _IOAVAudioLinkSampleRateForFormat, _IOAVAudioSampleRateEnum, _IOAVAudioSampleRateScalar, _IOAVAudioSampleSizeEnum, _IOAVAudioSampleSizeScalar, _IOAVAudioSpeakerString, _IOAVCommandString, _IOAVContentProtectionProtocolString, _IOAVContentProtectionTypeString, _IOAVDSCCapabilitiesGetMaxSlicesPerLine, _IOAVDSCCapabilitiesGetPeakPixelRateForMode, _IOAVDSCModeForPixelEncoding, _IOAVDSCSlicesPerLineScalar, _IOAVEDIDIsStandard, _IOAVElementTypeString, _IOAVEventLogEventTypeString, _IOAVGetCEAVideoShortID, _IOAVGetCEAVideoShortIDWithData, _IOAVGetCEAVideoShortIDWithDataActive, _IOAVGetCEAVideoTimingData, _IOAVGetCEAVideoTimingDataWithShortID, _IOAVGetCVTVideoTimingData, _IOAVGetDMTVideoTimingData, _IOAVGetGTFVideoTimingData, _IOAVGetSPDInfoFrame, _IOAVGetVideoTimingData, _IOAVGetVideoTimingDataByID, _IOAVGetVideoTimingTable, _IOAVHDMIAudioClockRegenerationDataForLink, _IOAVHDMICharacterRate, _IOAVHDMIClockRate, _IOAVInfoFrameGetChecksum, _IOAVInfoFrameTypeString, _IOAVLinkSourceString, _IOAVLinkTypeString, _IOAVLocationString, _IOAVProtectionStatusString, _IOAVRecoverableError, _IOAVStandardTypeString, _IOAVTransportString, _IOAVTransportSupportsCEA, _IOAVTransportSupportsRGBOnly, _IOAVVideoActiveFormatAspectRatio, _IOAVVideoAspectRatioString, _IOAVVideoAxisString, _IOAVVideoColorBitDepth, _IOAVVideoColorBitDepthMinimumForEOTF, _IOAVVideoColorBitDepthScalar, _IOAVVideoColorBitsPerPixel, _IOAVVideoColorCoefficientString, _IOAVVideoColorDynamicRangeString, _IOAVVideoColorEOTFString, _IOAVVideoColorMinimumBitsPerPixelDSC, _IOAVVideoColorSpaceString, _IOAVVideoColorimetryIsValid, _IOAVVideoColorimetryString, _IOAVVideoGetPixelClockTolerance, _IOAVVideoLinkIsDolbyVision, _IOAVVideoLinkModeString, _IOAVVideoLinkRequiresHDMIScrambling, _IOAVVideoPixelEncodingIsDolbyVision, _IOAVVideoPixelEncodingIsLLDolbyVision, _IOAVVideoPixelEncodingString, _IOAVVideoScanInformationString, _IOAVVideoTimingGetActivePixelClock, _IOAVVideoTimingGetBlankingStyle, _IOAVVideoTimingGetITSource, _IOAVVideoTimingGetPixelClock, _IOAVVideoTimingGetSyncRateRounded, _IOAVVideoTimingIsVideoOptimized, _IOAVVideoTimingStandardString, _IOAVVideoTimingTypeString, _IOAVVideoTimingVideoOptimizedDelta, _IODPAudioCodingType, _IODPCalculateM, _IODPCommandString, _IODPCompareLinkTrainingData, _IODPConstrainDriveSettings, _IODPConstrainedDriveSettings, _IODPDeviceTypeString, _IODPDriveSettingsAreValid, _IODPDriveSettingsEqual, _IODPEventLogEventTypeString, _IODPInfoFrameSDP, _IODPLinkBandwidth, _IODPLinkBitRateForLinkSymbolClock, _IODPLinkRateEnum, _IODPLinkRateIsStandard, _IODPLinkRateRequiredForVideoBandwidth, _IODPLinkRateScalar, _IODPLinkSymbolClockForLinkBitRate, _IODPLinkSymbolRate, _IODPQualityPatternName, _IODPStreamClockHz, _IODPTrainingPatternLength, _IODPTrainingPatternName, _IODPUnifiedDriveSettings, _IODPVideoBandwidth, _IODPVideoLinkMainStreamAttributeData, _IODPVideoLinkVideoStreamConfigurationSDP, _IOUSBDevicDeviceDescriptionGetTypeID, _IOUSBDeviceControllerCreate, _IOUSBDeviceControllerCreateDefaultDescription, _IOUSBDeviceControllerCreateWithService, _IOUSBDeviceControllerForceOffBus, _IOUSBDeviceControllerGetService, _IOUSBDeviceControllerGetTypeID, _IOUSBDeviceControllerGoOffAndOnBus, _IOUSBDeviceControllerRegisterArrivalCallback, _IOUSBDeviceControllerRemoveArrivalCallback, _IOUSBDeviceControllerSendCommand, _IOUSBDeviceControllerSetDescription, _IOUSBDeviceControllerSetPreferredConfiguration, _IOUSBDeviceDataCreate, _IOUSBDeviceDataGetBytePtr, _IOUSBDeviceDataGetCapacity, _IOUSBDeviceDataGetMapToken, _IOUSBDeviceDataGetTypeID, _IOUSBDeviceDescriptionAppendConfiguration, _IOUSBDeviceDescriptionAppendConfigurationWithInterface, _IOUSBDeviceDescriptionAppendConfigurationWithInterfaces, _IOUSBDeviceDescriptionAppendConfigurationWithoutAttributes, _IOUSBDeviceDescriptionAppendInterfaceToConfiguration, _IOUSBDeviceDescriptionAppendInterfacesToConfiguration, _IOUSBDeviceDescriptionCopyInterfaces, _IOUSBDeviceDescriptionCreate, _IOUSBDeviceDescriptionCreateFromController, _IOUSBDeviceDescriptionCreateFromControllerWithType, _IOUSBDeviceDescriptionCreateFromDefaults, _IOUSBDeviceDescriptionCreateFromDefaultsAndController, _IOUSBDeviceDescriptionCreateWithConfigurationInterfaces, _IOUSBDeviceDescriptionCreateWithType, _IOUSBDeviceDescriptionGetAllowOverride, _IOUSBDeviceDescriptionGetClass, _IOUSBDeviceDescriptionGetManufacturerString, _IOUSBDeviceDescriptionGetMatchingConfiguration, _IOUSBDeviceDescriptionGetProductID, _IOUSBDeviceDescriptionGetProductString, _IOUSBDeviceDescriptionGetProtocol, _IOUSBDeviceDescriptionGetSerialString, _IOUSBDeviceDescriptionGetSubClass, _IOUSBDeviceDescriptionGetVendorID, _IOUSBDeviceDescriptionGetVersion, _IOUSBDeviceDescriptionRemoveAllConfigurations, _IOUSBDeviceDescriptionSetAllowOverride, _IOUSBDeviceDescriptionSetClass, _IOUSBDeviceDescriptionSetProductID, _IOUSBDeviceDescriptionSetProtocol, _IOUSBDeviceDescriptionSetSerialString, _IOUSBDeviceDescriptionSetSubClass, _IOUSBDeviceDescriptionSetUDIDString, _IOUSBDeviceDescriptionSetVendorID, __IOUSBDeviceDescriptionGetInfo, __ZN9DisplayID8checksumEPKvm, ___IOAVLogHandleDefault, ___IOAVLogHandleEvent, ___IOUSBDeviceDescriptionRegister, _kIOAVCPCapabilitiesAll, _kIOAVCPCapabilitiesNone, _kIOAVCPConfigDefault, _kIOAVContentProtectionHDCP1, _kIOAVContentProtectionHDCP2, _kIOAVContentProtectionNone, _kIOAVDSCCapabilitiesNone, _kIOAVDSCParametersNone, _platformDefaults ] ...
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IODataQueueShared.h
/* * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ #ifndef _IOKIT_IODATAQUEUESHARED_H #define _IOKIT_IODATAQUEUESHARED_H #include <libkern/OSTypes.h> #include <mach/port.h> #include <mach/message.h> /*! * @typedef IODataQueueEntry * @abstract Represents an entry within the data queue * @discussion This is a variable sized struct. The data field simply represents the start of the data region. The size of the data region is stored in the size field. The whole size of the specific entry is the size of a UInt32 plus the size of the data region. * @field size The size of the following data region. * @field data Represents the beginning of the data region. The address of the data field is a pointer to the start of the data region. */ typedef struct _IODataQueueEntry { UInt32 size; UInt8 data[4]; } IODataQueueEntry; /*! * @typedef IODataQueueMemory * @abstract A struct mapping to the header region of a data queue. * @discussion This struct is variable sized. The struct represents the data queue header information plus a pointer to the actual data queue itself. The size of the struct is the combined size of the header fields (3 * sizeof(UInt32)) plus the actual size of the queue region. This size is stored in the queueSize field. * @field queueSize The size of the queue region pointed to by the queue field. * @field head The location of the queue head. This field is represented as a byte offset from the beginning of the queue memory region. * @field tail The location of the queue tail. This field is represented as a byte offset from the beginning of the queue memory region. * @field queue Represents the beginning of the queue memory region. The size of the region pointed to by queue is stored in the queueSize field. */ typedef struct _IODataQueueMemory { UInt32 queueSize; volatile UInt32 head; volatile UInt32 tail; IODataQueueEntry queue[1]; } IODataQueueMemory; /*! * @typedef IODataQueueAppendix * @abstract A struct mapping to the appendix region of a data queue. * @discussion This struct is variable sized dependent on the version. The struct represents the data queue appendix information. * @field version The version of the queue appendix. * @field msgh Mach message header containing the notification mach port associated with this queue. */ typedef struct _IODataQueueAppendix { UInt32 version; mach_msg_header_t msgh; } IODataQueueAppendix; /*! * @defined DATA_QUEUE_ENTRY_HEADER_SIZE Represents the size of the data queue entry header independent of the actual size of the data in the entry. This is the overhead of each entry in the queue. The total size of an entry is equal to this value plus the size stored in the entry's size field (in IODataQueueEntry). */ #define DATA_QUEUE_ENTRY_HEADER_SIZE (sizeof(IODataQueueEntry) - 4) /*! * @defined DATA_QUEUE_MEMORY_HEADER_SIZE Represents the size of the data queue memory header independent of the actual size of the queue data itself. The total size of the queue memory is equal to this value plus the size of the queue appendix and the size of the queue data region which is stored in the queueSize field of IODataQueueMeory. */ #define DATA_QUEUE_MEMORY_HEADER_SIZE (sizeof(IODataQueueMemory) - sizeof(IODataQueueEntry)) /*! * @defined DATA_QUEUE_MEMORY_APPENDIX_SIZE Represents the size of the data queue memory appendix independent of the actual size of the queue data itself. The total size of the queue memory is equal to this value plus the size of queue header and size of the queue data region which is stored in the queueSize field of IODataQueueMeory. */ #define DATA_QUEUE_MEMORY_APPENDIX_SIZE (sizeof(IODataQueueAppendix)) #endif /* _IOKIT_IODATAQUEUESHARED_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOSharedLock.h
/* * Copyright (c) 1998-2010 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOKIT_IOSHAREDLOCK_H #define _IOKIT_IOSHAREDLOCK_H #include <libkern/OSAtomic.h> #define IOSharedLockData OSSpinLock #define ev_lock_data_t OSSpinLock #endif /* ! _IOKIT_IOSHAREDLOCK_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOKitKeys.h
/* * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ /* * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. * * Common symbol definitions for IOKit. * * HISTORY * */ #ifndef _IOKIT_IOKITKEYS_H #define _IOKIT_IOKITKEYS_H // properties found in the registry root #define kIOKitBuildVersionKey "IOKitBuildVersion" #define kIOKitDiagnosticsKey "IOKitDiagnostics" // a dictionary keyed by plane name #define kIORegistryPlanesKey "IORegistryPlanes" #define kIOCatalogueKey "IOCatalogue" // registry plane names #define kIOServicePlane "IOService" #define kIOPowerPlane "IOPower" #define kIODeviceTreePlane "IODeviceTree" #define kIOAudioPlane "IOAudio" #define kIOFireWirePlane "IOFireWire" #define kIOUSBPlane "IOUSB" // registry ID number #define kIORegistryEntryIDKey "IORegistryEntryID" // property name to get array of property names #define kIORegistryEntryPropertyKeysKey "IORegistryEntryPropertyKeys" // IOService class name #define kIOServiceClass "IOService" // IOResources class name #define kIOResourcesClass "IOResources" // IOService driver probing property names #define kIOClassKey "IOClass" #define kIOProbeScoreKey "IOProbeScore" #define kIOKitDebugKey "IOKitDebug" // Properties to be supported as API #define kIOSupportedPropertiesKey "IOSupportedProperties" // Properties writable by dexts #define kIOUserServicePropertiesKey "IOUserServiceProperties" // IOService matching property names #define kIOProviderClassKey "IOProviderClass" #define kIONameMatchKey "IONameMatch" #define kIOPropertyMatchKey "IOPropertyMatch" #define kIOPropertyExistsMatchKey "IOPropertyExistsMatch" #define kIOPathMatchKey "IOPathMatch" #define kIOLocationMatchKey "IOLocationMatch" #define kIOParentMatchKey "IOParentMatch" #define kIOResourceMatchKey "IOResourceMatch" #define kIOResourceMatchedKey "IOResourceMatched" #define kIOMatchedServiceCountKey "IOMatchedServiceCountMatch" #define kIONameMatchedKey "IONameMatched" #define kIOMatchCategoryKey "IOMatchCategory" #define kIODefaultMatchCategoryKey "IODefaultMatchCategory" #define kIOMatchedPersonalityKey "IOMatchedPersonality" #define kIORematchPersonalityKey "IORematchPersonality" #define kIORematchCountKey "IORematchCount" #define kIODEXTMatchCountKey "IODEXTMatchCount" // Entitlements to check against dext process // Property is an array, one or more of which may match, of: // an array of entitlement strings, all must be present // Any array can be a single string. #define kIOServiceDEXTEntitlementsKey "IOServiceDEXTEntitlements" // Entitlement required to open dext connection #define kIODriverKitEntitlementKey "com.apple.developer.driverkit" // Entitlements required to open dext IOUserClient // Property is an array of strings containing CFBundleIdentifiers of service being opened #define kIODriverKitUserClientEntitlementsKey "com.apple.developer.driverkit.userclient-access" // Allows the entitled process to open a user client connection to any dext that has specific entitlements // Property is an array of strings containing entitlements, one of which needs to be present // in the dext providing the user client being opened #define kIODriverKitRequiredEntitlementsKey "com.apple.private.driverkit.driver-access" // Entitlement of a dext that allows any task to open one of its IOUserClients #define kIODriverKitUserClientEntitlementAllowAnyKey "com.apple.developer.driverkit.allow-any-userclient-access" #define kIODriverKitUserClientEntitlementAdministratorKey "com.apple.developer.driverkit.administrator" // Other DriverKit entitlements #define kIODriverKitUSBTransportEntitlementKey "com.apple.developer.driverkit.transport.usb" #define kIODriverKitHIDTransportEntitlementKey "com.apple.developer.driverkit.transport.hid" #define kIODriverKitHIDFamilyDeviceEntitlementKey "com.apple.developer.driverkit.family.hid.device" #define kIODriverKitHIDFamilyEventServiceEntitlementKey "com.apple.developer.driverkit.family.hid.eventservice" #define kIODriverKitTransportBuiltinEntitlementKey "com.apple.developer.driverkit.builtin" // Entitlement required to read nvram root-only properties as non-root user #define kIONVRAMReadAccessKey "com.apple.private.iokit.nvram-read-access" // Entitlement required to write nvram properties as non-root user #define kIONVRAMWriteAccessKey "com.apple.private.iokit.nvram-write-access" // Entitlement required to set properties on the IOResources object as non-root user #define kIOResourcesSetPropertyKey "com.apple.private.iokit.ioresources.setproperty" // Entitlement required to read/write to the system nvram region #define kIONVRAMSystemAllowKey "com.apple.private.iokit.system-nvram-allow" // When possible, defer matching of this driver until kextd has started. #define kIOMatchDeferKey "IOMatchDefer" // Published after processor_start() has been called on all CPUs at boot time. #define kIOAllCPUInitializedKey "IOAllCPUInitialized" // IOService default user client class, for loadable user clients #define kIOUserClientClassKey "IOUserClientClass" // key to find IOMappers #define kIOMapperIDKey "IOMapperID" #define kIOUserClientCrossEndianKey "IOUserClientCrossEndian" #define kIOUserClientCrossEndianCompatibleKey "IOUserClientCrossEndianCompatible" #define kIOUserClientSharedInstanceKey "IOUserClientSharedInstance" #define kIOUserClientDefaultLockingKey "IOUserClientDefaultLocking" // diagnostic string describing the creating task #define kIOUserClientCreatorKey "IOUserClientCreator" // the expected cdhash value of the userspace driver executable #define kIOUserServerCDHashKey "IOUserServerCDHash" #define kIOUserUserClientKey "IOUserUserClient" #define kIOUserServerOneProcessKey "IOUserServerOneProcess" // IOService notification types #define kIOPublishNotification "IOServicePublish" #define kIOFirstPublishNotification "IOServiceFirstPublish" #define kIOMatchedNotification "IOServiceMatched" #define kIOFirstMatchNotification "IOServiceFirstMatch" #define kIOTerminatedNotification "IOServiceTerminate" #define kIOWillTerminateNotification "IOServiceWillTerminate" // IOService interest notification types #define kIOGeneralInterest "IOGeneralInterest" #define kIOBusyInterest "IOBusyInterest" #define kIOAppPowerStateInterest "IOAppPowerStateInterest" #define kIOPriorityPowerStateInterest "IOPriorityPowerStateInterest" #define kIOPlatformDeviceMessageKey "IOPlatformDeviceMessage" // IOService interest notification types #define kIOCFPlugInTypesKey "IOCFPlugInTypes" #define kIOCompatibilityMatchKey "IOCompatibilityMatch" #define kIOCompatibilityPropertiesKey "IOCompatibilityProperties" #define kIOPathKey "IOPath" // properties found in services that implement command pooling #define kIOCommandPoolSizeKey "IOCommandPoolSize" // (OSNumber) // properties found in services that implement priority #define kIOMaximumPriorityCountKey "IOMaximumPriorityCount" // (OSNumber) // properties found in services that have transfer constraints #define kIOMaximumBlockCountReadKey "IOMaximumBlockCountRead" // (OSNumber) #define kIOMaximumBlockCountWriteKey "IOMaximumBlockCountWrite" // (OSNumber) #define kIOMaximumByteCountReadKey "IOMaximumByteCountRead" // (OSNumber) #define kIOMaximumByteCountWriteKey "IOMaximumByteCountWrite" // (OSNumber) #define kIOMaximumSegmentCountReadKey "IOMaximumSegmentCountRead" // (OSNumber) #define kIOMaximumSegmentCountWriteKey "IOMaximumSegmentCountWrite" // (OSNumber) #define kIOMaximumSegmentByteCountReadKey "IOMaximumSegmentByteCountRead" // (OSNumber) #define kIOMaximumSegmentByteCountWriteKey "IOMaximumSegmentByteCountWrite" // (OSNumber) #define kIOMinimumSegmentAlignmentByteCountKey "IOMinimumSegmentAlignmentByteCount" // (OSNumber) #define kIOMaximumSegmentAddressableBitCountKey "IOMaximumSegmentAddressableBitCount" // (OSNumber) #define kIOMinimumSaturationByteCountKey "IOMinimumSaturationByteCount" // (OSNumber) #define kIOMaximumSwapWriteKey "IOMaximumSwapWrite" // (OSNumber) // properties found in services that wish to describe an icon // // IOIcon = // { // CFBundleIdentifier = "com.example.driver.example"; // IOBundleResourceFile = "example.icns"; // }; // // where IOBundleResourceFile is the filename of the resource #define kIOIconKey "IOIcon" // (OSDictionary) #define kIOBundleResourceFileKey "IOBundleResourceFile" // (OSString) #define kIOBusBadgeKey "IOBusBadge" // (OSDictionary) #define kIODeviceIconKey "IODeviceIcon" // (OSDictionary) // property of root that describes the machine's serial number as a string #define kIOPlatformSerialNumberKey "IOPlatformSerialNumber" // (OSString) // property of root that describes the machine's UUID as a string #define kIOPlatformUUIDKey "IOPlatformUUID" // (OSString) // IODTNVRAM property keys #define kIONVRAMBootArgsKey "boot-args" #define kIONVRAMDeletePropertyKey "IONVRAM-DELETE-PROPERTY" #define kIONVRAMSyncNowPropertyKey "IONVRAM-SYNCNOW-PROPERTY" #define kIONVRAMActivateCSRConfigPropertyKey "IONVRAM-ARMCSR-PROPERTY" #define kIODTNVRAMPanicInfoKey "aapl,panic-info" // keys for complex boot information #define kIOBootDeviceKey "IOBootDevice" // dict | array of dicts #define kIOBootDevicePathKey "IOBootDevicePath" // arch-neutral OSString #define kIOBootDeviceSizeKey "IOBootDeviceSize" // OSNumber of bytes // keys for OS Version information #define kOSBuildVersionKey "OS Build Version" // #define kIOStateNotificationItemCreateKey "com.apple.iokit.statenotification.create" #define kIOStateNotificationItemSetKey "com.apple.iokit.statenotification.set" #define kIOStateNotificationItemCopyKey "com.apple.iokit.statenotification.copy" #define kIOStateNotificationNameKey "com.apple.iokit.statenotification.name" #define kIOStateNotificationEntitlementSetKey "com.apple.iokit.statenotification.entitlement-set" #define kIOStateNotificationEntitlementGetKey "com.apple.iokit.statenotification.entitlement-get" // #define kIOSystemStateClamshellKey "com.apple.iokit.pm.clamshell" #define kIOSystemStateSleepDescriptionKey "com.apple.iokit.pm.sleepdescription" #define kIOSystemStateSleepDescriptionReasonKey "com.apple.iokit.pm.sleepreason" #define kIOSystemStateSleepDescriptionHibernateStateKey "com.apple.iokit.pm.hibernatestate" #define kIOSystemStateHaltDescriptionKey "com.apple.iokit.pm.haltdescription" #define kIOSystemStateHaltDescriptionHaltStateKey "com.apple.iokit.pm.haltstate" #define kIOSystemStatePowerSourceDescriptionKey "com.apple.iokit.pm.powersourcedescription" #define kIOSystemStatePowerSourceDescriptionACAttachedKey "com.apple.iokit.pm.acattached" #endif /* ! _IOKIT_IOKITKEYS_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOMapTypes.h
/* * Copyright (c) 1998-2021 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ #ifndef __IOKIT_IOMAPTYPES_H #define __IOKIT_IOMAPTYPES_H // IOConnectMapMemory memoryTypes enum { kIODefaultMemoryType = 0 }; enum { kIODefaultCache = 0, kIOInhibitCache = 1, kIOWriteThruCache = 2, kIOCopybackCache = 3, kIOWriteCombineCache = 4, kIOCopybackInnerCache = 5, kIOPostedWrite = 6, kIORealTimeCache = 7, kIOPostedReordered = 8, kIOPostedCombinedReordered = 9, }; // IOMemory mapping options enum { kIOMapAnywhere = 0x00000001, kIOMapCacheMask = 0x00000f00, kIOMapCacheShift = 8, kIOMapDefaultCache = kIODefaultCache << kIOMapCacheShift, kIOMapInhibitCache = kIOInhibitCache << kIOMapCacheShift, kIOMapWriteThruCache = kIOWriteThruCache << kIOMapCacheShift, kIOMapCopybackCache = kIOCopybackCache << kIOMapCacheShift, kIOMapWriteCombineCache = kIOWriteCombineCache << kIOMapCacheShift, kIOMapCopybackInnerCache = kIOCopybackInnerCache << kIOMapCacheShift, kIOMapPostedWrite = kIOPostedWrite << kIOMapCacheShift, kIOMapRealTimeCache = kIORealTimeCache << kIOMapCacheShift, kIOMapPostedReordered = kIOPostedReordered << kIOMapCacheShift, kIOMapPostedCombinedReordered = kIOPostedCombinedReordered << kIOMapCacheShift, kIOMapUserOptionsMask = 0x00000fff, kIOMapReadOnly = 0x00001000, kIOMapStatic = 0x01000000, kIOMapReference = 0x02000000, kIOMapUnique = 0x04000000, kIOMapPrefault = 0x10000000, kIOMapOverwrite = 0x20000000, kIOMapGuardedMask = 0xC0000000, kIOMapGuardedSmall = 0x40000000, kIOMapGuardedLarge = 0x80000000 }; #endif /* ! __IOKIT_IOMAPTYPES_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/iokitmig.h
/* Deprecated, kept (for now) for compatibility */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOCFUnserialize.h
/* * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /* IOUnserialize.h created by rsulack on Mon 23-Nov-1998 */ /* IOCFUnserialize.h creates CF collections Mon 30-Aug-1999 */ #ifndef __IOKIT_IOCFUNSERIALIZE_H #define __IOKIT_IOCFUNSERIALIZE_H #include <CoreFoundation/CFBase.h> #include <CoreFoundation/CFString.h> #if defined(__cplusplus) extern "C" { #endif // on success IOCFUnserialize sets errorString to 0 and returns // the unserialized object. // on failure IOCFUnserialize sets errorString to a CFString object // containing a error message suitable for logging and returns 0 CF_RETURNS_RETAINED CFTypeRef IOCFUnserialize(const char *buffer, CFAllocatorRef allocator, CFOptionFlags options, CFStringRef *errorString); CF_RETURNS_RETAINED CFTypeRef IOCFUnserializeBinary(const char * buffer, size_t bufferSize, CFAllocatorRef allocator, CFOptionFlags options, CFStringRef * errorString); CF_RETURNS_RETAINED CFTypeRef IOCFUnserializeWithSize(const char * buffer, size_t bufferSize, CFAllocatorRef allocator, CFOptionFlags options, CFStringRef * errorString); #if defined(__cplusplus) } #endif #endif /* __IOKIT_IOCFUNSERIALIZE_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOKitServer.h
/* * Copyright (c) 1998-2011 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ /* * Copyright (c) 1998 Apple Computer, Inc. All rights reserved. * * HISTORY * */ /* * Internal definitions used between the iokit user library and * server routines. */ #ifndef _IOKIT_IOKITSERVER_H #define _IOKIT_IOKITSERVER_H #include <IOKit/IOTypes.h> #include <IOKit/IOKitKeys.h> #include <IOKit/OSMessageNotification.h> #ifdef __cplusplus extern "C" { #endif #include <mach/kmod.h> #ifdef __cplusplus } #endif // IOCatalogueSendData /*! * @enum IOCatalogueSendData user-client flags. * @constant kIOCatalogAddDrivers Signals a call to the addDrivers function in IOCatalogue. * @constant kIOCatalogAddDriversNoMatch Signals a call to the addDrivers function in IOCatalogue but does not start a matching thread. * @constant kIOCatalogRemoveDrivers Signals a call to the removeDrivers function in IOCatalogue. * @constant kIOCatalogRemoveDriversNoMatch Signals a call to the removedrivers function in IOCatalogue but does not start a matching thread. * @constant kIOCatalogStartMatching Signals the IOCatalogue to start an IOService matching thread. * @constant kIOCatalogRemoveKernelLinker Deprecated; does nothing. * @constant kIOCatalogKextdActive Signals the kernel that kextd is running. * @constant kIOCatalogKextdFinishedLaunching Signals the IOCatalogue that kextd has finished sending it information at startup. * @constant kIOCatalogResetDrivers Resets the IOCatalogue with a new set of personalities. * @constant kIOCatalogResetDriversNoMatch Resets the IOCatalogue with a new set of personalities but does not start a matching thread. */ enum { kIOCatalogAddDrivers = 1, kIOCatalogAddDriversNoMatch, kIOCatalogRemoveDrivers, kIOCatalogRemoveDriversNoMatch, kIOCatalogStartMatching__Removed, kIOCatalogRemoveKernelLinker__Removed, kIOCatalogKextdActive, kIOCatalogKextdFinishedLaunching, kIOCatalogResetDrivers, kIOCatalogResetDriversNoMatch }; // IOCatalogueGetData /*! * @enum IOCatalogueGetData user-client flags * @constant kIOCatalogGetContents Returns a snapshot of the database to the caller. */ enum { kIOCatalogGetContents = 1, kIOCatalogGetModuleDemandList = 2, kIOCatalogGetCacheMissList = 3, kIOCatalogGetROMMkextList = 4 }; // IOCatalogueReset /*! * @enum IOCatalogueReset user-client flag * @constant kIOCatalogResetDefault Removes all entries from IOCatalogue except those used for booting the system. */ enum { kIOCatalogResetDefault = 1 }; // IOCatalogueTerminate /*! * @enum IOCatalogueTerminate user-client flags. * @constant kIOCatalogModuleUnload Terminates all services which depend on a particular module and unloads the module. * @constant kIOCatalogModuleTerminate Terminates all services which depend on a particular module but does not unload the module. * @constant kIOCatalogServiceTerminate Terminates a particular service by name. */ enum { kIOCatalogModuleUnload = 1, kIOCatalogModuleTerminate, kIOCatalogServiceTerminate }; #endif /* ! _IOKIT_IOKITSERVER_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h
/* * Copyright (c) 1998-2014 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /* * HISTORY * */ /* * IOKit user library */ #ifndef _IOKIT_IOKITLIB_H #define _IOKIT_IOKITLIB_H #ifdef KERNEL #error This file is not for kernel use #endif #include <sys/cdefs.h> #include <sys/types.h> #include <mach/mach_types.h> #include <mach/mach_init.h> #include <CoreFoundation/CFBase.h> #include <CoreFoundation/CFDictionary.h> #include <CoreFoundation/CFRunLoop.h> #include <IOKit/IOTypes.h> #include <IOKit/IOKitKeys.h> #include <IOKit/OSMessageNotification.h> #include <AvailabilityMacros.h> #include <dispatch/dispatch.h> __BEGIN_DECLS /*! @header IOKitLib IOKitLib implements non-kernel task access to common IOKit object types - IORegistryEntry, IOService, IOIterator etc. These functions are generic - families may provide API that is more specific.<br> IOKitLib represents IOKit objects outside the kernel with the types io_object_t, io_registry_entry_t, io_service_t, & io_connect_t. Function names usually begin with the type of object they are compatible with - eg. IOObjectRelease can be used with any io_object_t. Inside the kernel, the c++ class hierarchy allows the subclasses of each object type to receive the same requests from user level clients, for example in the kernel, IOService is a subclass of IORegistryEntry, which means any of the IORegistryEntryXXX functions in IOKitLib may be used with io_service_t's as well as io_registry_t's. There are functions available to introspect the class of the kernel object which any io_object_t et al. represents. IOKit objects returned by all functions should be released with IOObjectRelease. */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ typedef struct IONotificationPort * IONotificationPortRef; /*! @typedef IOServiceMatchingCallback @abstract Callback function to be notified of IOService publication. @param refcon The refcon passed when the notification was installed. @param iterator The notification iterator which now has new objects. */ typedef void (*IOServiceMatchingCallback)( void * refcon, io_iterator_t iterator ); /*! @typedef IOServiceInterestCallback @abstract Callback function to be notified of changes in state of an IOService. @param refcon The refcon passed when the notification was installed. @param service The IOService whose state has changed. @param messageType A messageType enum, defined by IOKit/IOMessage.h or by the IOService's family. @param messageArgument An argument for the message, dependent on the messageType. If the message data is larger than sizeof(void*), then messageArgument contains a pointer to the message data; otherwise, messageArgument contains the message data. */ typedef void (*IOServiceInterestCallback)( void * refcon, io_service_t service, uint32_t messageType, void * messageArgument ); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /*! @const kIOMainPortDefault @abstract The default mach port used to initiate communication with IOKit. @discussion When specifying a main port to IOKit functions, the NULL argument indicates "use the default". This is a synonym for NULL, if you'd rather use a named constant. */ extern const mach_port_t kIOMainPortDefault __API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0)); /*! @function IOMainPort @abstract Returns the mach port used to initiate communication with IOKit. @discussion Functions that don't specify an existing object require the IOKit main port to be passed. This function obtains that port. @param bootstrapPort Pass MACH_PORT_NULL for the default. @param mainPort The main port is returned. @result A kern_return_t error code. */ kern_return_t IOMainPort( mach_port_t bootstrapPort, mach_port_t * mainPort ) __API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0)); /*! @const kIOMasterPortDefault @abstract Deprecated name for kIOMainPortDefault. */ extern const mach_port_t kIOMasterPortDefault __API_DEPRECATED_WITH_REPLACEMENT("kIOMainPortDefault", macos(10.0, 12.0), ios(1.0, 15.0), watchos(1.0, 8.0), tvos(1.0, 15.0)); /*! @function IOMasterPort @abstract Deprecated name for IOMainPort(). */ kern_return_t IOMasterPort( mach_port_t bootstrapPort, mach_port_t * mainPort ) __API_DEPRECATED_WITH_REPLACEMENT("IOMainPort", macos(10.0, 12.0), ios(1.0, 15.0), watchos(1.0, 8.0), tvos(1.0, 15.0)); /*! @function IONotificationPortCreate @abstract Creates and returns a notification object for receiving IOKit notifications of new devices or state changes. @discussion Creates the notification object to receive notifications from IOKit of new device arrivals or state changes. The notification object can be supply a CFRunLoopSource, or mach_port_t to be used to listen for events. @param mainPort The main port obtained from IOMainPort(). Pass kIOMainPortDefault to look up the default main port. @result A reference to the notification object. */ IONotificationPortRef IONotificationPortCreate( mach_port_t mainPort ); /*! @function IONotificationPortDestroy @abstract Destroys a notification object created with IONotificationPortCreate. Also destroys any mach_port's or CFRunLoopSources obatined from <code>@link IONotificationPortGetRunLoopSource @/link</code> or <code>@link IONotificationPortGetMachPort @/link</code> @param notify A reference to the notification object. */ void IONotificationPortDestroy( IONotificationPortRef notify ); /*! @function IONotificationPortGetRunLoopSource @abstract Returns a CFRunLoopSource to be used to listen for notifications. @discussion A notification object may deliver notifications to a CFRunLoop by adding the run loop source returned by this function to the run loop. The caller should not release this CFRunLoopSource. Just call <code>@link IONotificationPortDestroy @/link</code> to dispose of the IONotificationPortRef and the CFRunLoopSource when done. @param notify The notification object. @result A CFRunLoopSourceRef for the notification object. */ CFRunLoopSourceRef IONotificationPortGetRunLoopSource( IONotificationPortRef notify ); /*! @function IONotificationPortGetMachPort @abstract Returns a mach_port to be used to listen for notifications. @discussion A notification object may deliver notifications to a mach messaging client if they listen for messages on the port obtained from this function. Callbacks associated with the notifications may be delivered by calling IODispatchCalloutFromMessage with messages received. The caller should not release this mach_port_t. Just call <code>@link IONotificationPortDestroy @/link</code> to dispose of the mach_port_t and IONotificationPortRef when done. @param notify The notification object. @result A mach_port for the notification object. */ mach_port_t IONotificationPortGetMachPort( IONotificationPortRef notify ); /*! @function IONotificationPortSetImportanceReceiver @abstract Configure a notification port to be an importance receiver. @discussion Sets the MACH_PORT_IMPORTANCE_RECEIVER attribute on the underlying mach port. Importance-donating messages sent to a notification port with this attribute enabled will boost the importance of the receiving process for the duration of the notification handler. @param notify The notification object. @result A kern_return_t error code. */ kern_return_t IONotificationPortSetImportanceReceiver( IONotificationPortRef notify ); /*! @function IONotificationPortSetDispatchQueue @abstract Sets a dispatch queue to be used to listen for notifications. @discussion A notification object may deliver notifications to a dispatch client. @param notify The notification object. @param queue A dispatch queue. */ void IONotificationPortSetDispatchQueue( IONotificationPortRef notify, dispatch_queue_t queue ) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_4_3); /*! @function IODispatchCalloutFromMessage @abstract Dispatches callback notifications from a mach message. @discussion A notification object may deliver notifications to a mach messaging client, which should call this function to generate the callbacks associated with the notifications arriving on the port. @param unused Not used, set to zero. @param msg A pointer to the message received. @param reference Pass the IONotificationPortRef for the object. */ void IODispatchCalloutFromMessage( void *unused, mach_msg_header_t *msg, void *reference ); /*! @function IOCreateReceivePort @abstract Creates and returns a mach port suitable for receiving IOKit messages of the specified type. @discussion In the future IOKit may use specialized messages and ports instead of the standard ports created by mach_port_allocate(). Use this function instead of mach_port_allocate() to ensure compatibility with future revisions of IOKit. @param msgType Type of message to be sent to this port (kOSNotificationMessageID or kOSAsyncCompleteMessageID) @param recvPort The created port is returned. @result A kern_return_t error code. */ kern_return_t IOCreateReceivePort( uint32_t msgType, mach_port_t * recvPort ); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* * IOObject */ /*! @function IOObjectRelease @abstract Releases an object handle previously returned by IOKitLib. @discussion All objects returned by IOKitLib should be released with this function when access to them is no longer needed. Using the object after it has been released may or may not return an error, depending on how many references the task has to the same object in the kernel. @param object The IOKit object to release. @result A kern_return_t error code. */ kern_return_t IOObjectRelease( io_object_t object ); /*! @function IOObjectRetain @abstract Retains an object handle previously returned by IOKitLib. @discussion Gives the caller an additional reference to an existing object handle previously returned by IOKitLib. @param object The IOKit object to retain. @result A kern_return_t error code. */ kern_return_t IOObjectRetain( io_object_t object ); /*! @function IOObjectGetClass @abstract Return the class name of an IOKit object. @discussion This function uses the OSMetaClass system in the kernel to derive the name of the class the object is an instance of. @param object The IOKit object. @param className Caller allocated buffer to receive the name string. @result A kern_return_t error code. */ kern_return_t IOObjectGetClass( io_object_t object, io_name_t className ); /*! @function IOObjectCopyClass @abstract Return the class name of an IOKit object. @discussion This function does the same thing as IOObjectGetClass, but returns the result as a CFStringRef. @param object The IOKit object. @result The resulting CFStringRef. This should be released by the caller. If a valid object is not passed in, then NULL is returned.*/ CFStringRef IOObjectCopyClass(io_object_t object) AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER; /*! @function IOObjectCopySuperclassForClass @abstract Return the superclass name of the given class. @discussion This function uses the OSMetaClass system in the kernel to derive the name of the superclass of the class. @param classname The name of the class as a CFString. @result The resulting CFStringRef. This should be released by the caller. If there is no superclass, or a valid class name is not passed in, then NULL is returned.*/ CFStringRef IOObjectCopySuperclassForClass(CFStringRef classname) AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER; /*! @function IOObjectCopyBundleIdentifierForClass @abstract Return the bundle identifier of the given class. @discussion This function uses the OSMetaClass system in the kernel to derive the name of the kmod, which is the same as the bundle identifier. @param classname The name of the class as a CFString. @result The resulting CFStringRef. This should be released by the caller. If a valid class name is not passed in, then NULL is returned.*/ CFStringRef IOObjectCopyBundleIdentifierForClass(CFStringRef classname) AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER; /*! @function IOObjectConformsTo @abstract Performs an OSDynamicCast operation on an IOKit object. @discussion This function uses the OSMetaClass system in the kernel to determine if the object will dynamic cast to a class, specified as a C-string. In other words, if the object is of that class or a subclass. @param object An IOKit object. @param className The name of the class, as a C-string. @result If the object handle is valid, and represents an object in the kernel that dynamic casts to the class true is returned, otherwise false. */ boolean_t IOObjectConformsTo( io_object_t object, const io_name_t className ); /*! @function IOObjectIsEqualTo @abstract Checks two object handles to see if they represent the same kernel object. @discussion If two object handles are returned by IOKitLib functions, this function will compare them to see if they represent the same kernel object. @param object An IOKit object. @param anObject Another IOKit object. @result If both object handles are valid, and represent the same object in the kernel true is returned, otherwise false. */ boolean_t IOObjectIsEqualTo( io_object_t object, io_object_t anObject ); /*! @function IOObjectGetKernelRetainCount @abstract Returns kernel retain count of an IOKit object. @discussion This function may be used in diagnostics to determine the current retain count of the kernel object at the kernel level. @param object An IOKit object. @result If the object handle is valid, the kernel objects retain count is returned, otherwise zero is returned. */ uint32_t IOObjectGetKernelRetainCount( io_object_t object ) AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER; /*! @function IOObjectGetUserRetainCount @abstract Returns the retain count for the current process of an IOKit object. @discussion This function may be used in diagnostics to determine the current retain count for the calling process of the kernel object. @param object An IOKit object. @result If the object handle is valid, the objects user retain count is returned, otherwise zero is returned. */ uint32_t IOObjectGetUserRetainCount( io_object_t object ) AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER; /*! @function IOObjectGetRetainCount @abstract Returns kernel retain count of an IOKit object. Identical to IOObjectGetKernelRetainCount() but available prior to Mac OS 10.6. @discussion This function may be used in diagnostics to determine the current retain count of the kernel object at the kernel level. @param object An IOKit object. @result If the object handle is valid, the kernel objects retain count is returned, otherwise zero is returned. */ uint32_t IOObjectGetRetainCount( io_object_t object ); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* * IOIterator, subclass of IOObject */ /*! @function IOIteratorNext @abstract Returns the next object in an iteration. @discussion This function returns the next object in an iteration, or zero if no more remain or the iterator is invalid. @param iterator An IOKit iterator handle. @result If the iterator handle is valid, the next element in the iteration is returned, otherwise zero is returned. The element should be released by the caller when it is finished. */ io_object_t IOIteratorNext( io_iterator_t iterator ); /*! @function IOIteratorReset @abstract Resets an iteration back to the beginning. @discussion If an iterator is invalid, or if the caller wants to start over, IOIteratorReset will set the iteration back to the beginning. @param iterator An IOKit iterator handle. */ void IOIteratorReset( io_iterator_t iterator ); /*! @function IOIteratorIsValid @abstract Checks an iterator is still valid. @discussion Some iterators will be made invalid if changes are made to the structure they are iterating over. This function checks the iterator is still valid and should be called when IOIteratorNext returns zero. An invalid iterator can be reset and the iteration restarted. @param iterator An IOKit iterator handle. @result True if the iterator handle is valid, otherwise false is returned. */ boolean_t IOIteratorIsValid( io_iterator_t iterator ); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* * IOService, subclass of IORegistryEntry */ /*! @function IOServiceGetMatchingService @abstract Look up a registered IOService object that matches a matching dictionary. @discussion This is the preferred method of finding IOService objects currently registered by IOKit (that is, objects that have had their registerService() methods invoked). To find IOService objects that aren't yet registered, use an iterator as created by IORegistryEntryCreateIterator(). IOServiceAddMatchingNotification can also supply this information and install a notification of new IOServices. The matching information used in the matching dictionary may vary depending on the class of service being looked up. @param mainPort The main port obtained from IOMainPort(). Pass kIOMainPortDefault to look up the default main port. @param matching A CF dictionary containing matching information, of which one reference is always consumed by this function (Note prior to the Tiger release there was a small chance that the dictionary might not be released if there was an error attempting to serialize the dictionary). IOKitLib can construct matching dictionaries for common criteria with helper functions such as IOServiceMatching, IOServiceNameMatching, IOBSDNameMatching. @result The first service matched is returned on success. The service must be released by the caller. */ io_service_t IOServiceGetMatchingService( mach_port_t mainPort, CFDictionaryRef matching CF_RELEASES_ARGUMENT); /*! @function IOServiceGetMatchingServices @abstract Look up registered IOService objects that match a matching dictionary. @discussion This is the preferred method of finding IOService objects currently registered by IOKit (that is, objects that have had their registerService() methods invoked). To find IOService objects that aren't yet registered, use an iterator as created by IORegistryEntryCreateIterator(). IOServiceAddMatchingNotification can also supply this information and install a notification of new IOServices. The matching information used in the matching dictionary may vary depending on the class of service being looked up. @param mainPort The main port obtained from IOMainPort(). Pass kIOMainPortDefault to look up the default main port. @param matching A CF dictionary containing matching information, of which one reference is always consumed by this function (Note prior to the Tiger release there was a small chance that the dictionary might not be released if there was an error attempting to serialize the dictionary). IOKitLib can construct matching dictionaries for common criteria with helper functions such as IOServiceMatching, IOServiceNameMatching, IOBSDNameMatching. @param existing An iterator handle, or NULL, is returned on success, and should be released by the caller when the iteration is finished. If NULL is returned, the iteration was successful but found no matching services. @result A kern_return_t error code. */ kern_return_t IOServiceGetMatchingServices( mach_port_t mainPort, CFDictionaryRef matching CF_RELEASES_ARGUMENT, io_iterator_t * existing ); kern_return_t IOServiceAddNotification( mach_port_t mainPort, const io_name_t notificationType, CFDictionaryRef matching, mach_port_t wakePort, uintptr_t reference, io_iterator_t * notification ) DEPRECATED_ATTRIBUTE; /*! @function IOServiceAddMatchingNotification @abstract Look up registered IOService objects that match a matching dictionary, and install a notification request of new IOServices that match. @discussion This is the preferred method of finding IOService objects that may arrive at any time. The type of notification specifies the state change the caller is interested in, on IOService's that match the match dictionary. Notification types are identified by name, and are defined in IOKitKeys.h. The matching information used in the matching dictionary may vary depending on the class of service being looked up. @param notifyPort A IONotificationPortRef object that controls how messages will be sent when the armed notification is fired. When the notification is delivered, the io_iterator_t representing the notification should be iterated through to pick up all outstanding objects. When the iteration is finished the notification is rearmed. See IONotificationPortCreate. @param notificationType A notification type from IOKitKeys.h <br> kIOPublishNotification Delivered when an IOService is registered. <br> kIOFirstPublishNotification Delivered when an IOService is registered, but only once per IOService instance. Some IOService's may be reregistered when their state is changed. <br> kIOMatchedNotification Delivered when an IOService has had all matching drivers in the kernel probed and started. <br> kIOFirstMatchNotification Delivered when an IOService has had all matching drivers in the kernel probed and started, but only once per IOService instance. Some IOService's may be reregistered when their state is changed. <br> kIOTerminatedNotification Delivered after an IOService has been terminated. @param matching A CF dictionary containing matching information, of which one reference is always consumed by this function (Note prior to the Tiger release there was a small chance that the dictionary might not be released if there was an error attempting to serialize the dictionary). IOKitLib can construct matching dictionaries for common criteria with helper functions such as IOServiceMatching, IOServiceNameMatching, IOBSDNameMatching. @param callback A callback function called when the notification fires. @param refCon A reference constant for the callbacks use. @param notification An iterator handle is returned on success, and should be released by the caller when the notification is to be destroyed. The notification is armed when the iterator is emptied by calls to IOIteratorNext - when no more objects are returned, the notification is armed. Note the notification is not armed when first created. @result A kern_return_t error code. */ kern_return_t IOServiceAddMatchingNotification( IONotificationPortRef notifyPort, const io_name_t notificationType, CFDictionaryRef matching CF_RELEASES_ARGUMENT, IOServiceMatchingCallback callback, void * refCon, io_iterator_t * notification ); /*! @function IOServiceAddInterestNotification @abstract Register for notification of state changes in an IOService. @discussion IOService objects deliver notifications of their state changes to their clients via the IOService::messageClients API, and to other interested parties including callers of this function. Message types are defined IOKit/IOMessage.h. @param notifyPort A IONotificationPortRef object that controls how messages will be sent when the notification is fired. See IONotificationPortCreate. @param interestType A notification type from IOKitKeys.h <br> kIOGeneralInterest General state changes delivered via the IOService::messageClients API. <br> kIOBusyInterest Delivered when the IOService changes its busy state to or from zero. The message argument contains the new busy state causing the notification. @param callback A callback function called when the notification fires, with messageType and messageArgument for the state change. @param refCon A reference constant for the callbacks use. @param notification An object handle is returned on success, and should be released by the caller when the notification is to be destroyed. @result A kern_return_t error code. */ kern_return_t IOServiceAddInterestNotification( IONotificationPortRef notifyPort, io_service_t service, const io_name_t interestType, IOServiceInterestCallback callback, void * refCon, io_object_t * notification ); /*! @function IOServiceMatchPropertyTable @abstract Match an IOService objects with matching dictionary. @discussion This function calls the matching method of an IOService object and returns the boolean result. @param service The IOService object to match. @param matching A CF dictionary containing matching information. IOKitLib can construct matching dictionaries for common criteria with helper functions such as IOServiceMatching, IOServiceNameMatching, IOBSDNameMatching. @param matches The boolean result is returned. @result A kern_return_t error code. */ kern_return_t IOServiceMatchPropertyTable( io_service_t service, CFDictionaryRef matching, boolean_t * matches ); /*! @function IOServiceGetBusyState @abstract Returns the busyState of an IOService. @discussion Many activities in IOService are asynchronous. When registration, matching, or termination is in progress on an IOService, its busyState is increased by one. Change in busyState to or from zero also changes the IOService's provider's busyState by one, which means that an IOService is marked busy when any of the above activities is ocurring on it or any of its clients. @param service The IOService whose busyState to return. @param busyState The busyState count is returned. @result A kern_return_t error code. */ kern_return_t IOServiceGetBusyState( io_service_t service, uint32_t * busyState ); /*! @function IOServiceWaitQuiet @abstract Wait for an IOService's busyState to be zero. @discussion Blocks the caller until an IOService is non busy, see IOServiceGetBusyState. @param service The IOService wait on. @param waitTime Specifies a maximum time to wait. @result Returns an error code if mach synchronization primitives fail, kIOReturnTimeout, or kIOReturnSuccess. */ kern_return_t IOServiceWaitQuiet( io_service_t service, mach_timespec_t * waitTime ); /*! @function IOKitGetBusyState @abstract Returns the busyState of all IOServices. @discussion Many activities in IOService are asynchronous. When registration, matching, or termination is in progress on an IOService, its busyState is increased by one. Change in busyState to or from zero also changes the IOService's provider's busyState by one, which means that an IOService is marked busy when any of the above activities is ocurring on it or any of its clients. IOKitGetBusyState returns the busy state of the root of the service plane which reflects the busy state of all IOServices. @param mainPort The main port obtained from IOMainPort(). Pass kIOMainPortDefault to look up the default main port. @param busyState The busyState count is returned. @result A kern_return_t error code. */ kern_return_t IOKitGetBusyState( mach_port_t mainPort, uint32_t * busyState ); /*! @function IOKitWaitQuiet @abstract Wait for a all IOServices' busyState to be zero. @discussion Blocks the caller until all IOServices are non busy, see IOKitGetBusyState. @param mainPort The main port obtained from IOMainPort(). Pass kIOMainPortDefault to look up the default main port. @param waitTime Specifies a maximum time to wait. @result Returns an error code if mach synchronization primitives fail, kIOReturnTimeout, or kIOReturnSuccess. */ kern_return_t IOKitWaitQuiet( mach_port_t mainPort, mach_timespec_t * waitTime ); /*! @function IOServiceOpen @abstract A request to create a connection to an IOService. @discussion A non kernel client may request a connection be opened via the IOServiceOpen() library function, which will call IOService::newUserClient in the kernel. The rules & capabilities of user level clients are family dependent, the default IOService implementation returns kIOReturnUnsupported. @param service The IOService object to open a connection to, usually obtained via the IOServiceGetMatchingServices or IOServiceAddNotification APIs. @param owningTask The mach task requesting the connection. @param type A constant specifying the type of connection to be created, interpreted only by the IOService's family. @param connect An io_connect_t handle is returned on success, to be used with the IOConnectXXX APIs. It should be destroyed with IOServiceClose(). @result A return code generated by IOService::newUserClient. */ kern_return_t IOServiceOpen( io_service_t service, task_port_t owningTask, uint32_t type, io_connect_t * connect ); /*! @function IOServiceRequestProbe @abstract A request to rescan a bus for device changes. @discussion A non kernel client may request a bus or controller rescan for added or removed devices, if the bus family does automatically notice such changes. For example, SCSI bus controllers do not notice device changes. The implementation of this routine is family dependent, and the default IOService implementation returns kIOReturnUnsupported. @param service The IOService object to request a rescan, usually obtained via the IOServiceGetMatchingServices or IOServiceAddNotification APIs. @param options An options mask, interpreted only by the IOService's family. @result A return code generated by IOService::requestProbe. */ kern_return_t IOServiceRequestProbe( io_service_t service, uint32_t options ); // options for IOServiceAuthorize() enum { kIOServiceInteractionAllowed = 0x00000001 }; /*! @function IOServiceAuthorize @abstract Authorize access to an IOService. @discussion Determine whether this application is authorized to invoke IOServiceOpen() for a given IOService, either by confirming that it has been previously authorized by the user, or by soliciting the console user. @param service The IOService object to be authorized, usually obtained via the IOServiceGetMatchingServices or IOServiceAddNotification APIs. @param options kIOServiceInteractionAllowed may be set to permit user interaction, if required. @result kIOReturnSuccess if the IOService is authorized, kIOReturnNotPermitted if the IOService is not authorized. */ kern_return_t IOServiceAuthorize( io_service_t service, uint32_t options ); int IOServiceOpenAsFileDescriptor( io_service_t service, int oflag ); /* * * * * * * * * * * * * * *ff * * * * * * * * * * * * * * * * * * * * * * */ /* * IOService connection */ /*! @function IOServiceClose @abstract Close a connection to an IOService and destroy the connect handle. @discussion A connection created with the IOServiceOpen should be closed when the connection is no longer to be used with IOServiceClose. @param connect The connect handle created by IOServiceOpen. It will be destroyed by this function, and should not be released with IOObjectRelease. @result A kern_return_t error code. */ kern_return_t IOServiceClose( io_connect_t connect ); /*! @function IOConnectAddRef @abstract Adds a reference to the connect handle. @discussion Adds a reference to the connect handle. @param connect The connect handle created by IOServiceOpen. @result A kern_return_t error code. */ kern_return_t IOConnectAddRef( io_connect_t connect ); /*! @function IOConnectRelease @abstract Remove a reference to the connect handle. @discussion Removes a reference to the connect handle. If the last reference is removed an implicit IOServiceClose is performed. @param connect The connect handle created by IOServiceOpen. @result A kern_return_t error code. */ kern_return_t IOConnectRelease( io_connect_t connect ); /*! @function IOConnectGetService @abstract Returns the IOService a connect handle was opened on. @discussion Finds the service object a connection was opened on. @param connect The connect handle created by IOServiceOpen. @param service On succes, the service handle the connection was opened on, which should be released with IOObjectRelease. @result A kern_return_t error code. */ kern_return_t IOConnectGetService( io_connect_t connect, io_service_t * service ); /*! @function IOConnectSetNotificationPort @abstract Set a port to receive family specific notifications. @discussion This is a generic method to pass a mach port send right to be be used by family specific notifications. @param connect The connect handle created by IOServiceOpen. @param type The type of notification requested, not interpreted by IOKit and family defined. @param port The port to which to send notifications. @param reference Some families may support passing a reference parameter for the callers use with the notification. @result A kern_return_t error code. */ kern_return_t IOConnectSetNotificationPort( io_connect_t connect, uint32_t type, mach_port_t port, uintptr_t reference ); /*! @function IOConnectMapMemory @abstract Map hardware or shared memory into the caller's task. @discussion This is a generic method to create a mapping in the callers task. The family will interpret the type parameter to determine what sort of mapping is being requested. Cache modes and placed mappings may be requested by the caller. @param connect The connect handle created by IOServiceOpen. @param memoryType What is being requested to be mapped, not interpreted by IOKit and family defined. The family may support physical hardware or shared memory mappings. @param intoTask The task port for the task in which to create the mapping. This may be different to the task which the opened the connection. @param atAddress An in/out parameter - if the kIOMapAnywhere option is not set, the caller should pass the address where it requests the mapping be created, otherwise nothing need to set on input. The address of the mapping created is passed back on sucess. @param ofSize The size of the mapping created is passed back on success. @result A kern_return_t error code. */ #if !__LP64__ || defined(IOCONNECT_MAPMEMORY_10_6) kern_return_t IOConnectMapMemory( io_connect_t connect, uint32_t memoryType, task_port_t intoTask, vm_address_t *atAddress, vm_size_t *ofSize, IOOptionBits options ); #else kern_return_t IOConnectMapMemory( io_connect_t connect, uint32_t memoryType, task_port_t intoTask, mach_vm_address_t *atAddress, mach_vm_size_t *ofSize, IOOptionBits options ); #endif /* !__LP64__ || defined(IOCONNECT_MAPMEMORY_10_6) */ /*! @function IOConnectMapMemory64 @abstract Map hardware or shared memory into the caller's task. @discussion This is a generic method to create a mapping in the callers task. The family will interpret the type parameter to determine what sort of mapping is being requested. Cache modes and placed mappings may be requested by the caller. @param connect The connect handle created by IOServiceOpen. @param memoryType What is being requested to be mapped, not interpreted by IOKit and family defined. The family may support physical hardware or shared memory mappings. @param intoTask The task port for the task in which to create the mapping. This may be different to the task which the opened the connection. @param atAddress An in/out parameter - if the kIOMapAnywhere option is not set, the caller should pass the address where it requests the mapping be created, otherwise nothing need to set on input. The address of the mapping created is passed back on sucess. @param ofSize The size of the mapping created is passed back on success. @result A kern_return_t error code. */ kern_return_t IOConnectMapMemory64( io_connect_t connect, uint32_t memoryType, task_port_t intoTask, mach_vm_address_t *atAddress, mach_vm_size_t *ofSize, IOOptionBits options ); /*! @function IOConnectUnmapMemory @abstract Remove a mapping made with IOConnectMapMemory. @discussion This is a generic method to remove a mapping in the callers task. @param connect The connect handle created by IOServiceOpen. @param memoryType The memory type originally requested in IOConnectMapMemory. @param fromTask The task port for the task in which to remove the mapping. This may be different to the task which the opened the connection. @param atAddress The address of the mapping to be removed. @result A kern_return_t error code. */ #if !__LP64__ || defined(IOCONNECT_MAPMEMORY_10_6) kern_return_t IOConnectUnmapMemory( io_connect_t connect, uint32_t memoryType, task_port_t fromTask, vm_address_t atAddress ); #else kern_return_t IOConnectUnmapMemory( io_connect_t connect, uint32_t memoryType, task_port_t fromTask, mach_vm_address_t atAddress ); #endif /* !__LP64__ || defined(IOCONNECT_MAPMEMORY_10_6) */ /*! @function IOConnectUnmapMemory64 @abstract Remove a mapping made with IOConnectMapMemory64. @discussion This is a generic method to remove a mapping in the callers task. @param connect The connect handle created by IOServiceOpen. @param memoryType The memory type originally requested in IOConnectMapMemory. @param fromTask The task port for the task in which to remove the mapping. This may be different to the task which the opened the connection. @param atAddress The address of the mapping to be removed. @result A kern_return_t error code. */ kern_return_t IOConnectUnmapMemory64( io_connect_t connect, uint32_t memoryType, task_port_t fromTask, mach_vm_address_t atAddress ); /*! @function IOConnectSetCFProperties @abstract Set CF container based properties on a connection. @discussion This is a generic method to pass a CF container of properties to the connection. The properties are interpreted by the family and commonly represent configuration settings, but may be interpreted as anything. @param connect The connect handle created by IOServiceOpen. @param properties A CF container - commonly a CFDictionary but this is not enforced. The container should consist of objects which are understood by IOKit - these are currently : CFDictionary, CFArray, CFSet, CFString, CFData, CFNumber, CFBoolean, and are passed in the kernel as the corresponding OSDictionary etc. objects. @result A kern_return_t error code returned by the family. */ kern_return_t IOConnectSetCFProperties( io_connect_t connect, CFTypeRef properties ); /*! @function IOConnectSetCFProperty @abstract Set a CF container based property on a connection. @discussion This is a generic method to pass a CF property to the connection. The property is interpreted by the family and commonly represent configuration settings, but may be interpreted as anything. @param connect The connect handle created by IOServiceOpen. @param propertyName The name of the property as a CFString. @param property A CF container - should consist of objects which are understood by IOKit - these are currently : CFDictionary, CFArray, CFSet, CFString, CFData, CFNumber, CFBoolean, and are passed in the kernel as the corresponding OSDictionary etc. objects. @result A kern_return_t error code returned by the object. */ kern_return_t IOConnectSetCFProperty( io_connect_t connect, CFStringRef propertyName, CFTypeRef property ); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ // Combined LP64 & ILP32 Extended IOUserClient::externalMethod kern_return_t IOConnectCallMethod( mach_port_t connection, // In uint32_t selector, // In const uint64_t *input, // In uint32_t inputCnt, // In const void *inputStruct, // In size_t inputStructCnt, // In uint64_t *output, // Out uint32_t *outputCnt, // In/Out void *outputStruct, // Out size_t *outputStructCnt) // In/Out AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; kern_return_t IOConnectCallAsyncMethod( mach_port_t connection, // In uint32_t selector, // In mach_port_t wake_port, // In uint64_t *reference, // In uint32_t referenceCnt, // In const uint64_t *input, // In uint32_t inputCnt, // In const void *inputStruct, // In size_t inputStructCnt, // In uint64_t *output, // Out uint32_t *outputCnt, // In/Out void *outputStruct, // Out size_t *outputStructCnt) // In/Out AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; kern_return_t IOConnectCallStructMethod( mach_port_t connection, // In uint32_t selector, // In const void *inputStruct, // In size_t inputStructCnt, // In void *outputStruct, // Out size_t *outputStructCnt) // In/Out AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; kern_return_t IOConnectCallAsyncStructMethod( mach_port_t connection, // In uint32_t selector, // In mach_port_t wake_port, // In uint64_t *reference, // In uint32_t referenceCnt, // In const void *inputStruct, // In size_t inputStructCnt, // In void *outputStruct, // Out size_t *outputStructCnt) // In/Out AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; kern_return_t IOConnectCallScalarMethod( mach_port_t connection, // In uint32_t selector, // In const uint64_t *input, // In uint32_t inputCnt, // In uint64_t *output, // Out uint32_t *outputCnt) // In/Out AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; kern_return_t IOConnectCallAsyncScalarMethod( mach_port_t connection, // In uint32_t selector, // In mach_port_t wake_port, // In uint64_t *reference, // In uint32_t referenceCnt, // In const uint64_t *input, // In uint32_t inputCnt, // In uint64_t *output, // Out uint32_t *outputCnt) // In/Out AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ kern_return_t IOConnectTrap0(io_connect_t connect, uint32_t index ); kern_return_t IOConnectTrap1(io_connect_t connect, uint32_t index, uintptr_t p1 ); kern_return_t IOConnectTrap2(io_connect_t connect, uint32_t index, uintptr_t p1, uintptr_t p2); kern_return_t IOConnectTrap3(io_connect_t connect, uint32_t index, uintptr_t p1, uintptr_t p2, uintptr_t p3); kern_return_t IOConnectTrap4(io_connect_t connect, uint32_t index, uintptr_t p1, uintptr_t p2, uintptr_t p3, uintptr_t p4); kern_return_t IOConnectTrap5(io_connect_t connect, uint32_t index, uintptr_t p1, uintptr_t p2, uintptr_t p3, uintptr_t p4, uintptr_t p5); kern_return_t IOConnectTrap6(io_connect_t connect, uint32_t index, uintptr_t p1, uintptr_t p2, uintptr_t p3, uintptr_t p4, uintptr_t p5, uintptr_t p6); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /*! @function IOConnectAddClient @abstract Inform a connection of a second connection. @discussion This is a generic method to inform a family connection of a second connection, and is rarely used. @param connect The connect handle created by IOServiceOpen. @param client Another connect handle created by IOServiceOpen. @result A kern_return_t error code returned by the family. */ kern_return_t IOConnectAddClient( io_connect_t connect, io_connect_t client ); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* * IORegistry accessors */ /*! @function IORegistryGetRootEntry @abstract Return a handle to the registry root. @discussion This method provides an accessor to the root of the registry for the machine. The root may be passed to a registry iterator when iterating a plane, and contains properties that describe the available planes, and diagnostic information for IOKit. @param mainPort The main port obtained from IOMainPort(). Pass kIOMainPortDefault to look up the default main port. @result A handle to the IORegistryEntry root instance, to be released with IOObjectRelease by the caller, or MACH_PORT_NULL on failure. */ io_registry_entry_t IORegistryGetRootEntry( mach_port_t mainPort ); /*! @function IORegistryEntryFromPath @abstract Looks up a registry entry by path. @discussion This function parses paths to lookup registry entries. The path should begin with '<plane name>:' If there are characters remaining unparsed after an entry has been looked up, this is considered an invalid lookup. Paths are further documented in IORegistryEntry.h @param mainPort The main port obtained from IOMainPort(). Pass kIOMainPortDefault to look up the default main port. @param path A C-string path. @result A handle to the IORegistryEntry which was found with the path, to be released with IOObjectRelease by the caller, or MACH_PORT_NULL on failure. */ io_registry_entry_t IORegistryEntryFromPath( mach_port_t mainPort, const io_string_t path ); /*! @function IORegistryEntryFromPathCFString @abstract Looks up a registry entry by path. @discussion This function parses paths to lookup registry entries. The path should begin with '<plane name>:' If there are characters remaining unparsed after an entry has been looked up, this is considered an invalid lookup. Paths are further documented in IORegistryEntry.h @param mainPort The main port obtained from IOMainPort(). Pass kIOMainPortDefault to look up the default main port. @param path A CFString path. @result A handle to the IORegistryEntry which was found with the path, to be released with IOObjectRelease by the caller, or MACH_PORT_NULL on failure. */ io_registry_entry_t IORegistryEntryCopyFromPath( mach_port_t mainPort, CFStringRef path ) #if defined(__MAC_10_11) __OSX_AVAILABLE_STARTING(__MAC_10_11, __IPHONE_9_0) #endif ; // options for IORegistryCreateIterator(), IORegistryEntryCreateIterator, IORegistryEntrySearchCFProperty() enum { kIORegistryIterateRecursively = 0x00000001, kIORegistryIterateParents = 0x00000002 }; /*! @function IORegistryCreateIterator @abstract Create an iterator rooted at the registry root. @discussion This method creates an IORegistryIterator in the kernel that is set up with options to iterate children of the registry root entry, and to recurse automatically into entries as they are returned, or only when instructed with calls to IORegistryIteratorEnterEntry. The iterator object keeps track of entries that have been recursed into previously to avoid loops. @param mainPort The main port obtained from IOMainPort(). Pass kIOMainPortDefault to look up the default main port. @param plane The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane. @param options kIORegistryIterateRecursively may be set to recurse automatically into each entry as it is returned from IOIteratorNext calls on the registry iterator. @param iterator A created iterator handle, to be released by the caller when it has finished with it. @result A kern_return_t error code. */ kern_return_t IORegistryCreateIterator( mach_port_t mainPort, const io_name_t plane, IOOptionBits options, io_iterator_t * iterator ); /*! @function IORegistryEntryCreateIterator @abstract Create an iterator rooted at a given registry entry. @discussion This method creates an IORegistryIterator in the kernel that is set up with options to iterate children or parents of a root entry, and to recurse automatically into entries as they are returned, or only when instructed with calls to IORegistryIteratorEnterEntry. The iterator object keeps track of entries that have been recursed into previously to avoid loops. @param entry The root entry to begin the iteration at. @param plane The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane. @param options kIORegistryIterateRecursively may be set to recurse automatically into each entry as it is returned from IOIteratorNext calls on the registry iterator. kIORegistryIterateParents may be set to iterate the parents of each entry, by default the children are iterated. @param iterator A created iterator handle, to be released by the caller when it has finished with it. @result A kern_return_t error code. */ kern_return_t IORegistryEntryCreateIterator( io_registry_entry_t entry, const io_name_t plane, IOOptionBits options, io_iterator_t * iterator ); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* * IORegistryIterator, subclass of IOIterator */ /*! @function IORegistryIteratorEnterEntry @abstract Recurse into the current entry in the registry iteration. @discussion This method makes the current entry, ie. the last entry returned by IOIteratorNext, the root in a new level of recursion. @result A kern_return_t error code. */ kern_return_t IORegistryIteratorEnterEntry( io_iterator_t iterator ); /*! @function IORegistryIteratorExitEntry @abstract Exits a level of recursion, restoring the current entry. @discussion This method undoes an IORegistryIteratorEnterEntry, restoring the current entry. If there are no more levels of recursion to exit false is returned, otherwise true is returned. @result kIOReturnSuccess if a level of recursion was undone, kIOReturnNoDevice if no recursive levels are left in the iteration. */ kern_return_t IORegistryIteratorExitEntry( io_iterator_t iterator ); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* * IORegistryEntry, subclass of IOObject */ /*! @function IORegistryEntryGetName @abstract Returns a C-string name assigned to a registry entry. @discussion Registry entries can be named in a particular plane, or globally. This function returns the entry's global name. The global name defaults to the entry's meta class name if it has not been named. @param entry The registry entry handle whose name to look up. @param name The caller's buffer to receive the name. @result A kern_return_t error code. */ kern_return_t IORegistryEntryGetName( io_registry_entry_t entry, io_name_t name ); /*! @function IORegistryEntryGetNameInPlane @abstract Returns a C-string name assigned to a registry entry, in a specified plane. @discussion Registry entries can be named in a particular plane, or globally. This function returns the entry's name in the specified plane or global name if it has not been named in that plane. The global name defaults to the entry's meta class name if it has not been named. @param entry The registry entry handle whose name to look up. @param plane The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane. @param name The caller's buffer to receive the name. @result A kern_return_t error code. */ kern_return_t IORegistryEntryGetNameInPlane( io_registry_entry_t entry, const io_name_t plane, io_name_t name ); /*! @function IORegistryEntryGetLocationInPlane @abstract Returns a C-string location assigned to a registry entry, in a specified plane. @discussion Registry entries can given a location string in a particular plane, or globally. If the entry has had a location set in the specified plane that location string will be returned, otherwise the global location string is returned. If no global location string has been set, an error is returned. @param entry The registry entry handle whose name to look up. @param plane The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane. @param location The caller's buffer to receive the location string. @result A kern_return_t error code. */ kern_return_t IORegistryEntryGetLocationInPlane( io_registry_entry_t entry, const io_name_t plane, io_name_t location ); /*! @function IORegistryEntryGetPath @abstract Create a path for a registry entry. @discussion The path for a registry entry is copied to the caller's buffer. The path describes the entry's attachment in a particular plane, which must be specified. The path begins with the plane name followed by a colon, and then followed by '/' separated path components for each of the entries between the root and the registry entry. An alias may also exist for the entry, and will be returned if available. @param entry The registry entry handle whose path to look up. @param plane The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane. @param path A char buffer allocated by the caller. @result IORegistryEntryGetPath will fail if the entry is not attached in the plane, or if the buffer is not large enough to contain the path. */ kern_return_t IORegistryEntryGetPath( io_registry_entry_t entry, const io_name_t plane, io_string_t path ); /*! @function IORegistryEntryCopyPath @abstract Create a path for a registry entry. @discussion The path for a registry entry is returned as a CFString The path describes the entry's attachment in a particular plane, which must be specified. The path begins with the plane name followed by a colon, and then followed by '/' separated path components for each of the entries between the root and the registry entry. An alias may also exist for the entry, and will be returned if available. @param entry The registry entry handle whose path to look up. @param plane The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane. @result An instance of CFString on success, to be released by the caller. IORegistryEntryCopyPath will fail if the entry is not attached in the plane. */ CFStringRef IORegistryEntryCopyPath( io_registry_entry_t entry, const io_name_t plane) #if defined(__MAC_10_11) __OSX_AVAILABLE_STARTING(__MAC_10_11, __IPHONE_9_0) #endif ; /*! @function IORegistryEntryGetRegistryEntryID @abstract Returns an ID for the registry entry that is global to all tasks. @discussion The entry ID returned by IORegistryEntryGetRegistryEntryID can be used to identify a registry entry across all tasks. A registry entry may be looked up by its entryID by creating a matching dictionary with IORegistryEntryIDMatching() to be used with the IOKit matching functions. The ID is valid only until the machine reboots. @param entry The registry entry handle whose ID to look up. @param entryID The resulting ID. @result A kern_return_t error code. */ kern_return_t IORegistryEntryGetRegistryEntryID( io_registry_entry_t entry, uint64_t * entryID ); /*! @function IORegistryEntryCreateCFProperties @abstract Create a CF dictionary representation of a registry entry's property table. @discussion This function creates an instantaneous snapshot of a registry entry's property table, creating a CFDictionary analogue in the caller's task. Not every object available in the kernel is represented as a CF container; currently OSDictionary, OSArray, OSSet, OSSymbol, OSString, OSData, OSNumber, OSBoolean are created as their CF counterparts. @param entry The registry entry handle whose property table to copy. @param properties A CFDictionary is created and returned the caller on success. The caller should release with CFRelease. @param allocator The CF allocator to use when creating the CF containers. @param options No options are currently defined. @result A kern_return_t error code. */ kern_return_t IORegistryEntryCreateCFProperties( io_registry_entry_t entry, CFMutableDictionaryRef * properties, CFAllocatorRef allocator, IOOptionBits options ); /*! @function IORegistryEntryCreateCFProperty @abstract Create a CF representation of a registry entry's property. @discussion This function creates an instantaneous snapshot of a registry entry property, creating a CF container analogue in the caller's task. Not every object available in the kernel is represented as a CF container; currently OSDictionary, OSArray, OSSet, OSSymbol, OSString, OSData, OSNumber, OSBoolean are created as their CF counterparts. @param entry The registry entry handle whose property to copy. @param key A CFString specifying the property name. @param allocator The CF allocator to use when creating the CF container. @param options No options are currently defined. @result A CF container is created and returned the caller on success. The caller should release with CFRelease. */ CFTypeRef IORegistryEntryCreateCFProperty( io_registry_entry_t entry, CFStringRef key, CFAllocatorRef allocator, IOOptionBits options ); /*! @function IORegistryEntrySearchCFProperty @abstract Create a CF representation of a registry entry's property. @discussion This function creates an instantaneous snapshot of a registry entry property, creating a CF container analogue in the caller's task. Not every object available in the kernel is represented as a CF container; currently OSDictionary, OSArray, OSSet, OSSymbol, OSString, OSData, OSNumber, OSBoolean are created as their CF counterparts. This function will search for a property, starting first with specified registry entry's property table, then iterating recusively through either the parent registry entries or the child registry entries of this entry. Once the first occurrence is found, it will lookup and return the value of the property, using the same semantics as IORegistryEntryCreateCFProperty. The iteration keeps track of entries that have been recursed into previously to avoid loops. @param entry The registry entry at which to start the search. @param plane The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane. @param key A CFString specifying the property name. @param allocator The CF allocator to use when creating the CF container. @param options kIORegistryIterateRecursively may be set to recurse automatically into the registry hierarchy. Without this option, this method degenerates into the standard IORegistryEntryCreateCFProperty() call. kIORegistryIterateParents may be set to iterate the parents of the entry, in place of the children. @result A CF container is created and returned the caller on success. The caller should release with CFRelease. */ CFTypeRef IORegistryEntrySearchCFProperty( io_registry_entry_t entry, const io_name_t plane, CFStringRef key, CFAllocatorRef allocator, IOOptionBits options ) CF_RETURNS_RETAINED; /* @function IORegistryEntryGetProperty - deprecated, use IORegistryEntryCreateCFProperty */ kern_return_t IORegistryEntryGetProperty( io_registry_entry_t entry, const io_name_t propertyName, io_struct_inband_t buffer, uint32_t * size ); /*! @function IORegistryEntrySetCFProperties @abstract Set CF container based properties in a registry entry. @discussion This is a generic method to pass a CF container of properties to an object in the registry. Setting properties in a registry entry is not generally supported, it is more common to support IOConnectSetCFProperties for connection based property setting. The properties are interpreted by the object. @param entry The registry entry whose properties to set. @param properties A CF container - commonly a CFDictionary but this is not enforced. The container should consist of objects which are understood by IOKit - these are currently : CFDictionary, CFArray, CFSet, CFString, CFData, CFNumber, CFBoolean, and are passed in the kernel as the corresponding OSDictionary etc. objects. @result A kern_return_t error code returned by the object. */ kern_return_t IORegistryEntrySetCFProperties( io_registry_entry_t entry, CFTypeRef properties ); /*! @function IORegistryEntrySetCFProperty @abstract Set a CF container based property in a registry entry. @discussion This is a generic method to pass a CF container as a property to an object in the registry. Setting properties in a registry entry is not generally supported, it is more common to support IOConnectSetCFProperty for connection based property setting. The property is interpreted by the object. @param entry The registry entry whose property to set. @param propertyName The name of the property as a CFString. @param property A CF container - should consist of objects which are understood by IOKit - these are currently : CFDictionary, CFArray, CFSet, CFString, CFData, CFNumber, CFBoolean, and are passed in the kernel as the corresponding OSDictionary etc. objects. @result A kern_return_t error code returned by the object. */ kern_return_t IORegistryEntrySetCFProperty( io_registry_entry_t entry, CFStringRef propertyName, CFTypeRef property ); /*! @function IORegistryEntryGetChildIterator @abstract Returns an iterator over an registry entry's child entries in a plane. @discussion This method creates an iterator which will return each of a registry entry's child entries in a specified plane. @param entry The registry entry whose children to iterate over. @param plane The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane. @param iterator The created iterator over the children of the entry, on success. The iterator must be released when the iteration is finished. @result A kern_return_t error code. */ kern_return_t IORegistryEntryGetChildIterator( io_registry_entry_t entry, const io_name_t plane, io_iterator_t * iterator ); /*! @function IORegistryEntryGetChildEntry @abstract Returns the first child of a registry entry in a plane. @discussion This function will return the child which first attached to a registry entry in a plane. @param entry The registry entry whose child to look up. @param plane The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane. @param child The first child of the registry entry, on success. The child must be released by the caller. @result A kern_return_t error code. */ kern_return_t IORegistryEntryGetChildEntry( io_registry_entry_t entry, const io_name_t plane, io_registry_entry_t * child ); /*! @function IORegistryEntryGetParentIterator @abstract Returns an iterator over an registry entry's parent entries in a plane. @discussion This method creates an iterator which will return each of a registry entry's parent entries in a specified plane. @param entry The registry entry whose parents to iterate over. @param plane The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane. @param iterator The created iterator over the parents of the entry, on success. The iterator must be released when the iteration is finished. @result A kern_return_t error. */ kern_return_t IORegistryEntryGetParentIterator( io_registry_entry_t entry, const io_name_t plane, io_iterator_t * iterator ); /*! @function IORegistryEntryGetParentEntry @abstract Returns the first parent of a registry entry in a plane. @discussion This function will return the parent to which the registry entry was first attached in a plane. @param entry The registry entry whose parent to look up. @param plane The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane. @param parent The first parent of the registry entry, on success. The parent must be released by the caller. @result A kern_return_t error code. */ kern_return_t IORegistryEntryGetParentEntry( io_registry_entry_t entry, const io_name_t plane, io_registry_entry_t * parent ); /*! @function IORegistryEntryInPlane @abstract Determines if the registry entry is attached in a plane. @discussion This method determines if the entry is attached in a plane to any other entry. @param entry The registry entry. @param plane The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane. @result If the entry has a parent in the plane, true is returned, otherwise false is returned. */ boolean_t IORegistryEntryInPlane( io_registry_entry_t entry, const io_name_t plane ); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* * Matching dictionary creation helpers */ /*! @function IOServiceMatching @abstract Create a matching dictionary that specifies an IOService class match. @discussion A very common matching criteria for IOService is based on its class. IOServiceMatching will create a matching dictionary that specifies any IOService of a class, or its subclasses. The class is specified by C-string name. @param name The class name, as a const C-string. Class matching is successful on IOService's of this class or any subclass. @result The matching dictionary created, is returned on success, or zero on failure. The dictionary is commonly passed to IOServiceGetMatchingServices or IOServiceAddNotification which will consume a reference, otherwise it should be released with CFRelease by the caller. */ CFMutableDictionaryRef IOServiceMatching( const char * name ) CF_RETURNS_RETAINED; /*! @function IOServiceNameMatching @abstract Create a matching dictionary that specifies an IOService name match. @discussion A common matching criteria for IOService is based on its name. IOServiceNameMatching will create a matching dictionary that specifies an IOService with a given name. Some IOServices created from the device tree will perform name matching on the standard compatible, name, model properties. @param name The IOService name, as a const C-string. @result The matching dictionary created, is returned on success, or zero on failure. The dictionary is commonly passed to IOServiceGetMatchingServices or IOServiceAddNotification which will consume a reference, otherwise it should be released with CFRelease by the caller. */ CFMutableDictionaryRef IOServiceNameMatching( const char * name ) CF_RETURNS_RETAINED; /*! @function IOBSDNameMatching @abstract Create a matching dictionary that specifies an IOService match based on BSD device name. @discussion IOServices that represent BSD devices have an associated BSD name. This function creates a matching dictionary that will match IOService's with a given BSD name. @param mainPort The main port obtained from IOMainPort(). Pass kIOMainPortDefault to look up the default main port. @param options No options are currently defined. @param bsdName The BSD name, as a const char *. @result The matching dictionary created, is returned on success, or zero on failure. The dictionary is commonly passed to IOServiceGetMatchingServices or IOServiceAddNotification which will consume a reference, otherwise it should be released with CFRelease by the caller. */ CFMutableDictionaryRef IOBSDNameMatching( mach_port_t mainPort, uint32_t options, const char * bsdName ) CF_RETURNS_RETAINED; CFMutableDictionaryRef IOOpenFirmwarePathMatching( mach_port_t mainPort, uint32_t options, const char * path ) DEPRECATED_ATTRIBUTE; /*! @function IORegistryEntryIDMatching @abstract Create a matching dictionary that specifies an IOService match based on a registry entry ID. @discussion This function creates a matching dictionary that will match a registered, active IOService found with the given registry entry ID. The entry ID for a registry entry is returned by IORegistryEntryGetRegistryEntryID(). @param entryID The registry entry ID to be found. @result The matching dictionary created, is returned on success, or zero on failure. The dictionary is commonly passed to IOServiceGetMatchingServices or IOServiceAddNotification which will consume a reference, otherwise it should be released with CFRelease by the caller. */ CFMutableDictionaryRef IORegistryEntryIDMatching( uint64_t entryID ) CF_RETURNS_RETAINED; /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ kern_return_t IOServiceOFPathToBSDName(mach_port_t mainPort, const io_name_t openFirmwarePath, io_name_t bsdName) DEPRECATED_ATTRIBUTE; /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /*! @typedef IOAsyncCallback0 @abstract standard callback function for asynchronous I/O requests with no extra arguments beyond a refcon and result code. @param refcon The refcon passed into the original I/O request @param result The result of the I/O operation */ typedef void (*IOAsyncCallback0)(void *refcon, IOReturn result); /*! @typedef IOAsyncCallback1 @abstract standard callback function for asynchronous I/O requests with one extra argument beyond a refcon and result code. This is often a count of the number of bytes transferred @param refcon The refcon passed into the original I/O request @param result The result of the I/O operation @param arg0 Extra argument */ typedef void (*IOAsyncCallback1)(void *refcon, IOReturn result, void *arg0); /*! @typedef IOAsyncCallback2 @abstract standard callback function for asynchronous I/O requests with two extra arguments beyond a refcon and result code. @param refcon The refcon passed into the original I/O request @param result The result of the I/O operation @param arg0 Extra argument @param arg1 Extra argument */ typedef void (*IOAsyncCallback2)(void *refcon, IOReturn result, void *arg0, void *arg1); /*! @typedef IOAsyncCallback @abstract standard callback function for asynchronous I/O requests with lots of extra arguments beyond a refcon and result code. @param refcon The refcon passed into the original I/O request @param result The result of the I/O operation @param args Array of extra arguments @param numArgs Number of extra arguments */ typedef void (*IOAsyncCallback)(void *refcon, IOReturn result, void **args, uint32_t numArgs); /* Internal use */ kern_return_t OSGetNotificationFromMessage( mach_msg_header_t * msg, uint32_t index, uint32_t * type, uintptr_t * reference, void ** content, vm_size_t * size ); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* Internal use */ kern_return_t IOCatalogueSendData( mach_port_t mainPort, uint32_t flag, const char *buffer, uint32_t size ); kern_return_t IOCatalogueTerminate( mach_port_t mainPort, uint32_t flag, io_name_t description ); kern_return_t IOCatalogueGetData( mach_port_t mainPort, uint32_t flag, char **buffer, uint32_t *size ); kern_return_t IOCatalogueModuleLoaded( mach_port_t mainPort, io_name_t name ); /* Use IOCatalogueSendData(), with kIOCatalogResetDrivers, to replace catalogue * rather than emptying it. Doing so keeps instance counts down by uniquing * existing personalities. */ kern_return_t IOCatalogueReset( mach_port_t mainPort, uint32_t flag ); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ // obsolete API #if !defined(__LP64__) // for Power Mgt typedef struct IOObject IOObject; // for MacOS.app kern_return_t IORegistryDisposeEnumerator( io_enumerator_t enumerator ) DEPRECATED_ATTRIBUTE; kern_return_t IOMapMemory( io_connect_t connect, uint32_t memoryType, task_port_t intoTask, vm_address_t * atAddress, vm_size_t * ofSize, uint32_t flags ) DEPRECATED_ATTRIBUTE; // for CGS kern_return_t IOCompatibiltyNumber( mach_port_t connect, uint32_t * objectNumber ) DEPRECATED_ATTRIBUTE; // Traditional IOUserClient transport routines kern_return_t IOConnectMethodScalarIScalarO( io_connect_t connect, uint32_t index, IOItemCount scalarInputCount, IOItemCount scalarOutputCount, ... ) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5; kern_return_t IOConnectMethodScalarIStructureO( io_connect_t connect, uint32_t index, IOItemCount scalarInputCount, IOByteCount * structureSize, ... ) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5; kern_return_t IOConnectMethodScalarIStructureI( io_connect_t connect, uint32_t index, IOItemCount scalarInputCount, IOByteCount structureSize, ... ) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5; kern_return_t IOConnectMethodStructureIStructureO( io_connect_t connect, uint32_t index, IOItemCount structureInputSize, IOByteCount * structureOutputSize, void * inputStructure, void * ouputStructure ) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5; // Compatability with earlier Mig interface routines #if IOCONNECT_NO_32B_METHODS kern_return_t io_connect_map_memory( io_connect_t connect, uint32_t memoryType, task_port_t intoTask, vm_address_t *atAddress, vm_size_t *ofSize, IOOptionBits options) DEPRECATED_ATTRIBUTE; kern_return_t io_connect_unmap_memory( io_connect_t connect, uint32_t memoryType, task_port_t fromTask, vm_address_t atAddress) DEPRECATED_ATTRIBUTE; kern_return_t io_connect_method_scalarI_scalarO( mach_port_t connection, int selector, io_scalar_inband_t input, mach_msg_type_number_t inputCnt, io_scalar_inband_t output, mach_msg_type_number_t *outputCnt) DEPRECATED_ATTRIBUTE; kern_return_t io_connect_method_scalarI_structureO( mach_port_t connection, int selector, io_scalar_inband_t input, mach_msg_type_number_t inputCnt, io_struct_inband_t output, mach_msg_type_number_t *outputCnt) DEPRECATED_ATTRIBUTE; kern_return_t io_connect_method_scalarI_structureI( mach_port_t connection, int selector, io_scalar_inband_t input, mach_msg_type_number_t inputCnt, io_struct_inband_t inputStruct, mach_msg_type_number_t inputStructCnt) DEPRECATED_ATTRIBUTE; kern_return_t io_connect_method_structureI_structureO( mach_port_t connection, int selector, io_struct_inband_t input, mach_msg_type_number_t inputCnt, io_struct_inband_t output, mach_msg_type_number_t *outputCnt) DEPRECATED_ATTRIBUTE; kern_return_t io_async_method_scalarI_scalarO( mach_port_t connection, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, int selector, io_scalar_inband_t input, mach_msg_type_number_t inputCnt, io_scalar_inband_t output, mach_msg_type_number_t *outputCnt) DEPRECATED_ATTRIBUTE; kern_return_t io_async_method_scalarI_structureO( mach_port_t connection, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, int selector, io_scalar_inband_t input, mach_msg_type_number_t inputCnt, io_struct_inband_t output, mach_msg_type_number_t *outputCnt) DEPRECATED_ATTRIBUTE; kern_return_t io_async_method_scalarI_structureI( mach_port_t connection, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, int selector, io_scalar_inband_t input, mach_msg_type_number_t inputCnt, io_struct_inband_t inputStruct, mach_msg_type_number_t inputStructCnt) DEPRECATED_ATTRIBUTE; kern_return_t io_async_method_structureI_structureO( mach_port_t connection, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, int selector, io_struct_inband_t input, mach_msg_type_number_t inputCnt, io_struct_inband_t output, mach_msg_type_number_t *outputCnt) DEPRECATED_ATTRIBUTE; #endif // IOCONNECT_NO_32B_METHODS #endif /* defined(__LP64__) */ __END_DECLS #endif /* ! _IOKIT_IOKITLIB_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOCFPlugIn.h
/* * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOKIT_IOCFPLUGIN_H_ #define _IOKIT_IOCFPLUGIN_H_ /* IOCFPlugIn.h */ #include <sys/cdefs.h> __BEGIN_DECLS #include <CoreFoundation/CFPlugIn.h> #if COREFOUNDATION_CFPLUGINCOM_SEPARATE #include <CoreFoundation/CFPlugInCOM.h> #endif #include <IOKit/IOKitLib.h> /* C244E858-109C-11D4-91D4-0050E4C6426F */ #define kIOCFPlugInInterfaceID CFUUIDGetConstantUUIDWithBytes(NULL, \ 0xC2, 0x44, 0xE8, 0x58, 0x10, 0x9C, 0x11, 0xD4, \ 0x91, 0xD4, 0x00, 0x50, 0xE4, 0xC6, 0x42, 0x6F) #define IOCFPLUGINBASE \ UInt16 version; \ UInt16 revision; \ IOReturn (*Probe)(void *thisPointer, CFDictionaryRef propertyTable, \ io_service_t service, SInt32 * order); \ IOReturn (*Start)(void *thisPointer, CFDictionaryRef propertyTable, \ io_service_t service); \ IOReturn (*Stop)(void *thisPointer) typedef struct IOCFPlugInInterfaceStruct { IUNKNOWN_C_GUTS; IOCFPLUGINBASE; } IOCFPlugInInterface; kern_return_t IOCreatePlugInInterfaceForService(io_service_t service, CFUUIDRef pluginType, CFUUIDRef interfaceType, IOCFPlugInInterface *** theInterface, SInt32 * theScore); kern_return_t IODestroyPlugInInterface(IOCFPlugInInterface ** interface); __END_DECLS #endif /* !_IOKIT_IOCFPLUGIN_H_ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IODataQueueClient.h
/* * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOKITUSER_IODATAQUEUE_H #define _IOKITUSER_IODATAQUEUE_H #include <sys/cdefs.h> __BEGIN_DECLS #include <AvailabilityMacros.h> #include <libkern/OSTypes.h> #include <mach/port.h> #include <IOKit/IOReturn.h> #include <IOKit/IODataQueueShared.h> #include <stdint.h> /* uint32_t */ /*! * @function IODataQueueDataAvailable * @abstract Used to determine if more data is avilable on the queue. * @param dataQueue The IODataQueueMemory region mapped from the kenel. * @result Returns true if data is available and false if not. */ Boolean IODataQueueDataAvailable(IODataQueueMemory *dataQueue); /*! * @function IODataQueuePeek * @abstract Used to peek at the next entry on the queue. * @discussion This function can be used to look at the next entry which allows the entry to be received without having to copy it with IODataQueueDequeue. In order to do this, call IODataQueuePeek to get the entry. Then call IODataQueueDequeue with a NULL data pointer. That will cause the head to be moved to the next entry, but no memory to be copied. * @param dataQueue The IODataQueueMemory region mapped from the kernel. * @result Returns a pointer to the next IODataQueueEntry if one is available. Zero is returned if the queue is empty. */ IODataQueueEntry *IODataQueuePeek(IODataQueueMemory *dataQueue); /*! * @function IODataQueueDequeue * @abstract Dequeues the next available entry on the queue and copies it into the given data pointer. * @discussion This function will dequeue the next available entry on the queue. If a data pointer is provided, it will copy the data into the memory region if there is enough space available as specified in the dataSize parameter. If no data pointer is provided, it will simply move the head value past the current entry. * @param dataQueue The IODataQueueMemory region mapped from the kernel. * @param data A pointer to the data memory region in which to copy the next entry data on the queue. If this parameter is 0 (NULL), it will simply move to the next entry. * @param dataSize A pointer to the size of the data parameter. On return, this contains the size of the actual entry data - even if the original size was not large enough. * @result Returns kIOReturnSuccess on success. Other return values possible are: kIOReturnUnderrun - queue is empty, kIOReturnBadArgument - no dataQueue or no dataSize, kIOReturnNoSpace - dataSize is too small for entry. */ IOReturn IODataQueueDequeue(IODataQueueMemory *dataQueue, void *data, uint32_t *dataSize); /*! * @function IODataQueueWaitForAvailableData * @abstract Wait for an incoming dataAvailable message on the given notifyPort. * @discussion This method will simply wait for an incoming message on the given notifyPort. Once it is received, the return from mach_msg() is returned. * @param dataQueue The IODataQueueMemory region mapped from the kernel. * @param notificationPort Mach port on which to listen for incoming messages. * @result Returns kIOReturnSuccess on success. Returns kIOReturnBadArgument if either dataQueue is 0 (NULL) or notiryPort is MACH_PORT_NULL. Returns the result of the mach_msg() listen call on the given port. */ IOReturn IODataQueueWaitForAvailableData(IODataQueueMemory *dataQueue, mach_port_t notificationPort); /*! * @function IODataQueueAllocateNotificationPort * @abstract Allocates and returns a new mach port able to receive data available notifications from an IODataQueue. * @discussion This port is intended to be passed down into the kernel and into an IODataQueue to allow it to send the appropriate notification. The returned mach port is allocated with a queue limit of one message. This allows only one mach message to be queued up at a time. The IODataQueue code is written with the restriction in mind and will only queue up a message if no messages alread have been sent. * @result Returns a newly allocated mach port on success. On failure, it returns MACH_PORT_NULL. */ mach_port_t IODataQueueAllocateNotificationPort(); /*! * @function IODataQueueEnqueue * @abstract Enqueues a new entry on the queue. * @discussion This method adds a new data entry of dataSize to the queue. It sets the size parameter of the entry pointed to by the tail value and copies the memory pointed to by the data parameter in place in the queue. Once that is done, it moves the tail to the next available location. When attempting to add a new entry towards the end of the queue and there isn't enough space at the end, it wraps back to the beginning.<br> If the queue is empty when a new entry is added, the port specified in IODataQueueSetNotificationPort will be used to send a message to the client process that data is now available. <br> <b>Please note that using this method without mapped memory create from an IOSharedDataQueue will result in undefined behavior. </b> * @param dataQueue The IODataQueueMemory region mapped from the kernel created from an IOSharedDataQueue. * @param data Pointer to the data to be added to the queue. * @param dataSize Size of the data pointed to by data. * @result Returns kIOReturnSuccess on success. Other return values possible are: kIOReturnOverrun - queue is full. */ IOReturn IODataQueueEnqueue(IODataQueueMemory *dataQueue, void *data, uint32_t dataSize) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; /*! * @function IODataQueueSetNotificationPort * @abstract Creates a simple mach message targeting the mach port specified in port. * @discussion This message is sent when data is added to an empty queue. It is to notify another user process that new data has become available. <b>Please note that using this method without mapped memory create from an IOSharedDataQueue will result in undefined behavior. </b> * @param dataQueue The IODataQueueMemory region mapped from the kernel created from an IOSharedDataQueue. * @param notifyPort The mach port to target with the notification message. * @result Returns kIOReturnSuccess on success. Returns kIOReturnBadArgument if either dataQueue is 0 (NULL). */ IOReturn IODataQueueSetNotificationPort(IODataQueueMemory *dataQueue, mach_port_t notifyPort) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; __END_DECLS #endif /* _IOKITUSER_IODATAQUEUE_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h
/* * Copyright (c) 1998-2012 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ #ifndef __IOKIT_IOTYPES_H #define __IOKIT_IOTYPES_H #ifndef IOKIT #define IOKIT 1 #endif /* !IOKIT */ #include <sys/cdefs.h> #include <mach/message.h> #include <mach/vm_types.h> #include <IOKit/IOReturn.h> #ifdef __cplusplus extern "C" { #endif #ifndef NULL #if defined (__cplusplus) #if __cplusplus >= 201103L && (defined(__arm__) || defined(__arm64__)) #define NULL nullptr #else #define NULL 0 #endif #else #define NULL ((void *)0) #endif #endif /* * Simple data types. */ #include <stdbool.h> #include <libkern/OSTypes.h> typedef UInt32 IOOptionBits; typedef SInt32 IOFixed; typedef UInt32 IOVersion; typedef UInt32 IOItemCount; typedef UInt32 IOCacheMode; typedef UInt32 IOByteCount32; typedef UInt64 IOByteCount64; typedef UInt32 IOPhysicalAddress32; typedef UInt64 IOPhysicalAddress64; typedef UInt32 IOPhysicalLength32; typedef UInt64 IOPhysicalLength64; #if !defined(__arm__) && !defined(__i386__) typedef mach_vm_address_t IOVirtualAddress __kernel_ptr_semantics; #else typedef vm_address_t IOVirtualAddress __kernel_ptr_semantics; #endif #if !defined(__arm__) && !defined(__i386__) && !(defined(__x86_64__) && !defined(KERNEL)) && !(defined(__arm64__) && !defined(__LP64__)) typedef IOByteCount64 IOByteCount; #define PRIIOByteCount PRIu64 #else typedef IOByteCount32 IOByteCount; #define PRIIOByteCount PRIu32 #endif typedef IOVirtualAddress IOLogicalAddress; #if !defined(__arm__) && !defined(__i386__) && !(defined(__x86_64__) && !defined(KERNEL)) typedef IOPhysicalAddress64 IOPhysicalAddress; typedef IOPhysicalLength64 IOPhysicalLength; #define IOPhysical32( hi, lo ) ((UInt64) lo + ((UInt64)(hi) << 32)) #define IOPhysSize 64 #else typedef IOPhysicalAddress32 IOPhysicalAddress; typedef IOPhysicalLength32 IOPhysicalLength; #define IOPhysical32( hi, lo ) (lo) #define IOPhysSize 32 #endif typedef struct{ IOPhysicalAddress address; IOByteCount length; } IOPhysicalRange; typedef struct{ IOVirtualAddress address; IOByteCount length; } IOVirtualRange; #if !defined(__arm__) && !defined(__i386__) typedef IOVirtualRange IOAddressRange; #else typedef struct{ mach_vm_address_t address; mach_vm_size_t length; } IOAddressRange; #endif /* * Map between #defined or enum'd constants and text description. */ typedef struct { int value; const char *name; } IONamedValue; /* * Memory alignment -- specified as a power of two. */ typedef unsigned int IOAlignment; #define IO_NULL_VM_TASK ((vm_task_t)0) /* * Pull in machine specific stuff. */ //#include <IOKit/machine/IOTypes.h> #ifndef MACH_KERNEL #ifndef __IOKIT_PORTS_DEFINED__ #define __IOKIT_PORTS_DEFINED__ typedef mach_port_t io_object_t; #endif /* __IOKIT_PORTS_DEFINED__ */ #include <device/device_types.h> typedef io_object_t io_connect_t; typedef io_object_t io_enumerator_t; typedef io_object_t io_ident_t; typedef io_object_t io_iterator_t; typedef io_object_t io_registry_entry_t; typedef io_object_t io_service_t; typedef io_object_t uext_object_t; #define IO_OBJECT_NULL ((io_object_t) 0) #endif /* MACH_KERNEL */ #include <IOKit/IOMapTypes.h> /*! @enum Scale Factors * @discussion Used when a scale_factor parameter is required to define a unit of time. * @constant kNanosecondScale Scale factor for nanosecond based times. * @constant kMicrosecondScale Scale factor for microsecond based times. * @constant kMillisecondScale Scale factor for millisecond based times. * @constant kTickScale Scale factor for the standard (100Hz) tick. * @constant kSecondScale Scale factor for second based times. */ enum { kNanosecondScale = 1, kMicrosecondScale = 1000, kMillisecondScale = 1000 * 1000, kSecondScale = 1000 * 1000 * 1000, kTickScale = (kSecondScale / 100) }; enum { kIOConnectMethodVarOutputSize = -3 }; /* compatibility types */ typedef unsigned int IODeviceNumber; #ifdef __cplusplus } #endif enum { kIOMaxBusStall40usec = 40000, kIOMaxBusStall30usec = 30000, kIOMaxBusStall25usec = 25000, kIOMaxBusStall20usec = 20000, kIOMaxBusStall10usec = 10000, kIOMaxBusStall5usec = 5000, kIOMaxBusStallNone = 0, }; #endif /* ! __IOKIT_IOTYPES_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOCFURLAccess.h
/* * Copyright (c) 2008 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef __IOKIT_IOCFURLACCESS_H #define __IOKIT_IOCFURLACCESS_H #include <CoreFoundation/CoreFoundation.h> CFTypeRef IOURLCreatePropertyFromResource(CFAllocatorRef alloc, CFURLRef url, CFStringRef property, SInt32 *errorCode); Boolean IOURLCreateDataAndPropertiesFromResource(CFAllocatorRef alloc, CFURLRef url, CFDataRef *resourceData, CFDictionaryRef *properties, CFArrayRef desiredProperties, SInt32 *errorCode); Boolean IOURLWriteDataAndPropertiesToResource(CFURLRef url, CFDataRef dataToWrite, CFDictionaryRef propertiesToWrite, int32_t *errorCode); #ifdef HAVE_CFURLACCESS #define kIOURLFileExists kCFURLFileExists #define kIOURLFileDirectoryContents kCFURLFileDirectoryContents #define kIOURLFileLength kCFURLFileLength #define kIOURLFileLastModificationTime kCFURLFileLastModificationTime #define kIOURLFilePOSIXMode kCFURLFilePOSIXMode #define kIOURLFileOwnerID kCFURLFileOwnerID /* Common error codes; this list is expected to grow */ typedef CFURLError IOURLError; enum { kIOURLUnknownError = kCFURLUnknownError, kIOURLUnknownSchemeError = kCFURLUnknownSchemeError, kIOURLResourceNotFoundError = kCFURLResourceNotFoundError, kIOURLResourceAccessViolationError = kCFURLResourceAccessViolationError, kIOURLRemoteHostUnavailableError = kCFURLRemoteHostUnavailableError, kIOURLImproperArgumentsError = kCFURLImproperArgumentsError, kIOURLUnknownPropertyKeyError = kCFURLUnknownPropertyKeyError, kIOURLPropertyKeyUnavailableError = kCFURLPropertyKeyUnavailableError, kIOURLTimeoutError = kCFURLTimeoutError }; #else /* !HAVE_CFURLACCESS */ #define kIOURLFileExists CFSTR("kIOURLFileExists") #define kIOURLFileDirectoryContents CFSTR("kIOURLFileDirectoryContents") #define kIOURLFileLength CFSTR("kIOURLFileLength") #define kIOURLFileLastModificationTime CFSTR("kIOURLFileLastModificationTime") #define kIOURLFilePOSIXMode CFSTR("kIOURLFilePOSIXMode") #define kIOURLFileOwnerID CFSTR("kIOURLFileOwnerID") /* Common error codes; this list is expected to grow */ typedef enum { kIOURLUnknownError = -10, kIOURLUnknownSchemeError = -11, kIOURLResourceNotFoundError = -12, kIOURLResourceAccessViolationError = -13, kIOURLRemoteHostUnavailableError = -14, kIOURLImproperArgumentsError = -15, kIOURLUnknownPropertyKeyError = -16, kIOURLPropertyKeyUnavailableError = -17, kIOURLTimeoutError = -18 } IOURLError; #endif /* !HAVE_CFURLACCESS */ #endif /* __IOKIT_IOCFURLACCESS_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOCFSerialize.h
/* * Copyright (c) 1999-2000 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /* * HISTORY * */ /* IOCFSerialize serializes CFObjects to a format suitable for passing * to the kernel. */ #ifndef __IOKIT_IOCFSERIALIZE_H #define __IOKIT_IOCFSERIALIZE_H #include <CoreFoundation/CFBase.h> #include <CoreFoundation/CFData.h> #if defined(__cplusplus) extern "C" { #endif enum { kIOCFSerializeToBinary = 0x00000001 }; CF_RETURNS_RETAINED CFDataRef IOCFSerialize( CFTypeRef object, CFOptionFlags options ); #if defined(__cplusplus) } #endif #endif /* __IOKIT_IOCFSERIALIZE_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOUserServer.h
/* * Copyright (c) 2019 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ #ifndef _IOUSERSERVER_H #define _IOUSERSERVER_H #include <IOKit/IORPC.h> #define kIOUserClassKey "IOUserClass" #define kIOUserServerClassKey "IOUserServer" #define kIOUserServerNameKey "IOUserServerName" #define kIOUserServerTagKey "IOUserServerTag" // the expected cdhash value of the userspace driver executable #define kIOUserServerCDHashKey "IOUserServerCDHash" #if DRIVERKIT_PRIVATE enum{ kIOKitUserServerClientType = 0x99000003, }; enum{ kIOUserServerMethodRegisterClass = 0x0001000, kIOUserServerMethodStart = 0x0001001, kIOUserServerMethodRegister = 0x0001002, }; /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #define OSObject_Instantiate_ID 0x0000000100000001ULL enum { kOSObjectRPCRemote = 0x00000001, kOSObjectRPCKernel = 0x00000002, }; struct OSObject_Instantiate_Msg_Content { IORPCMessage __hdr; OSObjectRef __object; }; struct OSObject_Instantiate_Rpl_Content { IORPCMessage __hdr; kern_return_t __result; uint32_t __pad; uint64_t flags; char classname[128]; uint64_t methods[0]; }; #pragma pack(4) struct OSObject_Instantiate_Msg { IORPCMessageMach mach; mach_msg_port_descriptor_t __object__descriptor; OSObject_Instantiate_Msg_Content content; }; struct OSObject_Instantiate_Rpl { IORPCMessageMach mach; OSObject_Instantiate_Rpl_Content content; }; #pragma pack() typedef uint64_t IOTrapMessageBuffer[256]; #endif /* DRIVERKIT_PRIVATE */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #endif /* _IOUSERSERVER_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOBSD.h
/* * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ #ifndef _IOBSD_H #define _IOBSD_H /* * bsd-related registry properties */ #define kIOBSDKey "IOBSD" // (BSD subsystem resource) #define kIOBSDNameKey "BSD Name" // (an OSString) #define kIOBSDNamesKey "BSD Names" // (an OSDictionary of OSString's, for links) #define kIOBSDMajorKey "BSD Major" // (an OSNumber) #define kIOBSDMinorKey "BSD Minor" // (an OSNumber) #define kIOBSDUnitKey "BSD Unit" // (an OSNumber) #endif /* !_IOBSD_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOCFBundle.h
/* * Copyright (c) 2008 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef __IOKIT_IOCFBUNDLE_H #define __IOKIT_IOCFBUNDLE_H #include <CoreFoundation/CoreFoundation.h> #define kIOBundleInfoDictionaryVersionKey CFSTR("CFBundleInfoDictionaryVersion") #define kIOBundleExecutableKey CFSTR("CFBundleExecutable") #define kIOBundleIdentifierKey CFSTR("CFBundleIdentifier") #define kIOBundleVersionKey CFSTR("CFBundleVersion") #define kIOBundleDevelopmentRegionKey CFSTR("CFBundleDevelopmentRegion") #define kIOBundleNameKey CFSTR("CFBundleName") #endif /* __IOKIT_IOCFBUNDLE_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IORPC.h
/* * Copyright (c) 2018 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ #ifndef _IORPC_H #define _IORPC_H #include <stdint.h> #include <mach/message.h> typedef uint64_t OSObjectRef; enum { kIORPCVersion190615 = (mach_msg_id_t) 0x4da2b68c, kIORPCVersion190615Reply = (mach_msg_id_t) 0x4da2b68d, #if DRIVERKIT_PRIVATE kIORPCVersion190501 = (mach_msg_id_t) 0xfe316a7a, kIORPCVersion190501Reply = (mach_msg_id_t) 0xfe316a7b, kIORPCVersionCurrent = kIORPCVersion190615, kIORPCVersionCurrentReply = kIORPCVersion190615Reply #endif /* DRIVERKIT_PRIVATE */ }; enum{ kIORPCMessageRemote = 0x00000001, kIORPCMessageLocalHost = 0x00000002, kIORPCMessageKernel = 0x00000004, kIORPCMessageOneway = 0x00000008, kIORPCMessageObjectRefs = 0x00000010, kIORPCMessageOnqueue = 0x00000020, kIORPCMessageError = 0x00000040, kIORPCMessageSimpleReply = 0x00000080, }; enum{ kIORPCMessageIDKernel = (1ULL << 63), }; struct IORPCMessageMach { mach_msg_header_t msgh; mach_msg_body_t msgh_body; mach_msg_port_descriptor_t objects[0]; }; typedef struct IORPCMessageMach IORPCMessageMach; struct IORPCMessage { uint64_t msgid; uint64_t flags; uint64_t objectRefs; OSObjectRef objects[0]; }; typedef struct IORPCMessage IORPCMessage; #if defined(__cplusplus) extern "C" #else extern #endif IORPCMessage * IORPCMessageFromMach(IORPCMessageMach * msg, bool reply); struct IORPCMessageErrorReturnContent { IORPCMessage hdr; kern_return_t result; uint32_t pad; }; typedef struct IORPCMessageErrorReturnContent IORPCMessageErrorReturnContent; #pragma pack(4) struct IORPCMessageErrorReturn { IORPCMessageMach mach; IORPCMessageErrorReturnContent content; }; #pragma pack() #if defined(__cplusplus) class OSMetaClassBase; struct IORPC; typedef kern_return_t (*OSDispatchMethod)(OSMetaClassBase * self, const IORPC rpc); #endif struct IORPC { IORPCMessageMach * message; IORPCMessageMach * reply; uint32_t sendSize; uint32_t replySize; }; typedef struct IORPC IORPC; enum { kOSClassCanRemote = 0x00000001, }; struct OSClassDescription { uint32_t descriptionSize; char name[96]; char superName[96]; uint32_t methodOptionsSize; uint32_t methodOptionsOffset; uint32_t metaMethodOptionsSize; uint32_t metaMethodOptionsOffset; uint32_t queueNamesSize; uint32_t queueNamesOffset; uint32_t methodNamesSize; uint32_t methodNamesOffset; uint32_t metaMethodNamesSize; uint32_t metaMethodNamesOffset; uint64_t flags; uint64_t resv1[8]; uint64_t methodOptions[0]; uint64_t metaMethodOptions[0]; char dispatchNames[0]; char methodNames[0]; char metaMethodNames[0]; }; #endif /* _IORPC_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOReturn.h
/* * Copyright (c) 1998-2002 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ /* * HISTORY */ /* * Core IOReturn values. Others may be family defined. */ #ifndef __IOKIT_IORETURN_H #define __IOKIT_IORETURN_H #ifdef __cplusplus extern "C" { #endif #include <mach/error.h> typedef kern_return_t IOReturn; #ifndef sys_iokit #define sys_iokit err_system(0x38) #endif /* sys_iokit */ #define sub_iokit_common err_sub(0) #define sub_iokit_usb err_sub(1) #define sub_iokit_firewire err_sub(2) #define sub_iokit_block_storage err_sub(4) #define sub_iokit_graphics err_sub(5) #define sub_iokit_networking err_sub(6) #define sub_iokit_bluetooth err_sub(8) #define sub_iokit_pmu err_sub(9) #define sub_iokit_acpi err_sub(10) #define sub_iokit_smbus err_sub(11) #define sub_iokit_ahci err_sub(12) #define sub_iokit_powermanagement err_sub(13) #define sub_iokit_hidsystem err_sub(14) #define sub_iokit_scsi err_sub(16) #define sub_iokit_usbaudio err_sub(17) #define sub_iokit_wirelesscharging err_sub(18) //#define sub_iokit_pccard err_sub(21) #define sub_iokit_thunderbolt err_sub(29) #define sub_iokit_graphics_acceleration err_sub(30) #define sub_iokit_keystore err_sub(31) #define sub_iokit_apfs err_sub(33) #define sub_iokit_acpiec err_sub(34) #define sub_iokit_timesync_avb err_sub(35) #define sub_iokit_platform err_sub(0x2A) #define sub_iokit_audio_video err_sub(0x45) #define sub_iokit_cec err_sub(0x46) #define sub_iokit_baseband err_sub(0x80) #define sub_iokit_HDA err_sub(0xFE) #define sub_iokit_hsic err_sub(0x147) #define sub_iokit_sdio err_sub(0x174) #define sub_iokit_wlan err_sub(0x208) #define sub_iokit_appleembeddedsleepwakehandler err_sub(0x209) #define sub_iokit_appleppm err_sub(0x20A) #define sub_iokit_vendor_specific err_sub(-2) #define sub_iokit_reserved err_sub(-1) #define iokit_common_err(return ) (sys_iokit|sub_iokit_common|return) #define iokit_family_err(sub, return ) (sys_iokit|sub|return) #define iokit_vendor_specific_err(return ) (sys_iokit|sub_iokit_vendor_specific|return) #define kIOReturnSuccess KERN_SUCCESS // OK #define kIOReturnError iokit_common_err(0x2bc) // general error #define kIOReturnNoMemory iokit_common_err(0x2bd) // can't allocate memory #define kIOReturnNoResources iokit_common_err(0x2be) // resource shortage #define kIOReturnIPCError iokit_common_err(0x2bf) // error during IPC #define kIOReturnNoDevice iokit_common_err(0x2c0) // no such device #define kIOReturnNotPrivileged iokit_common_err(0x2c1) // privilege violation #define kIOReturnBadArgument iokit_common_err(0x2c2) // invalid argument #define kIOReturnLockedRead iokit_common_err(0x2c3) // device read locked #define kIOReturnLockedWrite iokit_common_err(0x2c4) // device write locked #define kIOReturnExclusiveAccess iokit_common_err(0x2c5) // exclusive access and // device already open #define kIOReturnBadMessageID iokit_common_err(0x2c6) // sent/received messages // had different msg_id #define kIOReturnUnsupported iokit_common_err(0x2c7) // unsupported function #define kIOReturnVMError iokit_common_err(0x2c8) // misc. VM failure #define kIOReturnInternalError iokit_common_err(0x2c9) // internal error #define kIOReturnIOError iokit_common_err(0x2ca) // General I/O error //#define kIOReturn???Error iokit_common_err(0x2cb) // ??? #define kIOReturnCannotLock iokit_common_err(0x2cc) // can't acquire lock #define kIOReturnNotOpen iokit_common_err(0x2cd) // device not open #define kIOReturnNotReadable iokit_common_err(0x2ce) // read not supported #define kIOReturnNotWritable iokit_common_err(0x2cf) // write not supported #define kIOReturnNotAligned iokit_common_err(0x2d0) // alignment error #define kIOReturnBadMedia iokit_common_err(0x2d1) // Media Error #define kIOReturnStillOpen iokit_common_err(0x2d2) // device(s) still open #define kIOReturnRLDError iokit_common_err(0x2d3) // rld failure #define kIOReturnDMAError iokit_common_err(0x2d4) // DMA failure #define kIOReturnBusy iokit_common_err(0x2d5) // Device Busy #define kIOReturnTimeout iokit_common_err(0x2d6) // I/O Timeout #define kIOReturnOffline iokit_common_err(0x2d7) // device offline #define kIOReturnNotReady iokit_common_err(0x2d8) // not ready #define kIOReturnNotAttached iokit_common_err(0x2d9) // device not attached #define kIOReturnNoChannels iokit_common_err(0x2da) // no DMA channels left #define kIOReturnNoSpace iokit_common_err(0x2db) // no space for data //#define kIOReturn???Error iokit_common_err(0x2dc) // ??? #define kIOReturnPortExists iokit_common_err(0x2dd) // port already exists #define kIOReturnCannotWire iokit_common_err(0x2de) // can't wire down // physical memory #define kIOReturnNoInterrupt iokit_common_err(0x2df) // no interrupt attached #define kIOReturnNoFrames iokit_common_err(0x2e0) // no DMA frames enqueued #define kIOReturnMessageTooLarge iokit_common_err(0x2e1) // oversized msg received // on interrupt port #define kIOReturnNotPermitted iokit_common_err(0x2e2) // not permitted #define kIOReturnNoPower iokit_common_err(0x2e3) // no power to device #define kIOReturnNoMedia iokit_common_err(0x2e4) // media not present #define kIOReturnUnformattedMedia iokit_common_err(0x2e5)// media not formatted #define kIOReturnUnsupportedMode iokit_common_err(0x2e6) // no such mode #define kIOReturnUnderrun iokit_common_err(0x2e7) // data underrun #define kIOReturnOverrun iokit_common_err(0x2e8) // data overrun #define kIOReturnDeviceError iokit_common_err(0x2e9) // the device is not working properly! #define kIOReturnNoCompletion iokit_common_err(0x2ea) // a completion routine is required #define kIOReturnAborted iokit_common_err(0x2eb) // operation aborted #define kIOReturnNoBandwidth iokit_common_err(0x2ec) // bus bandwidth would be exceeded #define kIOReturnNotResponding iokit_common_err(0x2ed) // device not responding #define kIOReturnIsoTooOld iokit_common_err(0x2ee) // isochronous I/O request for distant past! #define kIOReturnIsoTooNew iokit_common_err(0x2ef) // isochronous I/O request for distant future #define kIOReturnNotFound iokit_common_err(0x2f0) // data was not found #define kIOReturnInvalid iokit_common_err(0x1) // should never be seen #ifdef __cplusplus } #endif #endif /* ! __IOKIT_IORETURN_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/IOMessage.h
/* * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ #ifndef __IOKIT_IOMESSAGE_H #define __IOKIT_IOMESSAGE_H #include <IOKit/IOReturn.h> #include <IOKit/IOTypes.h> /*! * @header IOMessage.h * * Defines message type constants for several IOKit messaging API's. * */ typedef UInt32 IOMessage; #define iokit_common_msg(message) (UInt32)(sys_iokit|sub_iokit_common|message) #define iokit_family_msg(sub, message) (UInt32)(sys_iokit|sub|message) /*! * @defined iokit_vendor_specific_msg * @discussion iokit_vendor_specific_msg passes messages in the sub_iokit_vendor_specific * subsystem. It can be used to generate messages that are used for private * communication between vendor specific code with the IOService::message() etc. APIs. */ #define iokit_vendor_specific_msg(message) (UInt32)(sys_iokit|sub_iokit_vendor_specific|message) #define kIOMessageServiceIsTerminated iokit_common_msg(0x010) #define kIOMessageServiceIsSuspended iokit_common_msg(0x020) #define kIOMessageServiceIsResumed iokit_common_msg(0x030) #define kIOMessageServiceIsRequestingClose iokit_common_msg(0x100) #define kIOMessageServiceIsAttemptingOpen iokit_common_msg(0x101) #define kIOMessageServiceWasClosed iokit_common_msg(0x110) #define kIOMessageServiceBusyStateChange iokit_common_msg(0x120) #define kIOMessageConsoleSecurityChange iokit_common_msg(0x128) #define kIOMessageServicePropertyChange iokit_common_msg(0x130) #define kIOMessageCopyClientID iokit_common_msg(0x330) #define kIOMessageSystemCapabilityChange iokit_common_msg(0x340) #define kIOMessageDeviceSignaledWakeup iokit_common_msg(0x350) /*! * @defined kIOMessageDeviceWillPowerOff * @discussion Indicates the device is about to move to a lower power state. * Sent to IOKit interest notification clients of type <code>kIOAppPowerStateInterest</code> * and <code>kIOGeneralInterest</code>. */ #define kIOMessageDeviceWillPowerOff iokit_common_msg(0x210) /*! * @defined kIOMessageDeviceHasPoweredOn * @discussion Indicates the device has just moved to a higher power state. * Sent to IOKit interest notification clients of type <code>kIOAppPowerStateInterest</code> * and <code>kIOGeneralInterest</code>. */ #define kIOMessageDeviceHasPoweredOn iokit_common_msg(0x230) /*! @group In-kernel system shutdown and restart notifications */ /*! * @defined kIOMessageSystemWillPowerOff * @discussion Indicates an imminent system shutdown. Recipients have a limited * amount of time to respond, otherwise the system will timeout and * shutdown even without a response. * Delivered to in-kernel IOKit drivers via <code>IOService::systemWillShutdown()</code>, * and to clients of <code>registerPrioritySleepWakeInterest()</code>. * Never delivered to user space notification clients. */ #define kIOMessageSystemWillPowerOff iokit_common_msg(0x250) /*! * @defined kIOMessageSystemWillRestart * @discussion Indicates an imminent system restart. Recipients have a limited * amount of time to respond, otherwise the system will timeout and * restart even without a response. * Delivered to in-kernel IOKit drivers via <code>IOService::systemWillShutdown()</code>, * and to clients of <code>registerPrioritySleepWakeInterest()</code>. * Never delivered to user space notification clients. */ #define kIOMessageSystemWillRestart iokit_common_msg(0x310) /*! * @defined kIOMessageSystemPagingOff * @discussion Indicates an imminent system shutdown, paging device now unavailable. * Recipients have a limited amount of time to respond, otherwise the * system will timeout and shutdown even without a response. * Delivered to clients of <code>registerPrioritySleepWakeInterest()</code>. * Never delivered to user space notification clients. */ #define kIOMessageSystemPagingOff iokit_common_msg(0x255) /*! @group System sleep and wake notifications */ /*! * @defined kIOMessageCanSystemSleep * @discussion Announces/Requests permission to proceed to system sleep. * Delivered to in-kernel IOKit drivers via <code>kIOGeneralInterest</code> * and <code>kIOPriorityPowerStateInterest</code>. * Delivered to user clients of <code>IORegisterForSystemPower</code>. */ #define kIOMessageCanSystemSleep iokit_common_msg(0x270) /*! * @defined kIOMessageSystemWillNotSleep * @discussion Announces that the system has retracted a previous attempt to sleep; * it follows <code>kIOMessageCanSystemSleep</code>. * Delivered to in-kernel IOKit drivers via <code>kIOGeneralInterest</code> * and <code>kIOPriorityPowerStateInterest</code>. * Delivered to user clients of <code>IORegisterForSystemPower</code>. */ #define kIOMessageSystemWillNotSleep iokit_common_msg(0x290) /*! * @defined kIOMessageSystemWillSleep * @discussion Announces that sleep is beginning. * Delivered to in-kernel IOKit drivers via <code>kIOGeneralInterest</code> * and <code>kIOPriorityPowerStateInterest</code>. * Delivered to user clients of <code>IORegisterForSystemPower</code>. */ #define kIOMessageSystemWillSleep iokit_common_msg(0x280) /*! * @defined kIOMessageSystemWillPowerOn * @discussion Announces that the system is beginning to power the device tree; most * devices are unavailable at this point.. * Delivered to in-kernel IOKit drivers via <code>kIOGeneralInterest</code> * and <code>kIOPriorityPowerStateInterest</code>. * Delivered to user clients of <code>IORegisterForSystemPower</code>. */ #define kIOMessageSystemWillPowerOn iokit_common_msg(0x320) /*! * @defined kIOMessageSystemHasPoweredOn * @discussion Announces that the system and its devices have woken up. * Delivered to in-kernel IOKit drivers via <code>kIOGeneralInterest</code> * and <code>kIOPriorityPowerStateInterest</code>. * Delivered to user clients of <code>IORegisterForSystemPower</code>. */ #define kIOMessageSystemHasPoweredOn iokit_common_msg(0x300) /*! @group Unused and deprecated notifications */ /*! * @defined kIOMessageCanDevicePowerOff * @discussion Delivered to <code>kIOAppPowerStateInterest</code> clients of * devices that implement their own idle timeouts. * This message type is almost never used. */ #define kIOMessageCanDevicePowerOff iokit_common_msg(0x200) /*! * @defined kIOMessageDeviceWillNotPowerOff * @discussion This IOKit interest notification is largely unused; * it's not very interesting. */ #define kIOMessageDeviceWillNotPowerOff iokit_common_msg(0x220) /*! * @defined kIOMessageSystemWillNotPowerOff * @deprecated This IOKit message is unused. */ #define kIOMessageSystemWillNotPowerOff iokit_common_msg(0x260) /*! * @defined kIOMessageCanSystemPowerOff * @deprecated This IOKit message is unused. */ #define kIOMessageCanSystemPowerOff iokit_common_msg(0x240) /*! * @defined kIOMessageDeviceWillPowerOn * @discussion IOService power mgt does not send kIOMessageDeviceWillPowerOn. */ #define kIOMessageDeviceWillPowerOn iokit_common_msg(0x215) /*! * @defined kIOMessageDeviceHasPoweredOff * @discussion IOService power mgt does not send kIOMessageDeviceHasPoweredOff. */ #define kIOMessageDeviceHasPoweredOff iokit_common_msg(0x225) #endif /* ! __IOKIT_IOMESSAGE_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/OSMessageNotification.h
/* * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ /* * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. * * HISTORY * */ #ifndef __OS_OSMESSAGENOTIFICATION_H #define __OS_OSMESSAGENOTIFICATION_H #ifdef __cplusplus extern "C" { #endif #include <mach/mach_types.h> #include <device/device_types.h> #include <IOKit/IOReturn.h> enum { kFirstIOKitNotificationType = 100, kIOServicePublishNotificationType = 100, kIOServiceMatchedNotificationType = 101, kIOServiceTerminatedNotificationType = 102, kIOAsyncCompletionNotificationType = 150, kIOServiceMessageNotificationType = 160, kLastIOKitNotificationType = 199, // reserved bits kIOKitNoticationTypeMask = 0x00000FFF, kIOKitNoticationTypeSizeAdjShift = 30, kIOKitNoticationMsgSizeMask = 3, }; enum { kOSNotificationMessageID = 53, kOSAsyncCompleteMessageID = 57, kMaxAsyncArgs = 16 }; enum { kIOAsyncReservedIndex = 0, kIOAsyncReservedCount, kIOAsyncCalloutFuncIndex = kIOAsyncReservedCount, kIOAsyncCalloutRefconIndex, kIOAsyncCalloutCount, kIOMatchingCalloutFuncIndex = kIOAsyncReservedCount, kIOMatchingCalloutRefconIndex, kIOMatchingCalloutCount, kIOInterestCalloutFuncIndex = kIOAsyncReservedCount, kIOInterestCalloutRefconIndex, kIOInterestCalloutServiceIndex, kIOInterestCalloutCount }; // -------------- enum { kOSAsyncRef64Count = 8, kOSAsyncRef64Size = kOSAsyncRef64Count * ((int) sizeof(io_user_reference_t)) }; typedef io_user_reference_t OSAsyncReference64[kOSAsyncRef64Count]; struct OSNotificationHeader64 { mach_msg_size_t size; /* content size */ natural_t type; OSAsyncReference64 reference; #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) unsigned char content[]; #else unsigned char content[0]; #endif }; #pragma pack(4) struct IOServiceInterestContent64 { natural_t messageType; io_user_reference_t messageArgument[1]; }; #pragma pack() // -------------- #if !KERNEL_USER32 enum { kOSAsyncRefCount = 8, kOSAsyncRefSize = 32 }; typedef natural_t OSAsyncReference[kOSAsyncRefCount] __kernel_ptr_semantics; struct OSNotificationHeader { mach_msg_size_t size; /* content size */ natural_t type; OSAsyncReference reference; #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) unsigned char content[]; #else unsigned char content[0]; #endif }; #pragma pack(4) struct IOServiceInterestContent { natural_t messageType; void * messageArgument[1]; }; #pragma pack() #endif /* KERNEL_USER32 */ struct IOAsyncCompletionContent { IOReturn result; #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) void * args[] __attribute__ ((packed)); #else void * args[0] __attribute__ ((packed)); #endif }; #ifndef __cplusplus typedef struct OSNotificationHeader OSNotificationHeader; typedef struct IOServiceInterestContent IOServiceInterestContent; typedef struct IOAsyncCompletionContent IOAsyncCompletionContent; #endif #ifdef __cplusplus } #endif #endif /* __OS_OSMESSAGENOTIFICATION_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/sbp2/IOFireWireSBP2Lib.h
/* * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOKIT_IOFIREWIRESBP2LIB_H_ #define _IOKIT_IOFIREWIRESBP2LIB_H_ #include <IOKit/firewire/IOFireWireFamilyCommon.h> #include <IOKit/IOMessage.h> #include <IOKit/IOCFPlugIn.h> /* A45B8156-B51B-11D4-AB4B-000A277E7234 */ #define kIOFireWireSBP2LibTypeID CFUUIDGetConstantUUIDWithBytes(NULL, \ 0xA4, 0x5B, 0x81, 0x56, 0xB5, 0x1B, 0x11, 0xD4, \ 0xAB, 0x4B, 0x00, 0x0A, 0x27, 0x7E, 0x72, 0x34 ) /* AE3A2684-B51B-11D4-B516-000A277E7234 */ #define kIOFireWireSBP2LibFactoryID CFUUIDGetConstantUUIDWithBytes(NULL, \ 0xAE, 0x3A, 0x26, 0x84, 0xB5, 0x1B, 0x11, 0xD4, \ 0xB5, 0x16, 0x00, 0x0A, 0x27, 0x7E, 0x72, 0x34 ) /* B63446A8-B51B-11D4-AAB0-000A277E7234 */ #define kIOFireWireSBP2LibLUNInterfaceID CFUUIDGetConstantUUIDWithBytes(NULL, \ 0xB6, 0x34, 0x46, 0xA8, 0xB5, 0x1B, 0x11, 0xD4, \ 0xAA, 0xB0, 0x00, 0x0A, 0x27, 0x7E, 0x72, 0x34 ) /* BBE32C26-BAD4-11D4-A580-000A277E7234 */ #define kIOFireWireSBP2LibLoginInterfaceID CFUUIDGetConstantUUIDWithBytes(NULL, \ 0xBB, 0xE3, 0x2C, 0x26, 0xBA, 0xD4, 0x11, 0xD4, \ 0xA5, 0x80, 0x00, 0x0A, 0x27, 0x7E, 0x72, 0x34 ) /* 0D818E2E-BC55-11D4-9B72-000A277E7234 */ #define kIOFireWireSBP2LibORBInterfaceID CFUUIDGetConstantUUIDWithBytes(NULL, \ 0x0D, 0x81, 0x8E, 0x2E, 0xBC, 0x55, 0x11, 0xD4, \ 0x9B, 0x72, 0x00, 0x0A, 0x27, 0x7E, 0x72, 0x34 ) /* ECD3E338-BDBC-11D4-A592-000A277E7234 */ #define kIOFireWireSBP2LibMgmtORBInterfaceID CFUUIDGetConstantUUIDWithBytes(NULL, \ 0xEC, 0xD3, 0xE3, 0x38, 0xBD, 0xBC, 0x11, 0xD4, \ 0xA5, 0x92, 0x00, 0x0A, 0x27, 0x7E, 0x72, 0x34 ) ////////////////////// #define kIOMessageFWSBP2ReconnectComplete ((UInt32)iokit_fw_err(0x3E8)) #define kIOMessageFWSBP2ReconnectFailed ((UInt32)iokit_fw_err(0x3E9)) /*! * Direction of transfer, with respect to the described memory. */ enum IODirection { kIODirectionNone = 0, kIODirectionIn = 1, // User land 'read' kIODirectionOut = 2, // User land 'write' kIODirectionInOut = 3 }; /*! Virtual address range for SBP2. */ typedef struct { void * address; UInt32 length; } FWSBP2VirtualRange; ////////////////////// /*! @enum Login Option Flags @discussion Passed to the setLoginFlags member function. */ enum { kFWSBP2DontSynchronizeMgmtAgent = (1 << 0), kFWSBP2ExclusiveLogin = (1 << 5) }; /*! @enum ORB Option Flags @discussion Passed to the setCommandFlags member function. */ enum { kFWSBP2CommandCompleteNotify = (1 << 0), kFWSBP2CommandTransferDataFromTarget = (1 << 1), kFWSBP2CommandImmediate = (1 << 2), kFWSBP2CommandNormalORB = (1 << 5), kFWSBP2CommandReservedORB = (1 << 6), kFWSBP2CommandVendorORB = (1 << 7), kFWSBP2CommandDummyORB = (1 << 8), kFWSBP2CommandCheckGeneration = (1 << 9), kFWSBP2CommandFixedSize = (1 << 10), kFWSBP2CommandVirtualORBs = (1 << 11) // handy for debugging }; /*! @enum SBP2 setCommandFunction values @discussion Passed to the setCommandFunction member function. */ enum { kFWSBP2QueryLogins = 1, kFWSBP2AbortTask = 0xb, kFWSBP2AbortTaskSet = 0xc, kFWSBP2LogicalUnitReset = 0xe, kFWSBP2TargetReset = 0xf }; /*! @enum SBP2 Notification Events @discussion Passed to the setStatusNotifyProc member function. */ enum { kFWSBP2NormalCommandStatus = 6, kFWSBP2NormalCommandTimeout = 7, kFWSBP2UnsolicitedStatus = 8, kFWSBP2NormalCommandReset = 9 }; /*! @typedef FWSBP2LoginResponse @param length Length of login response. @param loginID Unique id representing this login. @param commandBlockAgentAddressHi High 32 bits of command block agent address. @param commandBlockAgentAddressLo Low 32 bits of command block agent address. @param reserved Reserved. @param reconnectHold Reconnect timeout encoded as 2^reconnectHold seconds. */ typedef struct { UInt16 length; UInt16 loginID; UInt32 commandBlockAgentAddressHi; UInt32 commandBlockAgentAddressLo; UInt16 reserved; UInt16 reconnectHold; } FWSBP2LoginResponse; /*! @typedef FWSBP2StatusBlock @param details Src, Resp, D, Len fields of status block format @param sbpStatus SBP2 specific status @param orbOffsetHi High 32 bits of address of orb status is for. @param orbOffsetLo Low 32 bits of address of orb status is for. @param status Up to 48 bytes of additional data. Length is determined by len field. */ typedef struct { UInt8 details; UInt8 sbpStatus; UInt16 orbOffsetHi; UInt32 orbOffsetLo; UInt32 status[6]; } FWSBP2StatusBlock; // struct sent to login complete handler /*! @typedef FWSBP2LoginCompleteParams @param refCon refCon set on login object. @param generation FireWire generation value. @param status Status of login attempt. @param loginResponse Pointer to login response struct. @param statusBlock Pointer to status block buffer. @param statusBlockLength Length of entire status block. */ typedef struct { void * refCon; // refCon from login object UInt32 generation; // generation this login was attempted in IOReturn status; // status of login attempt FWSBP2LoginResponse * loginResponse; // pointer to loginResponse buffer FWSBP2StatusBlock * statusBlock; // pointer to statusBlock buffer UInt32 statusBlockLength; // size of statusBlock buffer } FWSBP2LoginCompleteParams; // struct sent to logout complete handler /*! @typedef FWSBP2LogoutCompleteParams @param refCon refCon set on login object. @param generation FireWire generation value. @param status Status of login attempt. @param statusBlock Pointer to status block buffer. @param statusBlockLength Length of entire status block. */ typedef struct { void * refCon; // refCon from login object UInt32 generation; // generation this login was attempted in IOReturn status; // status of login attempt FWSBP2StatusBlock * statusBlock; // pointer to statusBlock buffer UInt32 statusBlockLength; // size of statusBlock buffer } FWSBP2LogoutCompleteParams; // struct sent with reconnect notification /*! @typedef FWSBP2ReconnectParams @param refCon refCon set on LUN object. @param generation FireWire generation value. @param status Status of reconnect attempt. @param reconnectStatusBlock Pointer to status block buffer. @param reconnectStatusBlockLength Length of entire status block. */ typedef struct { void * refCon; // refCon from lun object UInt32 generation; // generation this login was attempted in IOReturn status; // status of reconnect attempt FWSBP2StatusBlock * reconnectStatusBlock; // pointer to statusBlock buffer UInt32 reconnectStatusBlockLength; // size of statusBlock buffer } FWSBP2ReconnectParams; /*! @typedef FWSBP2NotifyParams @param refCon refCon set on Login object for unsolicited status or refCon set ORB for normal status. @param notificationEvent Type of event we are being notified of. @param message buffer containing message. @param length length of message field. @param generation FireWire generation value. */ typedef struct { void * refCon; // refCon from ORB object UInt32 notificationEvent; const void * message; UInt32 length; UInt32 generation; } FWSBP2NotifyParams; ////////////////////// typedef void (*IOFWSBP2MessageCallback)( void * refCon, UInt32 type, void * arg ); /*! @typedef IOFWSBP2LoginCallback @param refCon Reference constant supplied when the notification was registered. @param params Structure containing additional information about the status of the login. */ typedef void (*IOFWSBP2LoginCallback)( void * refCon, FWSBP2LoginCompleteParams * params ); /*! @typedef IOFWSBP2LogoutCallback @param refCon Reference constant supplied when the notification was registered. @param params Structure containing additional information about the status of the logout. */ typedef void (*IOFWSBP2LogoutCallback)( void * refCon, FWSBP2LogoutCompleteParams * params ); /*! @typedef IOFWSBP2ORBAppendCallback @param refCon Reference constant supplied when the notification was registered. @param status Indicates success or failure of operation. @param orb refCon set on management orb. */ typedef void (*IOFWSBP2ORBAppendCallback)( void * refCon, IOReturn status, void * orb ); /*! @typedef IOFWSBP2ORBCompleteCallback @param refCon Reference constant supplied when the notification was registered. @param status Indicates success or failure of operation. @param orb refCon set on management orb. */ typedef void (*IOFWSBP2ORBCompleteCallback)( void * refCon, IOReturn status, void * orb ); /*! @typedef IOFWSBP2NotifyCallback @param refCon Reference constant supplied when the notification was registered. @param params FWSBP2NotifyParams containing notification information. */ typedef void (*IOFWSBP2NotifyCallback)(void * refCon, FWSBP2NotifyParams * params); /*! @typedef IOFWSBP2StatusCallback @param refCon Reference constant supplied when the notification was registered. @param status Indicates success or failure of operation. */ typedef void (*IOFWSBP2StatusCallback)(void * refCon, IOReturn status); /*! @typedef IOFWSBP2FetchAgentWriteCallback @param refCon Reference constant supplied when the notification was registered. @param status Indicates success or failure of operation. @param orbRefCon refCon from last orb in chain. */ typedef void (*IOFWSBP2FetchAgentWriteCallback)(void * refCon, IOReturn status, void * orbRefCon ); ////////////////////// /*! @class IOFireWireSBP2LibLUNInterface @abstract Initial interface disovered for all drivers. @discussion The IOFireWireSBP2LibLUNInterface is the initial interface discovered by most drivers. It supplies the methods that control the operation of the LUN as a whole. Methods that control the behavior and execution of an SBP2 login session are supplied in a separate IOFireWireSBP2LibLoginInterface object. The LUN can be used to create one of these login objects. The LUN can also create IOFireWireSBP2LibManagementORBInterfaces for configuring and appending non-login related management functions. Login related management functions (ie. Login, Logout, Reconnect) are supplied by the IOFireWireSBP2LibLoginInterface. Finally the LUN can supply a reference to the IOFireWireUnit. This can be useful if a driver wishes to access the standard FireWire APIs. */ typedef struct { IUNKNOWN_C_GUTS; UInt16 version; UInt16 revision; /*! @function open @abstract Exclusively opens a connection to the in-kernel device. @discussion Exclusively opens a connection to the in-kernel device. As long as the in-kernel device object is open, no other drivers will be able to open a connection to the device. When open the device on the bus may disappear, but the in-kernel object representing it will stay instantiated and can begin communicating with the device again if it ever reappears. @param self Pointer to IOFireWireSBP2LibLUNInterface. @result Returns kIOReturnSuccess on success. */ IOReturn (*open)( void * self ); /*! @function openWithSessionRef @abstract Opens a connection to a device that is already open. @discussion Sometimes it is desirable to open multiple user clients on a device. In the case of FireWire sometimes we wish to have both the FireWire User Client and the SBP2 User Client open at the same time. <p>The technique to arbitrate this is as follows :</p> <p>First open normally the device furthest from the root in the IORegistry.</p> <p>Second, get its sessionRef with the getSessionRef call.</p> <p>Third open the device further up the chain by calling this method and passing the sessionRef returned from the call in step 2.</p> @param sessionRef SessionRef returned from getSessionRef call. @param self Pointer to IOFireWireSBP2LibLUNInterface. @result Returns kIOReturnSuccess on success. */ IOReturn (*openWithSessionRef)( void * self, IOFireWireSessionRef sessionRef ); /*! @function getSessionRef @abstract Returns the session reference to an already open device. @discussion Sometimes it is desirable to open multiple user clients on a device. In the case of FireWire sometimes we wish to have both the FireWire User Client and the SBP2 User Client open at the same time. <p>The technique to arbitrate this is as follows:</p> <p>First open normally the device furthest from the root in the IORegistry.</p> <p>Second, get its sessionRef with a call to this method.</p> <p>Third open the device further up the chain by calling openWithSessionRef and passing the sessionRef returned from this call.</p> @param self Pointer to IOFireWireSBP2LibLUNInterface. @result Returns a sessionRef on success. */ IOFireWireSessionRef (*getSessionRef)(void * self); /*! @function close @abstract Opens a connection to a device that is not already open. @discussion Closes an exclusive access to the device. When a device is closed it may be unloaded by the kernel. If it is unloaded and then later reappears it will be represented by a different object. You won't be able to use this user client on the new object. The new object will have to be looked up in the IORegistry and a new user client will have to be opened on it. @param self Pointer to IOFireWireSBP2LibLUNInterface. */ void (*close)( void * self ); /*! @function addCallbackDispatcherToRunLoop @abstract Adds a dispatcher for kernel callbacks to the specified runloop. @discussion The user space portions of the SBP2 api communicate with the in-kernel services by messaging the kernel. Similarly, the kernel messages the user space services in response. These responses need to be picked up by a piece of code. This call adds that code to the specified runloop. Most drivers will call this method on the runloop that was created when your task was created. To avoid deadlock you must avoid sleeping (or spin waiting) the runloop to wait for SBP2 response. If you do this the dispatcher will never get to run and you will wait forever. @param self Pointer to IOFireWireSBP2LibLUNInterface. @param cfRunLoopRef Reference to a runloop @result Returns kIOReturnSuccess on success. */ IOReturn (*addCallbackDispatcherToRunLoop)( void *self, CFRunLoopRef cfRunLoopRef ); /*! @function removeCallbackDispatcherFromRunLoop @abstract Removes a dispatcher for kernel callbacks from the specified runloop. @discussion Undoes the work of addCallbackDispatcherToRunLoop. @param self Pointer to IOFireWireSBP2LibLUNInterface. */ void (*removeCallbackDispatcherFromRunLoop)( void * self ); /*! @function setMessageCallback @abstract Set callback for user space message routine. @discussion In FireWire & SBP2 bus status messages are delivered via IOKit's message routine. This routine is emulated in user space for SBP2 & FireWire messages via this callback. You should register here for bus reset, and reconnect messages. @param self Pointer to IOFireWireSBP2LibLUNInterface. @param refCon RefCon to be returned as first argument of completion routine @param callback Address of completion routine. */ void (*setMessageCallback)( void *self, void * refCon, IOFWSBP2MessageCallback callback); /*! @function setRefCon @abstract Sets the ORB refCon. @discussion Sets a user defined value on the ORB that can be retrieved later with the method getRefCon. @param self Pointer to IOFireWireSBP2LibLUNInterface. @param refCon a user defined value. */ void (*setRefCon)( void * self, void * refCon ); /*! @function getRefCon @abstract Returns the refCon set with setRefCon. @discussion Returns the user defined value previously stored in the ORB with setRefCon. @param self Pointer to IOFireWireSBP2LibLUNInterface. @result Returns the previously stored user defined value. */ void * (*getRefCon)( void * self); /*! @function createLogin @abstract Creates a new IOFireWireSBP2LibLoginInterface object. @discussion Creates a new IOFireWireSBP2LibLoginInterface object for the LUN. Login objects supply most of the SBP2 APIs related to login maintenance and Normal Command ORB execution. @param self Pointer to IOFireWireSBP2LibLUNInterface. @param iid UUID for desired type of IOFireWireSBP2LibLoginInterface. @result Returns a pointer to a new IOFireWireSBP2LibLoginInterface. */ IUnknownVTbl** (*createLogin)( void * self, REFIID iid ); /*! @function createMgmtORB @abstract Creates a new IOFireWireSBP2LibMgmntORBInterface object. @discussion Creates a new IOFireWireSBP2LibMgmtORBInterface object. Management objects let you execute commands like QueryLogins, LogicalUnitReset, and AbortTask. These commands are configured after they are created here. When they are done executing (after a call to submit) the supplied completion routine will be called with the supplied refcon. Usually this refCon is the "this" pointer of completion method's object. @param self Pointer to IOFireWireSBP2LibLUNInterface. @param iid UUID for desired type of IOFireWireSBP2LibMgmtORBInterface. @result Returns a pointer to a new IOFireWireSBP2Login. */ IUnknownVTbl** (*createMgmtORB)( void * self, REFIID iid ); } IOFireWireSBP2LibLUNInterface; /*! @class IOFireWireSBP2LibORBInterface @abstract Represents an SBP2 normal command ORB. Supplies the APIs for configuring normal command ORBs. This includes setting the command block and writing the page tables for I/O. The ORBs are executed using the submitORB method in IOFireWireSBP2LibLoginInterface. */ typedef struct { IUNKNOWN_C_GUTS; UInt16 version; UInt16 revision; /*! @function setRefCon @abstract Sets the ORB refCon. @discussion Sets a user defined value on the ORB that can be retrieved later with the method getRefCon. @param self Pointer to IOFireWireSBP2LibORBInterface. @param refCon a user defined value. */ void (*setRefCon)( void * self, void * refCon ); /*! @function getRefCon @abstract Returns the refCon set with setRefCon. @discussion Returns the user defined value previously stored in the ORB with setRefCon. @param self Pointer to IOFireWireSBP2LibORBInterface. @result Returns the previously stored user defined value. */ void * (*getRefCon)( void * self ); /*! @function setCommandFlags @abstract Sets configuration flags for the ORB. @discussion Sets the configuration flags for the ORB. These can be any of the following: <p>kFWSBP2CommandCompleteNotify - Set the notify bit as specified in SBP2 standard. Set to receive completion/timeout notification on this ORB. You almost always want to set this.</p> <p>kFWSBP2CommandTransferDataFromTarget - Transfer direction as specified in SBP2 standard. Set if data is to be written by the device into the host's memory.</p> <p>kFWSBP2CommandImmediate - Immediate Append. ORB address will be written to fetch agent and not chained. It is only legal to have one immediate ORB in progress at a time.</p> <p>kFWSBP2CommandNormalORB - ORB format 0 - Format specified by SBP2 standard. Set this for most ORBs.</p> <p>kFWSBP2CommandReservedORB - ORB format 1 - Format reserved by SBP2 standard for future standardization.</p> <p>kFWSBP2CommandVendorORB - ORB format 2 - Format specified by SBP2 standard for vendor dependent ORBs.</p> <p>kFWSBP2CommandDummyORB - ORB format 3 - Format specified by SBP2 standard for dummy ORBs.</p> <p>kFWSBP2CommandCheckGeneration - If set upon submitORB, the ORB will only be appended if generation set with setCommandGeneration() matches the current generation. Pretty much all SBP2 drivers need sophisticated logic to track login state, so this is generally not used. </p> <p>kFWSBP2CommandFixedSize - Do not allocate more memory for page table if needed. If there is not enough space in the currently allocated page table, the setCommandBuffers call will fail. This is important to set if your device is the backing store, as we don't want to cause memory allocations on the paging path. </p> <p>kFWSBP2CommandVirtualORBs - Normally ORBs are backed by physical address spaces. Setting this flag makes this ORB backed by a pseudo address space. This can make ORBs easier to see in a bus trace. Virtual ORBs will have an address in the form of ffcX.XXXX.0000.0000. Pseudo address space backed ORBs are slower, so you won't want to set for deployment builds.</p> @param self Pointer to IOFireWireSBP2LibORBInterface. @param flags The flags to be set. */ void (*setCommandFlags)( void * self, UInt32 flags ); /*! @function setMaxORBPayloadSize @abstract Sets max payload size for the ORB. @discussion This sets the maximum payload size for this ORB only. This size is clipped by the global max payload size set in the login object. @param self Pointer to IOFireWireSBP2LibORBInterface. @param size The maximum payload size in bytes. */ void (*setMaxORBPayloadSize)( void * self, UInt32 size ); /*! @function setCommandTimeout @abstract Sets the timeout of the ORB. @discussion This sets the timeout for the ORB in milliseconds. Note that ORBs without timeouts can be "lost." You will obviously not recieve timeout notification for timeouts of zero. But perhaps less obviously you will not recieve orb reset notification, which is really a sort of accelerated timeout notification for bus reset situations. @param self Pointer to IOFireWireSBP2LibORBInterface. @param timeout The timeout duration in milliseconds. */ void (*setCommandTimeout)( void * self, UInt32 timeout ); /*! @function setCommandGeneration @abstract Sets the command generation. @discussion This sets the bus generation this ORB should be appended in. It is only meaningful when combined with the kFWSBP2CommandCheckGeneration flags above. @param self Pointer to IOFireWireSBP2LibORBInterface. @param generation The bus generation for command execution. */ void (*setCommandGeneration)( void * self, UInt32 generation ); /*! @function setCommandBuffersAsRanges @abstract Creates a page table from a list of ranges. @discussion Creates a page table with the given parameters. Any addresses mapped by this method must remain valid until setCommandBuffers is called again or releaseCommandBuffers is called. The SBP2 services do not release references to the command buffers just because the command has completed. @param self Pointer to IOFireWireSBP2LibORBInterface. @param ranges An array of ranges representing the data to be transfered. @param withCount The number of ranges in the ranges array. @param withDirection An IODirection indicating the direction of data transfer. @param offset Offset in bytes into data to begin writing table at. @param length Number of bytes of data to map from offset. @result Returns KIOReturnSuccess if the page table was written successfully. */ IOReturn (*setCommandBuffersAsRanges)( void * self, FWSBP2VirtualRange * ranges, UInt32 withCount, UInt32 withDirection, UInt32 offset, UInt32 length ); /*! @function releaseCommandBuffers @abstract Releases SBP2's reference to the command buffers. @discussion When you create a page table with one of the variants of setCommandBuffers. SBP2 holds on to a reference to the buffers until this method is called. This means that if a command completed and you released the buffers without calling this method you could leave FW in an inconsistent state. @param self Pointer to IOFireWireSBP2LibORBInterface. @result Returns KIOReturnSuccess if the page table was cleared successfully. */ IOReturn (*releaseCommandBuffers)( void * self ); /*! @function setCommandBlock @abstract Sets the command block portion of the ORB. @discussion Copys the data provided in the buffer to the command block portion of the ORB. @param self Pointer to IOFireWireSBP2LibORBInterface. @param buffer Pointer to buffer to copy command block from. @param length Number of bytes of data to copy. @result Returns KIOReturnSuccess if the command block was updated successfully. */ IOReturn (*setCommandBlock)( void * self, void * buffer, UInt32 length ); /*! @function LSIWorkaroundSetCommandBuffersAsRanges @abstract Creates a page table with the LSI workaround from a list of ranges. @discussion Creates an LSI workaround page table with the given parameters. Any addresses mapped by this method routine must remain valid until setCommandBuffers is called again or releaseCommandBuffers is called. The SBP2 services do not release references to the command buffers just because the command has completed. @param self Pointer to IOFireWireSBP2LibORBInterface. @param ranges An array of ranges representing the data to be transfered. @param withCount The number of ranges in the ranges array. @param withDirection An IODirection indicating the direction of data transfer. @param offset Offset in bytes into data to begin writing table at. @param length Number of bytes of data to map from offset. @result Returns KIOReturnSuccess if the page table was written successfully. */ IOReturn (*LSIWorkaroundSetCommandBuffersAsRanges)( void * self, FWSBP2VirtualRange * ranges, UInt32 withCount, UInt32 withDirection, UInt32 offset, UInt32 length ); /*! @function LSIWorkaroundSyncBuffersForOutput @abstract Synchronize the buffers for output. @discussion Since double buffering may be invovled in the workaround. The driver needs to indicate when these buffers should be syncronized with the original descriptor. For data that will be output LSIWorkaroundSyncBuffersForOutput should be called before submiting the ORB. @param self Pointer to IOFireWireSBP2LibORBInterface. @result Returns kIOReturnSuccess if sync was successful. */ IOReturn (*LSIWorkaroundSyncBuffersForOutput)( void * self ); /*! @function LSIWorkaroundSyncBuffersForInput @abstract Synchronize the buffers for input. @discussion Since double buffering may be invovled in the workaround. The driver needs to indicate when these buffers should be syncronized with the original descriptor. For data that will be input LSIWorkaroundSyncBuffersForInput should be called after receiving completion status for the ORB. @param self Pointer to IOFireWireSBP2LibORBInterface. @result Returns kIOReturnSuccess if sync was successful. */ IOReturn (*LSIWorkaroundSyncBuffersForInput)( void * self ); } IOFireWireSBP2LibORBInterface; /*! @class IOFireWireSBP2LibLoginInterface @abstract Supplies the login maintenance and Normal Command ORB execution portions of the API. @discussion Supplies APIs for login maintenance and command execution. Drivers can use this object to create IOFireWireSBP2LibORBInterface objects and execute them. Solicited and unsolicited status callback routines can be registered and the SBP2 services will notify the driver when the appropriate status arrives. This class also handles login maintenance. Supplies APIs for logging in and logging out and attempts to reconnect to the LUN after bus resets. The base FireWire services deliver bus reset notification via the IOKit message routine. The SBP2 services build on this behavior and deliver reconnectFailed and reconnectComplete through the message routine as well. */ typedef struct { IUNKNOWN_C_GUTS; UInt16 version; UInt16 revision; /*! @function submitLogin @abstract Attempts to login to the LUN. @discussion This call begins the login process. The login object should be configured prior to this call. If kIOReturnSuccess is returned from this call then the loginCompletion routine will be called when the login completes (successfully or unsuccesfully). @param self Pointer to IOFireWireSBP2LibLoginInterface object. @result Returns kIOReturnSuccess login has successlly begun. */ IOReturn (*submitLogin)( void * self ); /*! @function submitLogout @abstract Attempts to logout of the LUN. @discussion This call begins the logout process. If kIOReturnSuccess is returned from this call then the logoutCompletion routine will be called when the logout completes (successfully or unsuccesfully). @param self Pointer to IOFireWireSBP2LibLoginInterface object. @result Returns kIOReturnSuccess if logout has successfully begun. */ IOReturn (*submitLogout)( void * self ); /*! @function setLoginFlags @abstract Sets login configuration flags. @discussion Configures the login behavior according to the provided flags. Currently two flags are defined for this API. kFWSBP2ExclusiveLogin sets the exclusive login bit in the login ORB. kFWSBP2DontSynchronizeMgmtAgent allows simultaneous logins or reconnects to LUNs with a common management agent (ie LUNs in the same unit directory). @param self Pointer to IOFireWireSBP2LibLoginInterface object. @param flags the login configuration flags. */ void (*setLoginFlags)( void * self, UInt32 flags ); /*! @function setLoginCallback @abstract Sets the callback to be called when a login attempt is complete. @discussion The supplied callback is called when a login attempt has completed. "status" in the callback's params should be checked to determine the success or failure of the login attempt. The "refCon" field in the params will return the refcon set with setRefCon. If "statusBlock" is non-null then login status was written and it has been supplied here. If the login attempt was successful then the login response will be supplied in the "loginResponse" buffer. Note: all buffers supplied to callbacks are only valid for the duration of the callback. Also, you are not to modify the contents of any supplied buffer. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @param refCon refCon passed to callback. @param callback address of callback method of type FWSBP2LoginCallback. */ void (*setLoginCallback)( void * self, void * refCon, IOFWSBP2LoginCallback callback ); /*! @function setLogoutCallback @abstract Sets the callback to be called when a logout attempt is complete. @discussion The supplied callback is called when a logout attempt has completed. "status" in the callback's params should be checked to determine the success or failure of the logout attempt. The "refCon" field in the params will return the refcon set with setRefCon. If "statusBlock" is non-null then logout status was written and it has been supplied here. Note: all buffers supplied to callbacks are only valid for the duration of the callback. Also, you are not to modify the contents of any supplied buffer. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @param refCon refCon passed to callback. @param callback address of callback method of type FWSBP2LogoutCallback. */ void (*setLogoutCallback)( void * self, void * refCon, IOFWSBP2LogoutCallback callback ); /*! @function setRefCon @abstract Sets the login refCon. @discussion Sets a user defined value on the login that can be retrieved later with the method getRefCon. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @param refCon a user defined value. */ void (*setRefCon)( void * self, void * refCon ); /*! @function getRefCon @abstract Returns the refCon set with setRefCon. @discussion Returns the user defined value previously stored in the login with setRefCon. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @result Returns the previously stored user defined value. */ void * (*getRefCon)( void * self); /*! @function getMaxCommandBlockSize @abstract Returns the maximum command block size. @discussion The device publishes an upper limit on the size of command block that it can accept. That value can be accessed via this method. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @result Returns a UInt32 containing the maximum command block size. */ UInt32 (*getMaxCommandBlockSize)( void * self); /*! @function getLoginID @abstract Returns the current login ID. @discussion When we successfully login to a device. The device gives us a unique login id. This is used internally for reconnecting to the device after bus resets and for certain other management ORBs. Most drivers are probably not interested in this value. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @result Returns a UInt32 containing the current login ID. */ UInt32 (*getLoginID)( void * self); /*! @function setMaxPayloadSize @abstract Sets the maximum data transfer length for a normal command ORB. @discussion Sets the maximum data transfer length for a normal command ORB. This value is the maximum for all ORBs sent to this LUN. This can be trimmed further on an ORB by ORB basis, by a similar call in the IOFireWireSBP2ORB itself. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @param size The desired maximum payload size in bytes. */ void (*setMaxPayloadSize)( void * self, UInt32 size ); /*! @function setReconnectTime @abstract Sets the desired reconnect duration. @discussion The target and initiator arbitrate the duration of the reconnect timeout. Here the initiator specifies its desired timeout time in 2^reconnectTime seconds. After a successful login the device returns the actual timeout value it wishes to use. This value may be less than the reconnect timeout that the intiator specified if this is all that the device can support. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @param time The desired reconnect timeout encoded as 2^reconnectTime seconds. */ void (*setReconnectTime)( void * self, UInt32 time ); /*! @function createORB @abstract Creates a new IOFireWireSBP2ORB for this login. @discussion Create a new IOFireWireSBP2ORB for this login. It can be configured with it's accessors and executed with submitORB below. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @param iid UUID for the desired type of IOFireWireSBP2LibLoginInterface. @result Returns a pointer to the new ORB object. */ IUnknownVTbl** (*createORB)( void * self, REFIID iid ); /*! @function submitORB @abstract Submits the given orb @discussion Starts execution of the given ORB. If the ORB is an immediate ORB it's addresss is written to the fetch agent. If it is a non immediate orb its address is appended to the last orb of the currently processing chain. The doorbell is not rung automatically it must be run manually with the ringDoorbell command described below. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @param orb The orb to be executed. @result Returns kIOReturnSuccess if the ORB has been started successfully. */ IOReturn (*submitORB)( void * self, IOFireWireSBP2LibORBInterface ** orb ); /*! @function setUnsolicitedStatusNotify @abstract Sets the callback to be called on normal command status. @discussion The supplied callback is called when unsolicited status is recieved. "notificationEvent" in the callback's params will indicate what happened. In this case it will be set to kFWSBP2UnsolicitedStatus. If "len" is non-zero then "message" contains the data written to the status block. Note: any buffers returned by callbacks are only valid for the duration of the login and should not have their contents modified. The "refCon" field in the callback's params will return the refcon set with setRefCon. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @param refCon refCon passed to callback. @param callback address of callback method of type FWSBP2NotifyCallback. */ void (*setUnsolicitedStatusNotify)( void * self, void * refCon, IOFWSBP2NotifyCallback callback ); /*! @function setStatusNotify @abstract Sets the callback to be called on normal command status. @discussion The supplied callback is called when normal command status is recieved, when a normal command times out, or when a normal command is aborted. "notificationEvent" in the callback's params will indicate what happened. It will be set to one of the following values: kFWSBP2NormalCommandReset, kFWSBP2NormalCommandStatus, or kFWSBP2NormalCommandTimeout. If the event type is kFWSBP2NormalCommandTimeout and "len" is non-zero then "message" contains the data written to the status block. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @param refCon refCon passed to callback. @param callback Address of callback method of type FWSBP2NotifyCallback. */ void (*setStatusNotify)( void * self, void * refCon, IOFWSBP2NotifyCallback callback ); /*! @function setFetchAgentResetCallback @abstract Sets the callback to be called when a fetch agent reset completes. @discussion The fetch agent state machine on the device can be reset by a write to a specific register. The SBP2 services offer a utility method to reset the fetch agent. You can register a callback routine here to be notified when this rest write completes. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @param refCon refCon passed to callback. @param callback address of callback method of type FWSBP2FetchAgentWriteCallback. */ void (*setFetchAgentResetCallback)( void * self, void * refCon, IOFWSBP2StatusCallback callback ); /*! @function submitFetchAgentReset @abstract Resets the LUN's fetch agent. @discussion The fetch agent state machine on the device can be reset by a write to a specific register. This reset can be intiated by a call to this method. Notification of the completion of this write can be had by registering a callback with the setFetchAgentResetCallback method. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @result Returns kIOReturnSuccess if the reset started successfully. */ IOReturn (*submitFetchAgentReset)( void * self ); /*! @function setFetchAgentWriteCallback @abstract Sets the callback to be called when the fetch agent write completes. @discussion When an immediate orb is executed with submitORB, it's address is written to a specific address on the device. This address is called the fetch agent. The device the reads that orb from the Mac's memory and executes it. With this call you can register to be called back when this write to the fetch agent completes. The SBP2 services guarantee that the fetch agent write will be complete before status is reported for an ORB, so for most drivers this notification is not required. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @param refCon refCon passed to callback. @param callback address of callback method of type FWSBP2FetchAgentWriteCallback. */ void (*setFetchAgentWriteCallback)( void * self, void * refCon, IOFWSBP2FetchAgentWriteCallback callback ); /*! @function ringDoorbell @abstract Rings the doorbell on the LUN. @discussion Non-immediate appends to the ORB chain may require the fetch agent state machine to be notified of the new ORB's presence. This is accomplished by writing to the so called doorbell register. This method begins one of those writes. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @result Returns kIOReturnSuccess if the ring started successfully. */ IOReturn (*ringDoorbell)( void * self ); /*! @function enableUnsolicitedStatus @abstract Enables unsolicited status. @discussion After unsolicited is sent the device will not send any additional unsolicited status until a specific register is written. This serves as a sort of flow-control for unsolicited status. After unsolicited status is recieved and processed drivers will want to reenable the delivery of unsolicted status by a call to this method. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @result Returns kIOReturnSuccess if the status enable write started successfully. */ IOReturn (*enableUnsolicitedStatus)( void * self ); /*! @function setBusyTimeoutRegisterValue @abstract Sets the value to be written to the BUSY_TIMEOUT register. @discussion 1394-1995 defines a register known as the BUSY_TIMEOUT register. This register controls the busy retry behavior of your device. The initial value for this register is 0x00000000. Which means busied transactions will not be retried. Since most devices want their transactions retired on busy acks, the SBP2 service automatically updates the BUSY_TIMEOUT register with the value specified here whenever necessary. Most drivers should set this value to 0x0000000f. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @param timeout desired value of the BUSY_TIMEOUT register. */ IOReturn (*setBusyTimeoutRegisterValue)( void * self, UInt32 timeout ); /*! @function setPassword @abstract Sets the login password. @discussion Sets the login password using a buffer and a length. An alternate version exists that accepts an IOMemoryDescriptor. If the password length is 8 or less the password is copied directly into the login orb. If the length is greater than 8 the buffer is referenced by address in the login ORB. In this case the buffer is not copied and should remain allocated for the duration of the login attempt. @param self Pointer to IOFireWireSBP2LibLoginInterface object. @param buffer a pointer to the password buffer. @param length the length in bytes of the password buffer. @result Returns kIOReturnSuccess on success. */ IOReturn (*setPassword)( void * self, void * buffer, UInt32 length ); } IOFireWireSBP2LibLoginInterface; /*! @class IOFireWireSBP2LibMgmtORBInterface @abstract Supplies non login related management ORBs. Management ORBs can be executed independent of a login, if necessary. Management ORBs are created using the IOFireWireSBP2LibLUNInterface. */ typedef struct { IUNKNOWN_C_GUTS; UInt16 version; UInt16 revision; /*! @function submitORB @abstract Submits this ORB for execution. @discussion Submits this ORB for execution @param self Pointer to a IOFireWireSBP2LibMgmtORBInterface. */ IOReturn (*submitORB)( void * self ); /*! @function setORBCompleteCallback @abstract Sets the ORB completion routine. @discussion Sets the completion routine to be called when the ORB finishes execution. The refCon set with setRefCon will also be passed as the third argument to the completion handler. @param self Pointer to a IOFireWireSBP2LibMgmtORBInterface. @param refCon refCon passed as first argument to completion routine */ void (*setORBCompleteCallback)( void * self, void * refCon, IOFWSBP2ORBCompleteCallback callback ); /*! @function setRefCon @abstract Sets the login refCon. @discussion Sets a user defined value on the login that can be retrieved later with the method getRefCon. @param self Pointer to a IOFireWireSBP2LibMgmtORBInterface. @param refCon a user defined value. */ void (*setRefCon)( void * self, void * refCon ); /*! @function getRefCon @abstract Returns the current function of the management ORB. @discussion Returns the function of the management ORB. This is the same value that was set with setCommandFunction. @param self Pointer to a IOFireWireSBP2LibMgmtORBInterface. @result Returns the function of the management ORB. */ void * (*getRefCon)( void * self); /*! @function setCommandFunction @abstract Sets the function of the management ORB. @discussion Sets the the function of the management ORB. Legal values are kFWSBP2QueryLogins, kFWSBP2AbortTask, kFWSBP2AbortTaskSet, kFWSBP2LogicalUnitReset, and kFWSBP2TargetReset. @param self Pointer to a IOFireWireSBP2LibMgmtORBInterface. @param function a value indicating the desired management function. @result Returns kIOReturnSuccess if function was a legal function. */ IOReturn (*setCommandFunction)( void * self, UInt32 function ); /*! @function setManageeORB @abstract Sets the command to be managed by the management ORB. @discussion All management functions except kFWSBP2QueryLogins require a reference to an ORB of some sort. kFWSBP2AbortTask requires a reference to the ORB to be aborted. This method allows you to set the Normal Command ORB to be managed. @param self Pointer to a IOFireWireSBP2LibMgmtORBInterface. @param command a reference to an IOFireWireSBP2Login or an IOFireWireSBP2ORB. @result Returns kIOReturnSuccess on a success. */ IOReturn (*setManageeORB)( void * self, void * command ); /*! @function setManageeLogin @abstract Sets the command to be managed by the management ORB. @discussion All management functions except kFWSBP2QueryLogins require a reference to an ORB of some sort. kFWSBP2AbortTaskSet, kFWSBP2LogicalUnitReset, and kFWSBP2TargetReset require a reference to the login ORB. This method allows you to set the login ORB to be managed. @param self Pointer to a IOFireWireSBP2LibMgmtORBInterface. @param command a reference to an IOFireWireSBP2Login or an IOFireWireSBP2ORB. @result Returns kIOReturnSuccess on a success. */ IOReturn (*setManageeLogin)( void * self, void * command ); /*! @function setResponseBuffer @abstract Sets the response buffer for the management ORB. @discussion Sets the response buffer for the management ORB. kFWSBP2QueryLogins returns a response to its query and needs to write it somewhere. This routine allows you to specify the location. @param self Pointer to a IOFireWireSBP2LibMgmtORBInterface. @param buf backing store for buffer @param len length of buffer. @result Returns kIOReturnSuccess on a success. */ IOReturn (*setResponseBuffer)( void * self, void * buf, UInt32 len ); } IOFireWireSBP2LibMgmtORBInterface; #endif
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/stream/IOStreamShared.h
/* * IOStreamShared.h * IOStreamFamily * * Copyright 2006 Apple Computer, Inc. All rights reserved. * */ #if !defined(__IOKIT_IOSTREAMSHARED_H) #define __IOKIT_IOSTREAMSHARED_H #include <sys/cdefs.h> #include <IOKit/IOTypes.h> /*! @header IOStreamShared.h IOStream definitions shared between kernel and user space. */ __BEGIN_DECLS // Buffer numbers are guaranteed to go from 0 to bufferCount - 1. /*! @typedef IOStreamBufferID */ typedef UInt32 IOStreamBufferID; #define kIOStreamBufferIDInvalid (~0) // This is the header for the shared-memory queue used to send buffer notifications // from kernel to user space or vice versa. // Queue entry in input or output queue #ifdef __cplusplus /*! @struct IOStreamBufferQueueEntry @field bufferID The ID of the buffer passed in this queue entry. @field dataLength The length of the valid data in the buffer. @field reserved Reserved for future use. */ struct IOStreamBufferQueueEntry { IOStreamBufferID bufferID; UInt32 dataOffset; UInt32 dataLength; UInt32 controlOffset; UInt32 controlLength; UInt32 reserved[3]; }; /*! @struct IOStreamBufferQueue @field entryCount The number of queue entries in the queue. @field headIndex The index of the next queue slot that will be filled in by the queue writer. @field tailIndex The index of the next queue slot that can be read by the queue reader. @field reserved Reserved for future use. @field queue The array of queue entries. */ struct IOStreamBufferQueue { UInt32 entryCount; volatile UInt32 headIndex; volatile UInt32 tailIndex; UInt32 reserved; IOStreamBufferQueueEntry queue[0]; }; #else typedef struct __IOStreamBufferQueueEntry { IOStreamBufferID bufferID; UInt32 dataOffset; UInt32 dataLength; UInt32 controlOffset; UInt32 controlLength; UInt32 reserved[3]; } IOStreamBufferQueueEntry; typedef struct __IOStreamBufferQueue { UInt32 entryCount; volatile UInt32 headIndex; volatile UInt32 tailIndex; UInt32 reserved; IOStreamBufferQueueEntry queue[0]; } IOStreamBufferQueue; #endif /*! @enum Memory mapping types @constant kIOStreamMemoryTypeOutputQueue @constant kIOStreamMemoryTypeInputQueue @constant kIOStreamMemoryTypeBufferData @constant kIOStreamMemoryTypeBufferControl @constant kIOStreamBufferIDMask @constant kIOStreamMemoryTypeMask @abstract Memory types used with IOConnectMapMemory(). @discussion */ enum { kIOStreamMemoryTypeOutputQueue = 0x10000000, kIOStreamMemoryTypeInputQueue = 0x20000000, kIOStreamMemoryTypeBufferData = 0x30000000, kIOStreamMemoryTypeBufferControl = 0x40000000, kIOStreamBufferIDMask = 0x0FFFFFFF, kIOStreamMemoryTypeMask = 0xF0000000 }; /*! @enum Mach port types @constant kIOStreamPortTypeOutput @constant kIOStreamPortTypeInput @abstract Port types used with IOConnectSetNotificationPort(). @discussion */ enum { kIOStreamPortTypeOutput, kIOStreamPortTypeInput }; /*! @enum IOStream open options @discussion */ enum { kIOStreamOptionOpenExclusive = 0x00010000, kIOStreamOptionOpenShared = 0x00020000 }; /*! @enum User client methods @constant kIOStreamMethodOpen @constant kIOStreamMethodClose @constant kIOStreamMethodStart @constant kIOStreamMethodStop @constant kIOStreamMethodSuspend @constant kIOStreamMethodGetMode @constant kIOStreamMethodSetMode @abstract Client method numbers used with IOConnectMethod...() functions. @discussion */ enum { kIOStreamMethodOpen, kIOStreamMethodClose, kIOStreamMethodStart, kIOStreamMethodStop, kIOStreamMethodSuspend, kIOStreamMethodGetMode, kIOStreamMethodSetMode, kIOStreamMethodGetBufferCount }; /*! @enum User client traps @constant kIOStreamEnqueueInputTrap @constant kIOStreamEnqueueInputSyncTrap @abstract Client trap numbers used with IOConnectTrap..() functions. @discussion */ enum { kIOStreamEnqueueInputTrap, kIOStreamEnqueueInputSyncTrap }; typedef enum { kIOStreamModeInput, // From user to kernel space kIOStreamModeOutput, // From kernel to user space kIOStreamModeInputOutput // bidirectional } IOStreamMode; __END_DECLS #endif /* ! __IOKIT_IOSTREAMSHARED_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/stream/IOStreamLib.h
/* * Copyright 2006 Apple Computer, Inc. All rights reserved. * */ #if !defined(__IOKIT_IOSTREAMLIB_H) #define __IOKIT_IOSTREAMLIB_H /*! @header IOStreamLib.h @abstract IOCFPlugin library for using IOStream objects. @discussion The IOStream plugin provides a convenient set of functions for accessing and manipulating IOStream objects from user programs. */ #include <sys/cdefs.h> #include <IOKit/IOKitLib.h> #include <IOKit/IOCFPlugIn.h> #include <CoreFoundation/CoreFoundation.h> #include <IOKit/stream/IOStreamShared.h> __BEGIN_DECLS #pragma mark IOStream UUIDs // uuid: 57C89438-A0A2-4AFC-9FF2-DE64C02F815C #define kIOStreamLibTypeID \ CFUUIDGetConstantUUIDWithBytes( kCFAllocatorDefault, \ 0x57, 0xC8, 0x94, 0x38, 0xA0, 0xA2, 0x4A, 0xFC, \ 0x9F, 0xF2, 0xDE, 0x64, 0xC0, 0x2F, 0x81, 0x5C \ ) // kIOStreamInterfaceID_v1 // uuid: E2DFDF5F-3FAD-4487-9EEA-3FCF147EBB3D #define kIOStreamInterfaceID_v1 \ CFUUIDGetConstantUUIDWithBytes( kCFAllocatorDefault, \ 0xE2, 0xDF, 0xDF, 0x5F, 0x3F, 0xAD, 0x44, 0x87, \ 0x9E, 0xEA, 0x3F, 0xCF, 0x14, 0x7E, 0xBB, 0x3D \ ) #define kIOStreamInterfaceID kIOStreamInterfaceID_v1 /*! @typedef IOStreamRef */ typedef struct IOStreamInterface_v1_t ** IOStreamRef; /*! @typedef IOStreamCallback */ typedef void (*IOStreamOutputCallback) ( IOStreamRef stream, void *context ); typedef struct IOStreamInterface_v1_t { IUNKNOWN_C_GUTS; UInt32 Version; UInt32 Revision; /*! @functiongroup Opening and closing streams */ /*! @function Open @abstract Open an IOStream from user space. @discussion The Open function opens the stream and maps the memory for the shared input and output queues into the current task, as well as the memory for all the buffers in the queue. It also creates the notification ports for input and output. @param stream The reference to the stream returned by QueryInterface. @param options Open options. Currently unused. @result If the stream could not be opened or the buffers could not be mapped, an error will be returned. */ IOReturn (*Open)( IOStreamRef stream, IOOptionBits options ); /*! @function Close @abstract Closes an IOStream. @discussion Calling Close umaps all shared memory for the stream and frees all user resources used by the stream. @param stream The IOStreamRef of the stream to close. @result Returns kIOReturnSuccess if the stream was successfully closed and the buffers unmapped. */ IOReturn (*Close)( IOStreamRef stream ); /*! @functiongroup Buffer information */ /*! @function GetBufferCount @abstract Gets the number of buffers in the stream. @param stream The IOStreamRef of the stream to operate on. @result Returns then number of buffers in the stream. */ IOItemCount (*GetBufferCount)( IOStreamRef stream ); /*! @function GetBufferInfo @abstract Gets information about a buffer in an IOStream. @param stream The IOStreamRef of the stream to operate on. @param bufferID @param dataBufferAddressOut @param dataBufferSizeOut @param controlBufferAddressOut @param controlBufferSizeOut @result Returns kIOReturnSuccess if the buffer ID was valid. */ IOReturn (*GetBufferInfo)( IOStreamRef stream, IOStreamBufferID bufferID, void **dataBufferAddressOut, IOByteCount *dataBufferSizeOut, void **controlBufferAddressOut, IOByteCount *controlBufferSizeOut ); /*! @functiongroup Input and output */ /*! @function GetOutputPort @abstract Get the notification port for buffers moving out from kernel to user space. @param stream The IOStreamRef of the stream to operate on. @result A CFMachPortRef of the output notification port. */ CFMachPortRef (*GetOutputPort)( IOStreamRef stream ); /*! @function GetInputPort @abstract Get the notification port for buffers moving in from user to kernel space. @param stream The IOStreamRef of the stream to operate on. @result A CFMachPortRef for the input notification port. */ CFMachPortRef (*GetInputPort)( IOStreamRef stream ); /*! @function GetOutputQueue @abstract Get the shared memory queue for buffers moving out from kernel to user space. @param stream The IOStreamRef of the stream to operate on. @result A pointer to the shared memory IOStreamBufferQueue structure for the output queue. @discussion If you use the notification functions, you should never need to access the queues directly. */ IOStreamBufferQueue *(*GetOutputQueue)( IOStreamRef stream ); /*! @function GetInputQueue @abstract Get the shared memory queue for buffers moving in from user to kernel space. @param stream The IOStreamRef of the stream to operate on. @result A pointer to the shared memory IOStreamBufferQueue structure for the input queue. @discussion If you use the notification functions, you should never need to access the queues directly. */ IOStreamBufferQueue *(*GetInputQueue)( IOStreamRef stream ); /*! @function SetOutputCallback @abstract Set the callback function to be called when a new buffer is available from the kernel. @param stream The IOStreamRef of the stream to operate on. Pass NULL to remove the callback. @result Returns kIOReturnSuccess if the callback was successfully set or removed. */ IOReturn (*SetOutputCallback)( IOStreamRef stream, IOStreamOutputCallback callback, void *context ); /*! @functiongroup Run loop operations */ /*! @function GetRunLoopSource @abstract Gets a CFRunLoopSource for the CFMachPort used for notifications from the kernel that data is ready. @param stream The IOStreamRef of the stream to operate on. @result The CFRunLoopSourceRef for the run loop source, or NULL if there was an error creating the source. */ CFRunLoopSourceRef (*GetRunLoopSource)( IOStreamRef stream ); /*! @function AddToRunLoop @abstract Add the CFRunLoopSource for the notification port to a run loop. @param stream The IOStreamRef of the stream to operate on. @param runLoop The run loop to which to add the notification source. @result Returns kIOReturnSuccess if the source was successfully added to the run loop. */ IOReturn (*AddToRunLoop)( IOStreamRef stream, CFRunLoopRef runLoop ); /*! @function RemoveFromRunLoop @abstract Remove the CFRunLoopSource for the notification port from a run loop. @param stream The IOStreamRef of the stream to operate on. @param runLoop The run loop from which to remove the notification source. @result Returns kIOReturnSuccess if the source was successfully removed from the run loop. */ IOReturn (*RemoveFromRunLoop)( IOStreamRef stream, CFRunLoopRef runLoop ); /*! @functiongroup Buffer operations on streams */ /*! @function DequeueOutputEntry @abstract Get the next IOStreamBufferQueueEntry available from the output queue. @param stream The IOStreamRef of the stream to operate on. @param entry A pointer to an IOStreamBufferQueueEntry structure. The next available entry from the output queue will be copied into it. @result The IOStreamBufferID of the next available buffer, or kInvalidIOStreamBufferID if no buffer is in the queue. */ IOReturn (*DequeueOutputEntry)( IOStreamRef stream, IOStreamBufferQueueEntry *entry ); /*! @function EnqueueInputEntry */ IOReturn (*EnqueueInputEntry)( IOStreamRef stream, IOStreamBufferQueueEntry *entry); /*! @function EnqueueInputBuffer @abstract Send a buffer to the kernel side of the IOStream on the input queue. @param stream The IOStreamRef of the stream to operate on. @param bufferID The IOStreamBufferID of the buffer to place on the queue. @param dataLength The length of the valid data in the buffer. @result Returns kIOReturnSuccess if the buffer was successfully placed on the input queue. */ IOReturn (*EnqueueInputBuffer)( IOStreamRef stream, IOStreamBufferID bufferID, IOByteCount dataOffset, IOByteCount dataLength, IOByteCount controlOffset, IOByteCount controlLength ); /*! @functiongroup Notifications */ /*! @function SendInputNotification @abstract Send a notification to the kernel side of the IOStream that data is available in the input queue. @param stream The IOStreamRef of the stream to operate on. @param token A value to pass to the stream's notification function. This is unused by IOStream but may be used by subclasses. @result Returns kIOReturnSuccess if the notification was successfully sent. */ IOReturn (*SendInputNotification)( IOStreamRef stream, UInt32 token ); /*! @function SendInputSyncNotification @abstract Notify the kernel side of the stream that input is ready by using a fast trap to call directly into the stream user client driver. This will transfer control to the kernel and continue executing on your same thread, rather than sending the notification to a separate thread. @param stream The IOStreamRef of the stream to operate on. @param token A value to pass to the stream's notification function. This is unused by IOStream but may be used by subclasses. @result Returns kIOReturnSuccess if the notification was successfully sent. */ IOReturn (*SendInputSyncNotification)( IOStreamRef stream, UInt32 token ); /*! @functiongroup Buffer convenience functions */ /*! @function GetDataBuffer @abstract Get a pointer to the data area of an IOStreamBuffer. @param stream The IOStreamRef of the stream owning the buffer. @param bufferID The IOStreamBufferID of the buffer to operate on. @result A pointer to the data buffer area of the IOStreamBuffer, or NULL if it does not have a data buffer. */ void *(*GetDataBuffer)( IOStreamRef stream, IOStreamBufferID bufferID ); /*! @function GetDataBufferLength @abstract Get the length of the data area of an IOStreamBuffer. @param stream The IOStreamRef of the stream owning the buffer. @param bufferID The IOStreamBufferID of the buffer to operate on. @result The length in bytes of the data buffer, or 0 if there is no data buffer. */ IOByteCount (*GetDataBufferLength)( IOStreamRef stream, IOStreamBufferID bufferID ); /*! @function GetControlBuffer @abstract Get a pointer to the control area of an IOStreamBuffer. @param stream The IOStreamRef of the stream owning the buffer. @param bufferID The IOStreamBufferID of the buffer to operate on. @result A pointer to the control buffer area of the IOStreamBuffer, or NULL if it does not have a control buffer. */ void *(*GetControlBuffer)( IOStreamRef stream, IOStreamBufferID bufferID ); /*! @function GetControlBufferLength @abstract Get the length of the control area of an IOStreamBuffer. @param stream The IOStreamRef of the stream owning the buffer. @param bufferID The IOStreamBufferID of the buffer to operate on. @result The length in bytes of the control buffer, or 0 if there is no control buffer. */ IOByteCount (*GetControlBufferLength)( IOStreamRef stream, IOStreamBufferID bufferID ); /*! @function StartStream */ IOReturn (*StartStream)( IOStreamRef stream ); /*! @function StopStream */ IOReturn (*StopStream)( IOStreamRef stream ); /*! @function SuspendStream */ IOReturn (*SuspendStream)( IOStreamRef stream ); /*! @function GetMode */ IOStreamMode (*GetMode)( IOStreamRef stream ); /*! @function SetMode */ IOReturn (*SetMode)( IOStreamRef stream, IOStreamMode mode ); } IOStreamInterface; __END_DECLS #endif /* ! __IOKIT_IOSTREAMLIB_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/network/IONetworkStack.h
/* * Copyright (c) 1998-2011 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IONETWORKSTACK_H #define _IONETWORKSTACK_H // User-client keys // #define kIONetworkStackUserCommandKey "IONetworkStackUserCommand" #define kIONetworkStackUserCommand "IONetworkStackUserCommand" enum { kIONetworkStackRegisterInterfaceWithUnit = 0, kIONetworkStackRegisterInterfaceWithLowestUnit = 1, kIONetworkStackRegisterInterfaceAll = 2 }; #endif /* !_IONETWORKSTACK_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/network/IOEthernetController.h
/* * Copyright (c) 1998-2008 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOETHERNETCONTROLLER_H #define _IOETHERNETCONTROLLER_H #include <IOKit/network/IONetworkController.h> #define APPLE_KEXT_DEPRECATE __kpi_deprecated("DriverKit/NetworkingDriverKit is the new Networking Driver Development framework, please transition your Networking Driver to that Framework") /*! @defined kIOEthernetControllerClass @abstract kIOEthernetControllerClass is the name of the IOEthernetController class. */ #define kIOEthernetControllerClass "IOEthernetController" /*! @defined kIOEthernetAddressSize @abstract The number of bytes in an Ethernet hardware address. */ #define kIOEthernetAddressSize 6 /*! @defined kIOEthernetMaxPacketSize @abstract The maximum size of an Ethernet packet, including the FCS bytes. */ #define kIOEthernetMaxPacketSize 1518 /*! @defined kIOEthernetMinPacketSize @abstract The minimum size of an Ethernet packet, including the FCS bytes. */ #define kIOEthernetMinPacketSize 64 /*! @defined kIOEthernetCRCSize @abstract The size in bytes of the 32-bit CRC value appended to the end of each Ethernet frame. */ #define kIOEthernetCRCSize 4 /*! @defined kIOEthernetWakeOnLANFilterGroup @abstract kIOEthernetWakeOnLANFilterGroup describes the name assigned to the Ethernet Wake-On-LAN filter group. This group represents wake filters that are supported by the controller. */ #define kIOEthernetWakeOnLANFilterGroup "IOEthernetWakeOnLANFilterGroup" /*! @defined kIOEthernetDisabledWakeOnLANFilterGroup @abstract kIOEthernetDisabledWakeOnLANFilterGroup describes the name assigned to the disabled Ethernet Wake-On-LAN filter group. This group represents wake filters that are currently disabled. Membership in this group is dynamic. */ #define kIOEthernetDisabledWakeOnLANFilterGroup \ "IOEthernetDisabledWakeOnLANFilterGroup" /*! @enum Wake On LAN Filters @abstract All filters in the Wake-on-LAN filter group. @discussion Each filter listed will respond to a network event that will trigger a system wake-up. @constant kIOEthernetWakeOnMagicPacket Reception of a Magic Packet. @constant kIOEthernetWakeOnPacketAddressMatch Reception of a packet which passes through any of the address filtering mechanisms based on its destination Ethernet address. This may include unicast, broadcast, or multicast addresses depending on the current state and setting of the corresponding packet filters. */ enum { kIOEthernetWakeOnMagicPacket = 0x00000001, kIOEthernetWakeOnPacketAddressMatch = 0x00000002 }; #endif /* !_IOETHERNETCONTROLLER_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/network/IONetworkInterface.h
/* * Copyright (c) 1998-2008 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IONETWORKINTERFACE_H #define _IONETWORKINTERFACE_H /*! @defined kIONetworkInterfaceClass @abstract The name of the IONetworkInterface class. */ #define kIONetworkInterfaceClass "IONetworkInterface" /*! @defined kIONetworkData @abstract A property of IONetworkInterface objects. @discussion The kIONetworkData property has an OSDictionary value and is a container for the set of IONetworkData objects managed by the interface. Each entry in the dictionary is a key/value pair consisting of the network data name, and an OSDictionary describing the contents of the network data. */ #define kIONetworkData "IONetworkData" /*! @defined kIOInterfaceType @abstract A property of IONetworkInterface objects. @discussion The kIOInterfaceType property has an OSNumber value that specifies the type of network interface that this interface represents. The type constants are defined in bsd/net/if_types.h. */ #define kIOInterfaceType "IOInterfaceType" /*! @defined kIOMaxTransferUnit @abstract A property of IONetworkInterface objects. @discussion The kIOMaxTransferUnit property has an OSNumber value that specifies the maximum transfer unit for the interface in bytes. */ #define kIOMaxTransferUnit "IOMaxTransferUnit" /*! @defined kIOMediaAddressLength @abstract A property of IONetworkInterface objects. @discussion The kIOMediaAddressLength property has an OSNumber value that specifies the size of the media address in bytes. */ #define kIOMediaAddressLength "IOMediaAddressLength" /*! @defined kIOMediaHeaderLength @abstract A property of IONetworkInterface objects. @discussion The kIOMediaHeaderLength property has an OSNumber value that specifies the size of the media header in bytes. */ #define kIOMediaHeaderLength "IOMediaHeaderLength" /*! @defined kIOInterfaceFlags @abstract A property of IONetworkInterface objects. @discussion The kIOInterfaceFlags property has an OSNumber value that specifies the current value of the interface flags. The flag constants are defined in bsd/net/if.h. */ #define kIOInterfaceFlags "IOInterfaceFlags" /*! @defined kIOInterfaceExtraFlags @abstract A property of IONetworkInterface objects. @discussion The kIOInterfaceExtraFlags property has an OSNumber value that specifies the current value of the interface eflags. The eflag constants are defined in bsd/net/if.h. */ #define kIOInterfaceExtraFlags "IOInterfaceExtraFlags" /*! @defined kIOInterfaceUnit @abstract A property of IONetworkInterface objects. @discussion The kIOInterfaceUnit property has an OSNumber value that describes the unit number assigned to the interface object. */ #define kIOInterfaceUnit "IOInterfaceUnit" /*! @defined kIOInterfaceState @abstract A property of IONetworkInterface objects. @discussion The kIOInterfaceState property has an OSNumber value that describes the current state of the interface object. This property is not exported to BSD via the ifnet structure. */ #define kIOInterfaceState "IOInterfaceState" /*! @defined kIOInterfaceNamePrefix @abstract A property of IONetworkInterface objects. @discussion The kIOInterfaceNamePrefix property has an OSString value that describes the string prefix for the BSD name assigned to the interface. */ #define kIOInterfaceNamePrefix "IOInterfaceNamePrefix" /*! @defined kIOPrimaryInterface @abstract A property of IONetworkInterface objects. @discussion The kIOInterfaceNamePrefix property has an OSBoolean value that describes whether the interface is the primary or the built-in network interface. */ #define kIOPrimaryInterface "IOPrimaryInterface" /*! @defined kIOBuiltin @abstract kIOBuiltin is a property of IONetworkInterface objects. It has an OSBoolean value. @discussion The kIOBuiltin property describes whether the interface is built-in. */ #define kIOBuiltin "IOBuiltin" /*! @defined kIOLocation @abstract kIOLocation is a property of IONetworkInterface objects. It has an OSString value. @discussion The kIOLocation property describes the physical location of built-in interfaces. */ #define kIOLocation "IOLocation" /*! @defined kIONetworkNoBSDAttachKey @abstract kIONetworkNoBSDAttachKey is a property of IONetworkInterface objects. It has an OSBoolean value. @discussion Adding a property with this key and the value kOSBooleanTrue before the interface is published will hold off the BSD attach. When the interface is ready to attach to BSD, remove the property and then re-publish the interface by calling registerService(). */ #define kIONetworkNoBSDAttachKey "IONetworkNoBSDAttach" /*! @enum InterfaceObjectStates @discussion Constants used to encode the state of the interface object. @constant kIONetworkInterfaceRegisteredState The interface object has registered with the data link layer. @constant kIONetworkInterfaceOpenedState One or more clients have an open on the interface object. @constant kIONetworkInterfaceDisabledState The interface is temporarily unable to service its clients. This will occur when the network controller that is servicing the interface has entered a low power state that renders it unusable. */ enum { kIONetworkInterfaceRegisteredState = 0x1, kIONetworkInterfaceOpenedState = 0x2, kIONetworkInterfaceDisabledState = 0x4 }; #endif /* !_IONETWORKINTERFACE_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/network/IOEthernetStats.h
/* * Copyright (c) 1998-2008 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ /* * IOEthernetStats.h - Ethernet MIB statistics definitions. * * HISTORY */ #ifndef _IOETHERNETSTATS_H #define _IOETHERNETSTATS_H /*! @header IOEthernetStats.h @discussion Ethernet statistics. */ //--------------------------------------------------------------------------- // Ethernet-like statistics group. /*! @typedef IODot3StatsEntry @discussion Ethernet MIB statistics structure. @field alignmentErrors dot3StatsAlignmentErrors. @field fcsErrors dot3StatsFCSErrors. @field singleCollisionFrames dot3StatsSingleCollisionFrames. @field multipleCollisionFrames dot3StatsMultipleCollisionFrames. @field sqeTestErrors dot3StatsSQETestErrors. @field deferredTransmissions dot3StatsDeferredTransmissions. @field lateCollisions dot3StatsLateCollisions. @field excessiveCollisions dot3StatsExcessiveCollisions. @field internalMacTransmitErrors dot3StatsInternalMacTransmitErrors. @field carrierSenseErrors dot3StatsCarrierSenseErrors. @field frameTooLongs dot3StatsFrameTooLongs. @field internalMacReceiveErrors dot3StatsInternalMacReceiveErrors. @field etherChipSet dot3StatsEtherChipSet. @field missedFrames dot3StatsMissedFrames (not in RFC1650). */ typedef struct { UInt32 alignmentErrors; UInt32 fcsErrors; UInt32 singleCollisionFrames; UInt32 multipleCollisionFrames; UInt32 sqeTestErrors; UInt32 deferredTransmissions; UInt32 lateCollisions; UInt32 excessiveCollisions; UInt32 internalMacTransmitErrors; UInt32 carrierSenseErrors; UInt32 frameTooLongs; UInt32 internalMacReceiveErrors; UInt32 etherChipSet; UInt32 missedFrames; } IODot3StatsEntry; //--------------------------------------------------------------------------- // Ethernet-like collision statistics group (optional). /*! @typedef IODot3CollEntry @discussion Collision statistics structure. @field collFrequencies dot3StatsCollFrequencies. */ typedef struct { UInt32 collFrequencies[16]; } IODot3CollEntry; //--------------------------------------------------------------------------- // Receiver extra statistics group (not defined by RFC 1650). /*! @typedef IODot3RxExtraEntry @discussion Extra receiver statistics not defined by RFC1650. @field overruns receiver overruns. @field watchdogTimeouts watchdog timer expirations. @field frameTooShorts runt frames. @field collisionErrors frames damages by late collision. @field phyErrors PHY receive errors. @field timeouts receiver timeouts. @field interrupts receiver interrupts. @field resets receiver resets. @field resourceErrors receiver resource shortages. */ typedef struct { UInt32 overruns; UInt32 watchdogTimeouts; UInt32 frameTooShorts; UInt32 collisionErrors; UInt32 phyErrors; UInt32 timeouts; UInt32 interrupts; UInt32 resets; UInt32 resourceErrors; UInt32 reserved[4]; } IODot3RxExtraEntry; //--------------------------------------------------------------------------- // Transmitter extra statistics group (not defined by RFC 1650). /*! @typedef IODot3TxExtraEntry @discussion Extra transmitter statistics not defined by RFC1650. @field underruns transmit underruns. @field jabbers jabber events. @field phyErrors PHY transmit errors. @field timeouts transmitter timeouts. @field interrupts transmitter interrupts. @field resets transmitter resets. @field resourceErrors transmitter resource shortages. */ typedef struct { UInt32 underruns; UInt32 jabbers; UInt32 phyErrors; UInt32 timeouts; UInt32 interrupts; UInt32 resets; UInt32 resourceErrors; UInt32 reserved[4]; } IODot3TxExtraEntry; //--------------------------------------------------------------------------- // Aggregate Ethernet statistics. /*! @typedef IOEthernetStats @discussion Aggregate Ethernet statistics structure. @field dot3StatsEntry IODot3StatsEntry statistics group. @field dot3CollEntry IODot3CollEntry statistics group. @field dot3RxExtraEntry IODot3RxExtraEntry statistics group. @field dot3TxExtraEntry IODot3TxExtraEntry statistics group. */ typedef struct { IODot3StatsEntry dot3StatsEntry; IODot3CollEntry dot3CollEntry; IODot3RxExtraEntry dot3RxExtraEntry; IODot3TxExtraEntry dot3TxExtraEntry; } IOEthernetStats; /*! @defined kIOEthernetStatsKey @discussion Defines the name of an IONetworkData that contains an IOEthernetStats. */ #define kIOEthernetStatsKey "IOEthernetStatsKey" #endif /* !_IOETHERNETSTATS_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/network/IONetworkMedium.h
/* * Copyright (c) 1998-2008, 2021 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IONETWORKMEDIUM_H #define _IONETWORKMEDIUM_H __BEGIN_DECLS #include <net/if_media.h> /*! @typedef IOMediumType @discussion A 32-bit value divided into fields which describes a single medium type. */ typedef UInt32 IOMediumType; /*! @defined kIOMediumType @abstract A property of IONetworkMedium objects. @discussion The kIOMediumType property is an OSNumber object that describes the type of medium that this object represents. */ #define kIOMediumType "Type" /*! @defined kIOMediumFlags @abstract A property of IONetworkMedium objects. @discussion The kIOMediumFlags property is an OSNumber object that describes a set of attributes assigned to the medium. */ #define kIOMediumFlags "Flags" /*! @defined kIOMediumSpeed @abstract A property of IONetworkMedium objects. @discussion The kIOMediumSpeed property is an OSNumber object that describes the maximum link speed supported by the medium in bits per second. */ #define kIOMediumSpeed "Speed" /*! @defined kIOMediumIndex @abstract A property of IONetworkMedium objects. @discussion The kIOMediumIndex property is an OSNumber object that describes an index assigned by the owner of the medium object. Its interpretation is driver specific. */ #define kIOMediumIndex "Index" //=========================================================================== // Medium Type (IOMediumType). // // The medium type is encoded by a 32-bit value. The definitions of // the fields and the encoding for each field is adapted from FreeBSD. // // Bits Definition // ------------------- // 4-0 medium subtype // 7-5 network type // 15-8 network specific options // 19-16 reserved // 27-20 common options // 31-28 instance number // Ethernet. // // Important Note: // // The kIOMediumEthernet* definitions are aliases for the IFM_* definitions // in <net/if_media.h>. The kIOMediumEthernet* list defined here is no longer // complete and will not be extended beyond its current set of definitions. // Use the IFM_* definitions from <net/if_media.h> directly to make use // of media types not defined here. For example to specify an IOMediumType // corresponding to 25G_T, use (IFM_25G_T | IFM_ETHER). // enum { kIOMediumEthernet = IFM_ETHER, kIOMediumEthernetAuto = ( IFM_AUTO | IFM_ETHER ), kIOMediumEthernetManual = ( IFM_MANUAL | IFM_ETHER ), kIOMediumEthernetNone = ( IFM_NONE | IFM_ETHER ), kIOMediumEthernet10BaseT = ( IFM_10_T | IFM_ETHER ), kIOMediumEthernet10Base2 = ( IFM_10_2 | IFM_ETHER ), kIOMediumEthernet10Base5 = ( IFM_10_5 | IFM_ETHER ), kIOMediumEthernet100BaseTX = ( IFM_100_TX | IFM_ETHER ), kIOMediumEthernet100BaseFX = ( IFM_100_FX | IFM_ETHER ), kIOMediumEthernet100BaseT4 = ( IFM_100_T4 | IFM_ETHER ), kIOMediumEthernet100BaseVG = ( IFM_100_VG | IFM_ETHER ), kIOMediumEthernet100BaseT2 = ( IFM_100_T2 | IFM_ETHER ), kIOMediumEthernet1000BaseSX = ( IFM_1000_SX | IFM_ETHER ), kIOMediumEthernet10BaseSTP = ( IFM_10_STP | IFM_ETHER ), kIOMediumEthernet10BaseFL = ( IFM_10_FL | IFM_ETHER ), kIOMediumEthernet1000BaseLX = ( IFM_1000_LX | IFM_ETHER ), kIOMediumEthernet1000BaseCX = ( IFM_1000_CX | IFM_ETHER ), kIOMediumEthernet1000BaseTX = ( IFM_1000_T | IFM_ETHER ), //deprecated- use kIOMediumEthernet1000BaseT instead kIOMediumEthernet1000BaseT = ( IFM_1000_T | IFM_ETHER ), kIOMediumEthernetHomePNA1 = ( IFM_HPNA_1 | IFM_ETHER ), kIOMediumEthernet10GBaseSR = ( IFM_10G_SR | IFM_ETHER ), kIOMediumEthernet10GBaseLR = ( IFM_10G_LR | IFM_ETHER ), kIOMediumEthernet10GBaseCX4 = ( IFM_10G_CX4 | IFM_ETHER ), kIOMediumEthernet10GBaseT = ( IFM_10G_T | IFM_ETHER ), kIOMediumEthernet2500BaseT = ( IFM_2500_T | IFM_ETHER ), kIOMediumEthernet5000BaseT = ( IFM_5000_T | IFM_ETHER ) }; // IEEE 802.11 Wireless. // enum { kIOMediumIEEE80211 = IFM_IEEE80211, kIOMediumIEEE80211Auto = ( IFM_AUTO | IFM_IEEE80211 ), kIOMediumIEEE80211Manual = ( IFM_MANUAL | IFM_IEEE80211 ), kIOMediumIEEE80211None = ( IFM_NONE | IFM_IEEE80211 ), kIOMediumIEEE80211FH1 = ( IFM_IEEE80211_FH1 | IFM_IEEE80211 ), kIOMediumIEEE80211FH2 = ( IFM_IEEE80211_FH2 | IFM_IEEE80211 ), kIOMediumIEEE80211DS2 = ( IFM_IEEE80211_DS2 | IFM_IEEE80211 ), kIOMediumIEEE80211DS5 = ( IFM_IEEE80211_DS5 | IFM_IEEE80211 ), kIOMediumIEEE80211DS11 = ( IFM_IEEE80211_DS11 | IFM_IEEE80211 ), kIOMediumIEEE80211DS1 = ( IFM_IEEE80211_DS1 | IFM_IEEE80211 ), kIOMediumIEEE80211OptionAdhoc = IFM_IEEE80211_ADHOC }; // Common options. // enum { kIOMediumOptionFullDuplex = IFM_FDX, kIOMediumOptionHalfDuplex = IFM_HDX, kIOMediumOptionFlowControl = IFM_FLOW, kIOMediumOptionEEE = IFM_EEE, kIOMediumOptionFlag0 = IFM_FLAG0, kIOMediumOptionFlag1 = IFM_FLAG1, kIOMediumOptionFlag2 = IFM_FLAG2, kIOMediumOptionLoopback = IFM_LOOP }; // Medium type masks. // #define kIOMediumSubTypeMask IFM_TMASK #define kIOMediumNetworkTypeMask IFM_NMASK #define kIOMediumOptionsMask IFM_OMASK #define kIOMediumCommonOptionsMask IFM_GMASK #define kIOMediumInstanceShift IFM_ISHIFT #define kIOMediumInstanceMask IFM_IMASK // Medium type field accessors. // #define IOMediumGetSubType(x) ((x) & kIOMediumSubTypeMask) #define IOMediumGetNetworkType(x) ((x) & kIOMediumNetworkTypeMask) #define IOMediumGetInstance(x) (((x) & kIOMediumInstanceMask) >> \ kIOMediumInstanceShift) //=========================================================================== // Medium flags. //=========================================================================== // Link status bits. // enum { kIONetworkLinkValid = IFM_AVALID, // link status is valid kIONetworkLinkActive = IFM_ACTIVE, // link is up/active. kIONetworkLinkNoNetworkChange = IFM_WAKESAMENET }; __END_DECLS #endif /* !_IONETWORKMEDIUM_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/network/IOEthernetInterface.h
/* * Copyright (c) 1998-2008 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOETHERNETINTERFACE_H #define _IOETHERNETINTERFACE_H /*! @defined kIOEthernetInterfaceClass @abstract The name of the IOEthernetInterface class. */ #define kIOEthernetInterfaceClass "IOEthernetInterface" /*! @defined kIOActivePacketFilters @abstract A property of IOEthernetInterface objects. @discussion The kIOActivePacketFilters property has an OSDictionary value that describes the current set of packet filters that have been successfully activated. Each entry in the dictionary is a key/value pair consisting of the filter group name, and an OSNumber describing the set of active filters for that group. Entries in this dictionary will mirror those in kIORequiredPacketFilters if the controller has reported success for all filter change requests from the IOEthernetInterface object. */ #define kIOActivePacketFilters "IOActivePacketFilters" /*! @defined kIORequiredPacketFilters @abstract A property of IOEthernetInterface objects. @discussion The kIORequiredPacketFilters property has an OSDictionary value that describes the current set of required packet filters. Each entry in the dictionary is a key/value pair consisting of the filter group name, and an OSNumber describing the set of required filters for that group. */ #define kIORequiredPacketFilters "IORequiredPacketFilters" /*! @defined kIOMulticastAddressList @abstract A property of IOEthernetInterface objects. @discussion The kIOMulticastAddressList property is an OSData object that describes the list of multicast addresses that are being used by the controller to match against the destination address of an incoming frame. */ #define kIOMulticastAddressList "IOMulticastAddressList" #define kIOMulticastFilterData kIOMulticastAddressList #endif /* !_IOETHERNETINTERFACE_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/network/IONetworkData.h
/* * Copyright (c) 1998-2008 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IONETWORKDATA_H #define _IONETWORKDATA_H #define IONetworkParameter IONetworkData // FIXME /*! @enum NetworkDataAccessTypes @abstract Constants that describe access types. @constant kIONetworkDataAccessTypeRead Read access. @constant kIONetworkDataAccessTypeWrite Write access (deprecated). @constant kIONetworkDataAccessTypeReset Reset access (deprecated). @constant kIONetworkDataAccessTypeSerialize Serialization access. */ enum { kIONetworkDataAccessTypeRead = 0x01, kIONetworkDataAccessTypeWrite = 0x02, kIONetworkDataAccessTypeReset = 0x04, kIONetworkDataAccessTypeSerialize = 0x08, kIONetworkDataAccessTypeMask = 0xff }; /*! @define kIONetworkDataBasicAccessTypes @discussion The default access types supported by an IONetworkData object. Allow read() and serialize(). */ #define kIONetworkDataBasicAccessTypes \ (kIONetworkDataAccessTypeRead | kIONetworkDataAccessTypeSerialize) /*! @enum NetworkDataBufferTypes @abstract The types of data buffers that can be managed by an IONetworkData object. @constant kIONetworkDataBufferTypeInternal An internal data buffer allocated by the init() method. @constant kIONetworkDataBufferTypeExternal An external (persistent) data buffer. @constant kIONetworkDataBufferTypeNone No data buffer. The only useful action perfomed by an IONetworkData object with this buffer type is to call the access notification handler. */ enum { kIONetworkDataBufferTypeInternal = 0, kIONetworkDataBufferTypeExternal, kIONetworkDataBufferTypeNone }; /*! @defined kIONetworkDataBytes @abstract A property of IONetworkData objects. @discussion The kIONetworkDataBytes property is an OSData that describes the data buffer of an IONetworkData object. This property is present only if kIONetworkDataAccessTypeSerialize access is supported. */ #define kIONetworkDataBytes "Data" /*! @defined kIONetworkDataAccessTypes @abstract A property of IONetworkData objects. @discussion The kIONetworkDataAccessTypes property is an OSNumber that describes the supported access types of an IONetworkData object. */ #define kIONetworkDataAccessTypes "Access Types" /*! @defined kIONetworkDataSize @abstract A property of IONetworkData objects. @discussion The kIONetworkDataSize property is an OSNumber that describes the size of the data buffer of an IONetworkData object. */ #define kIONetworkDataSize "Size" #endif /* !_IONETWORKDATA_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/network/IONetworkUserClient.h
/* * Copyright (c) 1998-2008 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IONETWORKUSERCLIENT_H #define _IONETWORKUSERCLIENT_H // IONetworkUserClient type ID. // #define kIONetworkUserClientTypeID 0xff000001 #define kIONUCType 0xff000001 // FIXME // IONetworkUserClient call structure definitions. // enum { kIONUCResetNetworkDataIndex = 0, kIONUCWriteNetworkDataIndex = 1, kIONUCReadNetworkDataIndex = 2, kIONUCGetNetworkDataCapacityIndex = 3, kIONUCGetNetworkDataHandleIndex = 4, kIONUCLastIndex }; #endif /* !_IONETWORKUSERCLIENT_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/network/IONetworkLib.h
/* * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /* * HISTORY * */ #ifndef _IONETWORKLIB_H #define _IONETWORKLIB_H #include <IOKit/IOKitLib.h> #include <IOKit/network/IONetworkData.h> #include <IOKit/network/IONetworkMedium.h> #include <IOKit/network/IONetworkStats.h> #include <IOKit/network/IOEthernetStats.h> #include <IOKit/network/IONetworkUserClient.h> typedef UInt32 IONDHandle; #ifdef __cplusplus extern "C" { #endif /*! @function IONetworkOpen @abstract Open a connection to an IONetworkInterface object. An IONetworkUserClient object is created to manage the connection. */ IOReturn IONetworkOpen(io_object_t obj, io_connect_t * con); /*! @function IONetworkClose @abstract Close the connection to an IONetworkInterface object. */ IOReturn IONetworkClose(io_connect_t con); /*! @function IONetworkWriteData @abstract Write to the buffer of a network data object. @param conObj The connection object. @param dataHandle The handle of a network data object. @param srcBuf The data to write is taken from this buffer. @param inSize The size of the source buffer. @result kIOReturnSuccess on success, or an error code otherwise. */ IOReturn IONetworkWriteData(io_connect_t conObj, IONDHandle dataHandle, UInt8 * srcBuf, UInt32 inSize); /*! @function IONetworkReadData @abstract Read the buffer of a network data object. @param conObj The connection object. @param dataHandle The handle of a network data object. @param destBuf The buffer where the data read shall be written to. @param inOutSizeP Pointer to an integer that the caller must initialize to contain the size of the buffer. This function will overwrite it with the actual number of bytes written to the buffer. @result kIOReturnSuccess on success, or an error code otherwise. */ IOReturn IONetworkReadData(io_connect_t conObj, IONDHandle dataHandle, UInt8 * destBuf, UInt32 * inOutSizeP); /*! @function IONetworkResetData @abstract Fill the buffer of a network data object with zeroes. @param conObject The connection object. @param dataHandle The handle of a network data object. @result kIOReturnSuccess on success, or an error code otherwise. */ IOReturn IONetworkResetData(io_connect_t conObject, IONDHandle dataHandle); /*! @function IONetworkGetDataCapacity @abstract Get the capacity (in bytes) of a network data object. @param conObject The connection object. @param dataHandle The handle of a network data object. @param capacityP Upon success, the capacity is written to this address. @result kIOReturnSuccess on success, or an error code otherwise. */ IOReturn IONetworkGetDataCapacity(io_connect_t conObject, IONDHandle dataHandle, UInt32 * capacityP); /*! @function IONetworkGetDataHandle @abstract Get the handle of a network data object with the given name. @param conObject The connection object. @param dataName The name of the network data object. @param dataHandleP Upon success, the handle is written to this address. @result kIOReturnSuccess on success, or an error code otherwise. */ IOReturn IONetworkGetDataHandle(io_connect_t conObject, const char * dataName, IONDHandle * dataHandleP); /*! @function IONetworkSetPacketFiltersMask @abstract Set the packet filters for a given filter group. @discussion A network controller may support a number of packets filters that can accept or reject a type of packet seen on the network. A filter group identifies a set of related filters, such as all filters that will allow a packet to pass upstream based on the destination address encoded within the packet. This function allows an user-space program to set the filtering performed by a given filter group. @param connect The connection object returned from IONetworkOpen(). @param filterGroup The name of the packet filter group. @param filtersMask A mask of filters to set. @param options No options are currently defined. @result An IOReturn error code. */ IOReturn IONetworkSetPacketFiltersMask( io_connect_t connect, const io_name_t filterGroup, UInt32 filtersMask, IOOptionBits options ); /*! @enum IONetworkPacketFilterOptions @constant kIONetworkSupportedPacketFilters Indicate the filters that are supported by the hardware. */ enum { kIONetworkSupportedPacketFilters = 0x0001 }; /*! @function IONetworkGetPacketFiltersMask @abstract Get the packet filters for a given filter group. @discussion A network controller may support a number of packets filters that can accept or reject a type of packet seen on the network. A filter group identifies a set of related filters, such as all filters that will allow a packet to pass upstream based on the destination address encoded within the packet. This function allows an user-space program to get the filtering performed by a given filter group. @param connect The connection object returned from IONetworkOpen(). @param filterGroup The name of the packet filter group. @param filtersMask Pointer to the return value containing a mask of packet filters. @param options kIONetworkSupportedPacketFilters may be set to fetch the filters that are supported by the hardware. @result An IOReturn error code. */ IOReturn IONetworkGetPacketFiltersMask( io_connect_t connect, const io_name_t filterGroup, UInt32 * filtersMask, IOOptionBits options ); #ifdef __cplusplus } #endif #endif /* !_IONETWORKLIB_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/network/IONetworkController.h
/* * Copyright (c) 1998-2008 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IONETWORKCONTROLLER_H #define _IONETWORKCONTROLLER_H /*! @defined kIONetworkControllerClass @abstract The name of the IONetworkController class. */ #define kIONetworkControllerClass "IONetworkController" /*! @defined kIOVendor @abstract A property of IONetworkController objects. @discussion The kIOVendor property is a property of IONetworkController objects. It has an OSString value that describes the vendor of the network controller. */ #define kIOVendor "IOVendor" /*! @defined kIOModel @abstract A property of IONetworkController objects. @discussion The kIOModel property is a property of IONetworkController objects. It has an OSString value that describes the model of the network controller. */ #define kIOModel "IOModel" /*! @defined kIORevision @abstract A property of IONetworkController objects. @discussion The kIORevision property is a property of IONetworkController objects. It has an OSString value that describes the revision level of the network controller. */ #define kIORevision "IORevision" /*! @defined kIOFeatures @abstract A property of IONetworkController objects. @discussion The kIOFeatures property is a property of IONetworkController objects. It has an OSNumber value that describes generic features defined by IONetworkController that are supported by the network controller. */ #define kIOFeatures "IOFeatures" /*! @defined kIOMediumDictionary @abstract A property of IONetworkController objects. @discussion The kIOMediumDictionary property is a property of IONetworkController objects. It has an OSDictionary value that is a container for the collection of IONetworkMedium objects that represent the media types supported by the network controller. Each entry in the dictionary is a key/value pair consisting of the medium name, and a dictionary value that contains the properties for that medium entry. */ #define kIOMediumDictionary "IOMediumDictionary" /*! @defined kIODefaultMedium @abstract A property of IONetworkController objects. @discussion The kIODefaultMedium property is a property of IONetworkController objects. It has an OSString value that describes the name of the default medium. This definition may change or disappear in the future. */ #define kIODefaultMedium "IODefaultMedium" /*! @defined kIOSelectedMedium @abstract A property of IONetworkController objects. @discussion The kIOSelectedMedium property is a property of IONetworkController objects. It has an OSSymbol value that describes the name of the current selected medium. This name can be used as a key into the medium dictionary to gather additional information about the selected medium. */ #define kIOSelectedMedium "IOSelectedMedium" /*! @defined kIOActiveMedium @abstract A property of IONetworkController objects. @discussion The kIOActiveMedium property is a property of IONetworkController objects. It has an OSSymbol value that describes the name of the active medium. This is the name of the medium where an active link has been established. This name can be used as a key into the medium dictionary to gather additional information about the active medium. */ #define kIOActiveMedium "IOActiveMedium" /*! @defined kIOLinkSpeed @abstract A property of IONetworkController objects. @discussion The kIOLinkSpeed property is a property of IONetworkController objects. It has an OSNumber value that describes the speed of the link established over the active medium in bits per second. */ #define kIOLinkSpeed "IOLinkSpeed" /*! @defined kIOLinkStatus @abstract A property of IONetworkController objects. @discussion The kIOLinkStatus property is a property of IONetworkController objects. It has an OSNumber value that describes the current network link status. See IONetworkMedium for the definition of the link status bits. */ #define kIOLinkStatus "IOLinkStatus" /*! @defined kIOLinkData @abstract A property of IONetworkController objects. @discussion The kIOLinkData property is a property of IONetworkController objects. It has an OSData value that contains additional information describing the active link that was established. Its interpretation is not defined. */ #define kIOLinkData "IOLinkData" /*! @defined kIOPacketFilters @abstract A property of IONetworkController objects. @discussion The kIOPacketFilters property is a property of IONetworkController objects. It has an OSDictionary value that describes the entire set of packet filters supported by the controller. Each entry in the dictionary is a key/value pair consisting of the filter group name, and an OSNumber describing the set of supported filters for that group. */ #define kIOPacketFilters "IOPacketFilters" /*! @defined kIOMACAddress @abstract A property of IONetworkController objects. @discussion The kIOMACAddress property is a property of IONetworkController objects. It has an OSData value that describes the hardware MAC (media access controller) address, or station address, of the network controller. */ #define kIOMACAddress "IOMACAddress" /*! @defined kIOMaxPacketSize @abstract A property of IONetworkController objects. @discussion The kIOMaxPacketSize property is a property of IONetworkController objects. It has an OSNumber value that describes the maximum packet size supported by the controller. */ #define kIOMaxPacketSize "IOMaxPacketSize" /*! @defined kIOMinPacketSize @abstract A property of IONetworkController objects. @discussion The kIOMinPacketSize property is a property of IONetworkController objects. It has an OSNumber value that describes the minimum packet size supported by the controller. */ #define kIOMinPacketSize "IOMinPacketSize" /*! @defined kIONetworkFilterGroup @abstract The name assigned to the standard network filter group. */ #define kIONetworkFilterGroup "IONetworkFilterGroup" /*! @enum StandardPacketFilters @abstract All standard packet filters. @discussion Each filter will allow the reception of certain class of packets depending on its destination MAC address. @constant kIOPacketFilterUnicast Reception of unicast packets. @constant kIOPacketFilterBroadcast Reception of broadcast packets. @constant kIOPacketFilterMulticast Reception of multicast packets addressed to a set of multicast addresses. @constant kIOPacketFilterMulticastAll Reception of all multicast packets. @constant kIOPacketFilterPromiscuous Reception of all packets. @constant kIOPacketFilterPromiscuousAll Reception of all packets, including bad packets. */ enum { kIOPacketFilterUnicast = 0x1, kIOPacketFilterBroadcast = 0x2, kIOPacketFilterMulticast = 0x10, kIOPacketFilterMulticastAll = 0x20, kIOPacketFilterPromiscuous = 0x100, kIOPacketFilterPromiscuousAll = 0x200 }; /*! @enum Network Feature Flags @abstract Feature flags returned by the getFeatures() method. @constant kIONetworkFeatureNoBSDWait Set this bit in the value returned by getFeatures() to disable the automatic wait for "IOBSD" resource by the IONetworkController::start() method. @constant kIONetworkFeatureHardwareVlan Set this bit in the value returned by getFeatures() to indicate the controller supports hardware stripping and stuffing of 802.1q vlan tags. If the controller supports this feature it must enable it when initializing so that all received packets delivered to higher layers have the tag stripped. The controller should use setVlanTag() to provide the tag information out of band. @constant kIONetworkFeatureSoftwareVlan Set this bit in the value returned by getFeatures() to indicate that the controller can support software based vlan by transmitting and receiving packets 4 bytes longer that normal. @constant kIONetworkFeatureMultiPages Set this bit if the driver is capable of handling packets coming down from the network stack that reside in virtually, but not in physically contiguous span of the external mbuf clusters. In this case, the data area of a packet in the external mbuf cluster might cross one or more physical pages that are disjoint, depending on the interface MTU and the packet size. Such a use of larger than system page size clusters by the network stack is done for better system efficiency. Drivers that utilize the IOMbufNaturalMemoryCursor with the getPhysicalSegmentsWithCoalesce interfaces and enumerate the list of vectors should set this flag for possible gain in performance during bulk data transfer. @constant kIONetworkFeatureTSOIPv4 Set this bit to advertise support for TCP/IPv4 segmentation offload. @constant kIONetworkFeatureTSOIPv6 Set this bit to advertise support for TCP/IPv6 segmentation offload. @constant kIONetworkFeatureTransmitCompletionStatus Set this bit to advertise the capability to report per-packet transmit completion status. See <code>IONetworkInterface::reportTransmitCompletionStatus</code>. @constant kIONetworkFeatureHWTimeStamp Set this bit to advertise the capability to compute per-packet timestamp in hardware. @constant kIONetworkFeatureHWTimeStamp Set this bit to advertise the capability to compute per-packet timestamp in software. */ enum { kIONetworkFeatureNoBSDWait = 0x001, kIONetworkFeatureHardwareVlan = 0x002, kIONetworkFeatureSoftwareVlan = 0x004, kIONetworkFeatureMultiPages = 0x008, kIONetworkFeatureTSOIPv4 = 0x010, kIONetworkFeatureTSOIPv6 = 0x020, kIONetworkFeatureTransmitCompletionStatus = 0x040, kIONetworkFeatureHWTimeStamp = 0x080, kIONetworkFeatureSWTimeStamp = 0x100 }; #endif /* !_IONETWORKCONTROLLER_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/network/IONetworkStats.h
/* * Copyright (c) 1998-2008 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IONETWORKSTATS_H #define _IONETWORKSTATS_H #include <libkern/OSTypes.h> /*! @header IONetworkStats.h @discussion Generic network statistics. */ //------------------------------------------------------------------------ // Generic network statistics. Common to all network interfaces. // // WARNING: This structure must match the statistics field in // ifnet->if_data. This structure will overlay a portion of ifnet. /*! @typedef IONetworkStats @discussion Generic network statistics structure. @field inputPackets count input packets. @field inputErrors count input errors. @field outputPackets count output packets. @field outputErrors count output errors. @field collisions count collisions on CDMA networks. */ typedef struct { UInt32 inputPackets; UInt32 inputErrors; UInt32 outputPackets; UInt32 outputErrors; UInt32 collisions; } IONetworkStats; /*! @defined kIONetworkStatsKey @discussion Defines the name of an IONetworkData that contains an IONetworkStats. */ #define kIONetworkStatsKey "IONetworkStatsKey" //------------------------------------------------------------------------ // Output queue statistics. /*! @typedef IOOutputQueueStats @discussion Statistics recorded by IOOutputQueue objects. @field capacity queue capacity. @field size current size of the queue. @field peakSize peak size of the queue. @field dropCount number of packets dropped. @field outputCount number of output packets. @field retryCount number of retries. @field stallCount number of queue stalls. */ typedef struct { UInt32 capacity; UInt32 size; UInt32 peakSize; UInt32 dropCount; UInt32 outputCount; UInt32 retryCount; UInt32 stallCount; UInt32 reserved[4]; } IOOutputQueueStats; /*! @defined kIOOutputQueueStatsKey @discussion Defines the name of an IONetworkData that contains an IOOutputQueueStats. */ #define kIOOutputQueueStatsKey "IOOutputQueueStatsKey" #endif /* !_IONETWORKSTATS_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOStorageControllerCharacteristics.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOKIT_IO_STORAGE_CONTROLLER_CHARACTERISTICS_H_ #define _IOKIT_IO_STORAGE_CONTROLLER_CHARACTERISTICS_H_ #include <TargetConditionals.h> /* * Controller Characteristics - Characteristics defined for controllers. */ /*! @defined kIOPropertyControllerCharacteristicsKey @discussion This key is used to define Controller Characteristics for a particular device and it has an associated dictionary which lists the controller characteristics. Requirement: Mandatory Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>Automatic</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyControllerCharacteristicsKey "Controller Characteristics" /*! @defined kIOPropertySASAddressKey @discussion This key is the unique 64-bit SAS Address for the device server node located at this port, or for the initiating host port. Requirement: Mandatory for SAS. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>SAS Address</key> <data>0011223344556677</data> </dict> </dict> @/textblock </pre> */ #define kIOPropertySASAddressKey "SAS Address" /*! @defined kIOPropertySCSIPortIdentifierKey @discussion This key is the unique port identifier for the device server node located at this port, or for the initiating host port. The format for this data is allowed to be vendor-specific, as long as it is guaranteed to be unique. Length is arbitrary, to allow for itnerfaces with non-standard identifier rules. It is recommended to have this be a copy of an existing standard unique identifier for this port, should one already exist for your interface type Requirement: Mandatory. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Unique SCSI Port Identifier</key> <data>0011223344556677</data> </dict> </dict> @/textblock </pre> */ #define kIOPropertySCSIPortIdentifierKey "Unique SCSI Port Identifier" /*! @defined kIOPropertyFibreChannelNodeWorldWideNameKey @discussion This key is the unique 64-bit World Wide Name for the device server node located at this port, or for the initiating host port. Requirement: Mandatory for Fibre Channel Interface. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Node World Wide Name</key> <data>0011223344556677</data> </dict> </dict> @/textblock </pre> */ #define kIOPropertyFibreChannelNodeWorldWideNameKey "Node World Wide Name" /*! @defined kIOPropertyFibreChannelPortWorldWideNameKey @discussion This key is the unique 64-bit World Wide Name for the port. Requirement: Mandatory for Fibre Channel Interface. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port World Wide Name</key> <data>0011223344556677</data> </dict> </dict> @/textblock </pre> */ #define kIOPropertyFibreChannelPortWorldWideNameKey "Port World Wide Name" /*! @defined kIOPropertyFibreChannelAddressIdentifierKey @discussion This key is the 24-bit Address Identifier (S_ID or D_ID) as defined in the FC-FS specification. It contains the address identifier of the source or destination Nx_Port. Note: This value can change. It is not a static value. Requirement: Optional (only necessary for Fibre Channel Interface). Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Address Identifier</key> <data>001122</data> </dict> </dict> @/textblock </pre> */ #define kIOPropertyFibreChannelAddressIdentifierKey "Address Identifier" /*! @defined kIOPropertyFibreChannelALPAKey @discussion This key is the 8-bit Arbitrated Loop Physical Address (AL_PA) value as defined in the FC-AL-2 specification. Note: This value can change. It is not a static value. Requirement: Optional (only necessary for Fibre Channel Interface). Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>AL_PA</key> <data>04</data> </dict> </dict> @/textblock </pre> */ #define kIOPropertyFibreChannelALPAKey "AL_PA" /*! @defined kIOPropertyPortStatusKey @discussion This key is associated with the current port status of the physical link. The port status is either "Link Established", "No Link Established", or "Link Failed". Note: This value can change when the port status changes. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Status</key> <string>Link Established</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortStatusKey "Port Status" /*! @defined kIOPropertyPortSpeedKey @discussion This key is associated with the current port speed. The port speed can be any valid speed for the interconnect. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>Automatic (1 Gigabit)</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeedKey "Port Speed" /*! @defined kIOPropertyPortTopologyKey @discussion This key is associated with the current port topology. The port topology can be any valid topology for the interconnect. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Topology</key> <string>Automatic (N_Port)</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortTopologyKey "Port Topology" /*! @defined kIOPropertyPortDescriptionKey @discussion This key is associated with an human readable port description. Examples include "Channel A", "Port 1", etc. Requirement: Optional for all interconnects. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Description</key> <string>Channel A</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortDescriptionKey "Port Description" /*! @defined kIOPropertySCSIParallelSignalingTypeKey @discussion This key is associated with the signaling type used for this SCSI Parallel bus. Valid values include "High Voltage Differential", "Low Voltage Differential", and "Single Ended". Requirement: Optional for SCSI Parallel Interface. Not defined for any other physical interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>SCSI Parallel Signaling Type</key> <string>High Voltage Differential</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertySCSIParallelSignalingTypeKey "SCSI Parallel Signaling Type" /*! @defined kIOPropertyFibreChannelCableDescriptionKey @discussion This key is associated with the cabling type used for this Fibre Channel port. Valid values include "Copper" and "Fiber Optic". Requirement: Optional for Fibre Channel Interface. Not defined for any other physical interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Fibre Channel Cabling Type</key> <string>Copper</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyFibreChannelCableDescriptionKey "Fibre Channel Cabling Type" /*! @defined kIOPropertyEncryptionTypeKey @discussion This key is associated with the encryption type used for this storage controller. Valid values currently include "AES-XTS", "AES-XEX" and "AES-CBC". Requirement: Optional for all storage controllers. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Encryption Type</key> <string>AES-XTS</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyEncryptionTypeKey "Encryption Type" /*! @defined kIOPropertyLowPowerModeKey @discussion This key is associated with whether the storage device has low-power mode enabled. If enabled, it will set this key to true. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Low Power Mode</key> <true/> </dict> </dict> @/textblock </pre> */ #define kIOPropertyLowPowerModeKey "Low Power Mode" /* * Values - Values for the characteristics defined above. */ /*! @defined kIOPropertyPortStatusLinkEstablishedKey @discussion This key defines the value of Link Established for the key kIOPropertyPortStatusKey. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Status</key> <string>Link Established</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortStatusLinkEstablishedKey "Link Established" /*! @defined kIOPropertyPortStatusNoLinkEstablishedKey @discussion This key defines the value of No Link Established for the key kIOPropertyPortStatusKey. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Status</key> <string>No Link Established</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortStatusNoLinkEstablishedKey "No Link Established" /*! @defined kIOPropertyPortStatusLinkFailedKey @discussion This key defines the value of Link Failed for the key kIOPropertyPortStatusKey. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Status</key> <string>Link Failed</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortStatusLinkFailedKey "Link Failed" /*! @defined kIOPropertyPortSpeedAutomaticKey @discussion This key defines the value of Automatic for the key kIOPropertyPortSpeedKey. If the speed of the port is automatically adjusted by the host/device and a definitive speed is not known, this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>Automatic</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeedAutomaticKey "Automatic" /*! @defined kIOPropertyPortSpeed1GigabitKey @discussion This key defines the value of 1 Gigabit for the key kIOPropertyPortSpeedKey. If the speed of the port is 1 Gigabit per second and is not automatically determined (i.e. the user configured the port to be exactly this speed), this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>1 Gigabit</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeed1GigabitKey "1 Gigabit" /*! @defined kIOPropertyPortSpeed1_5GigabitKey @discussion This key defines the value of 1.5 Gigabit for the key kIOPropertyPortSpeedKey. If the speed of the port is 1.5 Gigabits per second and is not automatically determined (i.e. the user configured the port to be exactly this speed), this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>1.5 Gigabit</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeed1_5GigabitKey "1.5 Gigabit" /*! @defined kIOPropertyPortSpeed2GigabitKey @discussion This key defines the value of 2 Gigabit for the key kIOPropertyPortSpeedKey. If the speed of the port is 2 Gigabits per second and is not automatically determined (i.e. the user configured the port to be exactly this speed), this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>2 Gigabit</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeed2GigabitKey "2 Gigabit" /*! @defined kIOPropertyPortSpeed3GigabitKey @discussion This key defines the value of 3 Gigabit for the key kIOPropertyPortSpeedKey. If the speed of the port is 3 Gigabits per second and is not automatically determined (i.e. the user configured the port to be exactly this speed), this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>3 Gigabit</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeed3GigabitKey "3 Gigabit" /*! @defined kIOPropertyPortSpeed4GigabitKey @discussion This key defines the value of 4 Gigabit for the key kIOPropertyPortSpeedKey. If the speed of the port is 4 Gigabits per second and is not automatically determined (i.e. the user configured the port to be exactly this speed), this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>4 Gigabit</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeed4GigabitKey "4 Gigabit" /*! @defined kIOPropertyPortSpeed6GigabitKey @discussion This key defines the value of 6 Gigabit for the key kIOPropertyPortSpeedKey. If the speed of the port is 6 Gigabits per second and is not automatically determined (i.e. the user configured the port to be exactly this speed), this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>6 Gigabit</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeed6GigabitKey "6 Gigabit" /*! @defined kIOPropertyPortSpeed8GigabitKey @discussion This key defines the value of 8 Gigabit for the key kIOPropertyPortSpeedKey. If the speed of the port is 8 Gigabits per second and is not automatically determined (i.e. the user configured the port to be exactly this speed), this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>8 Gigabit</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeed8GigabitKey "8 Gigabit" /*! @defined kIOPropertyPortSpeed10GigabitKey @discussion This key defines the value of 10 Gigabit for the key kIOPropertyPortSpeedKey. If the speed of the port is 10 Gigabits per second and is not automatically determined (i.e. the user configured the port to be exactly this speed), this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>10 Gigabit</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeed10GigabitKey "10 Gigabit" /*! @defined kIOPropertyPortSpeed12GigabitKey @discussion This key defines the value of 12 Gigabit for the key kIOPropertyPortSpeedKey. If the speed of the port is 12 Gigabits per second and is not automatically determined (i.e. the user configured the port to be exactly this speed), this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>12 Gigabit</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeed12GigabitKey "12 Gigabit" /*! @defined kIOPropertyPortSpeed16GigabitKey @discussion This key defines the value of 16 Gigabit for the key kIOPropertyPortSpeedKey. If the speed of the port is 16 Gigabits per second and is not automatically determined (i.e. the user configured the port to be exactly this speed), this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>16 Gigabit</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeed16GigabitKey "16 Gigabit" /*! @defined kIOPropertyPortSpeed40GigabitKey @discussion This key defines the value of 40 Gigabit for the key kIOPropertyPortSpeedKey. If the speed of the port is 40 Gigabits per second and is not automatically determined (i.e. the user configured the port to be exactly this speed), this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>40 Gigabit</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeed40GigabitKey "40 Gigabit" /*! @defined kIOPropertyPortSpeedAutomatic1GigabitKey @discussion This key defines the value of Automatic (1 Gigabit) for the key kIOPropertyPortSpeedKey. If the speed of the port is 1 Gigabit per second and is automatically determined by host software, this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>Automatic (1 Gigabit)</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeedAutomatic1GigabitKey "Automatic (1 Gigabit)" /*! @defined kIOPropertyPortSpeedAutomatic1_5GigabitKey @discussion This key defines the value of Automatic (1.5 Gigabit) for the key kIOPropertyPortSpeedKey. If the speed of the port is 1.5 Gigabits per second and is automatically determined by host software, this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>Automatic (1.5 Gigabit)</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeedAutomatic1_5GigabitKey "Automatic (1.5 Gigabit)" /*! @defined kIOPropertyPortSpeedAutomatic2GigabitKey @discussion This key defines the value of Automatic (2 Gigabit) for the key kIOPropertyPortSpeedKey. If the speed of the port is 2 Gigabits per second and is automatically determined by host software, this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>Automatic (2 Gigabit)</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeedAutomatic2GigabitKey "Automatic (2 Gigabit)" /*! @defined kIOPropertyPortSpeedAutomatic3GigabitKey @discussion This key defines the value of Automatic (3 Gigabit) for the key kIOPropertyPortSpeedKey. If the speed of the port is 3 Gigabits per second and is automatically determined by host software, this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>Automatic (3 Gigabit)</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeedAutomatic3GigabitKey "Automatic (3 Gigabit)" /*! @defined kIOPropertyPortSpeedAutomatic4GigabitKey @discussion This key defines the value of Automatic (4 Gigabit) for the key kIOPropertyPortSpeedKey. If the speed of the port is 4 Gigabits per second and is automatically determined by host software, this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>Automatic (4 Gigabit)</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeedAutomatic4GigabitKey "Automatic (4 Gigabit)" /*! @defined kIOPropertyPortSpeedAutomatic6GigabitKey @discussion This key defines the value of Automatic (6 Gigabit) for the key kIOPropertyPortSpeedKey. If the speed of the port is 6 Gigabits per second and is automatically determined by host software, this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>Automatic (6 Gigabit)</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeedAutomatic6GigabitKey "Automatic (6 Gigabit)" /*! @defined kIOPropertyPortSpeedAutomatic8GigabitKey @discussion This key defines the value of Automatic (8 Gigabit) for the key kIOPropertyPortSpeedKey. If the speed of the port is 8 Gigabits per second and is automatically determined by host software, this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>Automatic (8 Gigabit)</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeedAutomatic8GigabitKey "Automatic (8 Gigabit)" /*! @defined kIOPropertyPortSpeedAutomatic10GigabitKey @discussion This key defines the value of Automatic (10 Gigabit) for the key kIOPropertyPortSpeedKey. If the speed of the port is 10 Gigabits per second and is automatically determined by host software, this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Speed</key> <string>Automatic (10 Gigabit)</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortSpeedAutomatic10GigabitKey "Automatic (10 Gigabit)" /*! @defined kIOPropertyPortTopologyAutomaticKey @discussion This key defines the value of Automatic for the key kIOPropertyPortTopologyKey. If the topology of the port is automatically adjusted by the host/device and a definitive topology is not known, this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Topology</key> <string>Automatic</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortTopologyAutomaticKey "Automatic" /*! @defined kIOPropertyPortTopologyNPortKey @discussion This key defines the value of N_Port for the key kIOPropertyPortTopologyKey. If the topology of the port is an N_Port, this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Topology</key> <string>N_Port</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortTopologyNPortKey "N_Port" /*! @defined kIOPropertyPortTopologyNLPortKey @discussion This key defines the value of NL_Port for the key kIOPropertyPortTopologyKey. If the topology of the port is an NL_Port, this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Topology</key> <string>NL_Port</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortTopologyNLPortKey "NL_Port" /*! @defined kIOPropertyPortTopologyAutomaticNPortKey @discussion This key defines the value of Automatic (N_Port) for the key kIOPropertyPortTopologyKey. If the topology of the port is N_Port and is automatically determined by host software, this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Topology</key> <string>Automatic (N_Port)</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortTopologyAutomaticNPortKey "Automatic (N_Port)" /*! @defined kIOPropertyPortTopologyAutomaticNLPortKey @discussion This key defines the value of Automatic (NL_Port) for the key kIOPropertyPortTopologyKey. If the topology of the port is NL_Port and is automatically determined by host software, this key should be used. Note: This value can change. It is not a static value. Requirement: Optional for any interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Port Topology</key> <string>Automatic (NL_Port)</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPortTopologyAutomaticNLPortKey "Automatic (NL_Port)" /*! @defined kIOPropertySCSIParallelSignalingTypeHVDKey @discussion This key defines the value of High Voltage Differential for the key kIOPropertySCSIParallelSignalingTypeKey. If the signaling type of the port is High Voltage Differential, this key should be used. Requirement: Optional for SCSI Parallel Interface interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>SCSI Parallel Signaling Type</key> <string>High Voltage Differential</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertySCSIParallelSignalingTypeHVDKey "High Voltage Differential" /*! @defined kIOPropertySCSIParallelSignalingTypeLVDKey @discussion This key defines the value of Low Voltage Differential for the key kIOPropertySCSIParallelSignalingTypeKey. If the signaling type of the port is Low Voltage Differential, this key should be used. Requirement: Optional for SCSI Parallel Interface interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>SCSI Parallel Signaling Type</key> <string>Low Voltage Differential</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertySCSIParallelSignalingTypeLVDKey "Low Voltage Differential" /*! @defined kIOPropertySCSIParallelSignalingTypeSEKey @discussion This key defines the value of Single Ended for the key kIOPropertySCSIParallelSignalingTypeKey. If the signaling type of the port is Single Ended, this key should be used. Requirement: Optional for SCSI Parallel Interface interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>SCSI Parallel Signaling Type</key> <string>Single Ended</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertySCSIParallelSignalingTypeSEKey "Single Ended" /*! @defined kIOPropertyFibreChannelCableDescriptionCopperKey @discussion This key defines the value of Copper for the key kIOPropertyFibreChannelCableDescriptionKey. If the cabling is Copper, this key should be used. Requirement: Optional for Fibre Channel Interface interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Fibre Channel Cabling Type</key> <string>Copper</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyFibreChannelCableDescriptionCopperKey "Copper" /*! @defined kIOPropertyFibreChannelCableDescriptionFiberOpticKey @discussion This key defines the value of Fiber Optic for the key kIOPropertyFibreChannelCableDescriptionKey. If the cabling is Fiber Optic, this key should be used. Requirement: Optional for Fibre Channel Interface interconnect. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Fibre Channel Cabling Type</key> <string>Fiber Optic</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyFibreChannelCableDescriptionFiberOpticKey "Fiber Optic" /*! @defined kIOPropertyAESCBCKey @discussion This key defines the value of AES-CBC for the key kIOPropertyEncryptionTypeKey. If the encryption used is AES-CBC, this key should be used. Requirement: Optional for all storage controllers. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Encryption Type</key> <string>AES-CBC</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyAESCBCKey "AES-CBC" /*! @defined kIOPropertyAESXTSKey @discussion This key defines the value of AES-XTS for the key kIOPropertyEncryptionTypeKey. If the encryption used is AES-XTS, this key should be used. Requirement: Optional for all storage controllers. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Encryption Type</key> <string>AES-XTS</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyAESXTSKey "AES-XTS" /*! @defined kIOPropertyAESXEXKey @discussion This key defines the value of AES-XEX for the key kIOPropertyEncryptionTypeKey. If the encryption used is AES-XEX, this key should be used. Requirement: Optional for all storage controllers. Example: <pre> @textblock <dict> <key>Controller Characteristics</key> <dict> <key>Encryption Type</key> <string>AES-XEX</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyAESXEXKey "AES-XEX" #endif /* _IOKIT_IO_STORAGE_CONTROLLER_CHARACTERISTICS_H_ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOBDMediaBSDClient.h
/* * Copyright (c) 2006-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOBDMEDIABSDCLIENT_H #define _IOBDMEDIABSDCLIENT_H #include <sys/ioctl.h> #include <sys/types.h> #include <IOKit/storage/IOBDTypes.h> /* * Definitions * * ioctl description * ---------------------------- ------------------------------------------------ * DKIOCBDREADSTRUCTURE see IOBDMedia::readStructure() in IOBDMedia.h * * DKIOCBDREADDISCINFO see IOBDMedia::readDiscInfo() in IOBDMedia.h * DKIOCBDREADTRACKINFO see IOBDMedia::readTrackInfo() in IOBDMedia.h * * DKIOCBDREPORTKEY see IOBDMedia::reportKey() in IOBDMedia.h * DKIOCBDSENDKEY see IOBDMedia::sendKey() in IOBDMedia.h * * DKIOCBDGETSPEED see IOBDMedia::getSpeed() in IOBDMedia.h * DKIOCBDSETSPEED see IOBDMedia::setSpeed() in IOBDMedia.h * * in /System/Library/Frameworks/Kernel.framework/Headers/IOKit/storage/ */ __exported_push typedef struct { uint8_t format; uint8_t reserved0008[3]; /* reserved, clear to zero */ uint32_t address; uint8_t grantID; uint8_t layer; uint8_t reserved0080[4]; /* reserved, clear to zero */ uint16_t bufferLength; void * buffer; } dk_bd_read_structure_t; typedef struct { uint8_t format; uint8_t keyClass; uint8_t blockCount; uint8_t reserved0024[1]; /* reserved, clear to zero */ uint32_t address; uint8_t grantID; uint8_t reserved0072[5]; /* reserved, clear to zero */ uint16_t bufferLength; void * buffer; } dk_bd_report_key_t; typedef struct { uint8_t format; uint8_t keyClass; uint8_t reserved0016[6]; /* reserved, clear to zero */ uint8_t grantID; uint8_t reserved0072[5]; /* reserved, clear to zero */ uint16_t bufferLength; void * buffer; } dk_bd_send_key_t; typedef struct { uint8_t reserved0000[14]; /* reserved, clear to zero */ uint16_t bufferLength; /* actual length on return */ void * buffer; } dk_bd_read_disc_info_t; typedef struct { uint8_t reserved0000[4]; /* reserved, clear to zero */ uint32_t address; uint8_t addressType; uint8_t reserved0072[5]; /* reserved, clear to zero */ uint16_t bufferLength; /* actual length on return */ void * buffer; } dk_bd_read_track_info_t; __exported_pop #define DKIOCBDREADSTRUCTURE _IOW('d', 160, dk_bd_read_structure_t) #define DKIOCBDREPORTKEY _IOW('d', 161, dk_bd_report_key_t) #define DKIOCBDSENDKEY _IOW('d', 162, dk_bd_send_key_t) #define DKIOCBDGETSPEED _IOR('d', 163, uint16_t) #define DKIOCBDSETSPEED _IOW('d', 163, uint16_t) #define DKIOCBDREADDISCINFO _IOWR('d', 164, dk_bd_read_disc_info_t) #define DKIOCBDREADTRACKINFO _IOWR('d', 165, dk_bd_read_track_info_t) #define DKIOCBDSPLITTRACK _IOW('d', 166, uint32_t) #endif /* !_IOBDMEDIABSDCLIENT_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOFireWireStorageCharacteristics.h
/* * Copyright (c) 1998-2009 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOKIT_IO_FIREWIRE_STORAGE_DEVICE_CHARACTERISTICS_H_ #define _IOKIT_IO_FIREWIRE_STORAGE_DEVICE_CHARACTERISTICS_H_ // // Bridge Characteristics - Characteristics defined for FireWire bridges. // /*! @defined kIOPropertyBridgeCharacteristicsKey @discussion This key is used to define Bridge Characteristics for a particular devices's bridge chipset. It has an associated dictionary which lists the bridge characteristics. Requirement: Optional Example: <pre> @textblock <dict> <key>Bridge Characteristics</key> <dict> <key>Bridge Vendor Name</key> <string>Oxford Semiconductor</string> <key>Bridge Model Name</key> <string>FW911</string> <key>Bridge Revision Level</key> <string>3.7</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyBridgeCharacteristicsKey "Bridge Characteristics" #define kIOPropertyBridgeVendorNameKey "Bridge Vendor Name" #define kIOPropertyBridgeModelNameKey "Bridge Model Name" #define kIOPropertyBridgeRevisionLevelKey "Bridge Revision Level" #endif /* _IOKIT_IO_FIREWIRE_STORAGE_DEVICE_CHARACTERISTICS_H_ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IODVDBlockStorageDevice.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /*! * @header IODVDBlockStorageDevice * @abstract * This header contains the IODVDBlockStorageDevice class definition. */ #ifndef _IODVDBLOCKSTORAGEDEVICE_H #define _IODVDBLOCKSTORAGEDEVICE_H #include <IOKit/storage/IODVDTypes.h> /*! * @defined kIODVDBlockStorageDeviceClass * @abstract * kIODVDBlockStorageDeviceClass is the name of the IODVDBlockStorageDevice class. * @discussion * kIODVDBlockStorageDeviceClass is the name of the IODVDBlockStorageDevice class. */ #define kIODVDBlockStorageDeviceClass "IODVDBlockStorageDevice" #endif /* !_IODVDBLOCKSTORAGEDEVICE_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOCDBlockStorageDevice.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /*! * @header IOCDBlockStorageDevice * @abstract * This header contains the IOCDBlockStorageDevice class definition. */ #ifndef _IOCDBLOCKSTORAGEDEVICE_H #define _IOCDBLOCKSTORAGEDEVICE_H #include <IOKit/storage/IOCDTypes.h> /*! * @defined kIOCDBlockStorageDeviceClass * @abstract * kIOCDBlockStorageDeviceClass is the name of the IOCDBlockStorageDevice class. * @discussion * kIOCDBlockStorageDeviceClass is the name of the IOCDBlockStorageDevice class. */ #define kIOCDBlockStorageDeviceClass "IOCDBlockStorageDevice" #endif /* !_IOCDBLOCKSTORAGEDEVICE_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOPartitionScheme.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /*! * @header IOPartitionScheme * @abstract * This header contains the IOPartitionScheme class definition. */ #ifndef _IOPARTITIONSCHEME_H #define _IOPARTITIONSCHEME_H /*! * @defined kIOPartitionSchemeClass * @abstract * The name of the IOPartitionScheme class. * @discussion * kIOPartitionSchemeClass is the name of the IOPartitionScheme class. */ #define kIOPartitionSchemeClass "IOPartitionScheme" /*! * @defined kIOMediaBaseKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaBaseKey property has an OSNumber value and is placed into an * IOMedia instance created via the partition scheme. It describes the byte * offset of the partition relative to the provider media. */ #define kIOMediaBaseKey "Base" /*! * @defined kIOMediaLiveKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaLiveKey property has an OSBoolean * value and is placed into an IOMedia instance * created via the partition scheme. It describes whether the * partition is live, that is, it is up-to-date with respect * to the on-disk partition table. */ #define kIOMediaLiveKey "Live" /*! * @defined kIOMediaPartitionIDKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaPartitionIDKey property has an OSNumber * value and is placed into an IOMedia instance * created via the partition scheme. It is an ID that differentiates one * partition from the other (within a given scheme). It is typically an index * into the on-disk partition table. */ #define kIOMediaPartitionIDKey "Partition ID" #endif /* !_IOPARTITIONSCHEME_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOBDMedia.h
/* * Copyright (c) 2006-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /*! * @header IOBDMedia * @abstract * This header contains the IOBDMedia class definition. */ #ifndef _IOBDMEDIA_H #define _IOBDMEDIA_H /*! * @defined kIOBDMediaClass * @abstract * kIOBDMediaClass is the name of the IOBDMedia class. * @discussion * kIOBDMediaClass is the name of the IOBDMedia class. */ #define kIOBDMediaClass "IOBDMedia" /*! * @defined kIOBDMediaTypeKey * @abstract * kIOBDMediaTypeKey is a property of IOBDMedia objects. It has an OSString * value. * @discussion * The kIOBDMediaTypeKey property identifies the BD media type (BD-ROM, BD-R, * BD-RE, etc). See the kIOBDMediaType contants for possible values. */ #define kIOBDMediaTypeKey "Type" /*! * @defined kIOBDMediaTypeROM * The kIOBDMediaTypeKey constant for BD-ROM media. */ #define kIOBDMediaTypeROM "BD-ROM" /*! * @defined kIOBDMediaTypeR * The kIOBDMediaTypeKey constant for BD-R media. */ #define kIOBDMediaTypeR "BD-R" /*! * @defined kIOBDMediaTypeRE * The kIOBDMediaTypeKey constant for BD-RE media. */ #define kIOBDMediaTypeRE "BD-RE" #endif /* !_IOBDMEDIA_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOFilterScheme.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /*! * @header IOFilterScheme * @abstract * This header contains the IOFilterScheme class definition. */ #ifndef _IOFILTERSCHEME_H #define _IOFILTERSCHEME_H /*! * @defined kIOFilterSchemeClass * @abstract * The name of the IOFilterScheme class. * @discussion * kIOFilterSchemeClass is the name of the IOFilterScheme class. */ #define kIOFilterSchemeClass "IOFilterScheme" #endif /* !_IOFILTERSCHEME_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOAppleLabelScheme.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /* * This header contains the IOAppleLabelScheme class definition. */ #ifndef _IOAPPLELABELSCHEME_H #define _IOAPPLELABELSCHEME_H #include <IOKit/IOTypes.h> /* * kIOAppleLabelSchemeClass is the name of the IOAppleLabelScheme class. */ #define kIOAppleLabelSchemeClass "IOAppleLabelScheme" /* * Apple Label Scheme Definitions */ #pragma pack(push, 1) /* (enable 8-bit struct packing) */ /* Label scheme. */ struct applelabel { uint8_t al_boot0[416]; /* (reserved for boot area) */ uint16_t al_magic; /* (the magic number) */ uint16_t al_type; /* (label type) */ uint32_t al_flags; /* (generic flags) */ uint64_t al_offset; /* (offset of property area, bytes) */ uint32_t al_size; /* (size of property area, bytes) */ uint32_t al_checksum; /* (checksum of property area) */ uint8_t al_boot1[72]; /* (reserved for boot area) */ }; /* Label scheme signature (al_magic). */ #define AL_MAGIC 0x414C /* Label scheme version (al_type). */ #define AL_TYPE_DEFAULT 0x0000 /* Label scheme flags (al_flags). */ #define AL_FLAG_DEFAULT 0x00000000 #pragma pack(pop) /* (reset to default struct packing) */ #endif /* !_IOAPPLELABELSCHEME_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOBlockStorageDevice.h
/* * Copyright (c) 1998-2015 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /*! * @header IOBlockStorageDevice * @abstract * This header contains the IOBlockStorageDevice class definition. */ #ifndef _IOBLOCKSTORAGEDEVICE_H #define _IOBLOCKSTORAGEDEVICE_H #include <IOKit/IOTypes.h> #include <IOKit/storage/IOStorageDeviceCharacteristics.h> /*! * @defined kIOBlockStorageDeviceClass * @abstract * The name of the IOBlockStorageDevice class. */ #define kIOBlockStorageDeviceClass "IOBlockStorageDevice" /*! * @defined kIOBlockStorageDeviceWriteCacheStateKey * @abstract * The name of the property used to get or set the write cache state of the * block storage device. */ #define kIOBlockStorageDeviceWriteCacheStateKey "WriteCacheState" #endif /* !_IOBLOCKSTORAGEDEVICE_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOStorageCardCharacteristics.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOKIT_IO_STORAGE_CARD_CHARACTERISTICS_H_ #define _IOKIT_IO_STORAGE_CARD_CHARACTERISTICS_H_ /* * Card Characteristics - Characteristics defined for cards. */ /*! @defined kIOPropertyCardCharacteristicsKey @discussion This key is used to define Card Characteristics for a particular piece of MMC/SD media and it has an associated dictionary which lists the card characteristics. Requirement: Mandatory Example: <pre> @textblock <dict> <key>Card Characteristics</key> <dict> <key>Product Name</key> <string>SD32G</string> <key>Product Revision Level</key> <string>1.0</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyCardCharacteristicsKey "Card Characteristics" /*! @defined kIOPropertySlotKey @discussion This key is used to define the slot number for the device Requirement: Mandatory Example: <pre> @textblock <dict> <key>Slot</key> <integer>1<integer> </dict> @/textblock </pre> */ #define kIOPropertySlotKey "Slot" /*! @defined kIOProperty64BitKey @discussion This key defines wether the device supports 64-bit. Requirement: Mandatory Example: <pre> @textblock <dict> <key>64-bit</key> <true/> </dict> @/textblock </pre> */ #define kIOProperty64BitKey "64-bit" /*! @defined kIOPropertyClockDivisorKey @discussion This key defines the current clock divisor for the device. Requirement: Mandatory. Example: <pre> @textblock <dict> <key>Clock Divisor</key> <integer>128</integer> </dict> @/textblock </pre> */ #define kIOPropertyClockDivisorKey "Clock Divisor" /*! @defined kIOPropertyBaseFrequencyKey @discussion This key defines the current base frequency for the device. Requirement: Mandatory. Example: <pre> @textblock <dict> <key>Base Frequency</key> <integer>50</integer> </dict> @/textblock </pre> */ #define kIOPropertyBaseFrequencyKey "Base Frequency" /*! @defined kIOPropertyBusVoltageKey @discussion This key defines the current bus voltage for the device in mV Requirement: Mandatory. Example: <pre> @textblock <dict> <key>Bus Voltage</key> <integer>3300</integer> </dict> </dict> @/textblock </pre> */ #define kIOPropertyBusVoltageKey "Bus Voltage" /*! @defined kIOPropertyBusWidthKey @discussion This key defines the current bus width for the device. Requirement: Mandatory. Example: <pre> @textblock <dict> <key>Bus Width</key> <integer>4</integer> </dict> @/textblock </pre> */ #define kIOPropertyBusWidthKey "Bus Width" /*! @defined kIOPropertyCardPresentKey @discussion This key defines wether a MMC or SD card is physically present. Requirement: Mandatory Example: <pre> @textblock <dict> <key>Card Present</key> <true/> </dict> @/textblock </pre> */ #define kIOPropertyCardPresentKey "Card Present" /*! @defined kIOPropertyProductSerialNumberKey @discussion This key is used to indicate the card serial number ID. Requirement: Mandatory Example: <pre> @textblock <dict> <key>Card Characteristics</key> <dict> <key>Product Name</key> <string>SD32G</string> <key>Product Revision Level</key> <string>1.0</string> <key>Card Type</key> <string>SDHC</string> <key>Serial Number</key> <data>0045ff</data> </dict> </dict> @/textblock </pre> */ #define kIOPropertyProductSerialNumberKey "Serial Number" /*! @defined kIOPropertyManufacturerIDKey @discussion This key is used to indicate the card manufacturer ID. Requirement: Optional Example: <pre> @textblock <dict> <key>Card Characteristics</key> <dict> <key>Product Name</key> <string>SD32G</string> <key>Product Revision Level</key> <string>1.0</string> <key>Card Type</key> <string>SDHC</string> <key>Manufacturer ID</key> <data>03</data> </dict> </dict> @/textblock </pre> */ #define kIOPropertyManufacturerIDKey "Manufacturer ID" /*! @defined kIOPropertyApplicationIDKey @discussion This key is used to indicate the card application ID. Requirement: Optional Example: <pre> @textblock <dict> <key>Card Characteristics</key> <dict> <key>Product Name</key> <string>SD32G</string> <key>Product Revision Level</key> <string>1.0</string> <key>Card Type</key> <string>SDHC</string> <key>Application ID</key> <data>ffff</data> </dict> </dict> @/textblock </pre> */ #define kIOPropertyApplicationIDKey "Application ID" /*! @defined kIOPropertyManufacturingDateKey @discussion This key is used to indicate the card manufacturing date. Requirement: Mandatory. Example: <pre> @textblock <dict> <key>Card Characteristics</key> <dict> <key>Product Name</key> <string>SD32G</string> <key>Product Revision Level</key> <string>1.0</string> <key>Card Type</key> <string>SDHC</string> <key>Manufacturing Date</key> <string>2009-12</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyManufacturingDateKey "Manufacturing Date" /*! @defined kIOPropertySpeedClassKey @discussion This key is used to indicate SD card speed class. Requirement: Mandatory. Example: <pre> @textblock <dict> <key>Card Characteristics</key> <dict> <key>Product Name</key> <string>SD32G</string> <key>Product Revision Level</key> <string>1.0</string> <key>Card Type</key> <string>SDHC</string> <key>Speed Class</key> <data>02</data> </dict> </dict> @/textblock </pre> */ #define kIOPropertySpeedClassKey "Speed Class" /*! @defined kIOPropertySpecificationVersionKey @discussion This key is used to indicate the card specification version. Requirement: Mandatory. Example: <pre> @textblock <dict> <key>Card Characteristics</key> <dict> <key>Product Name</key> <string>SD32G</string> <key>Product Revision Level</key> <string>1.0</string> <key>Card Type</key> <string>SDHC</string> <key>Specification Version</key> <string>3.0</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertySpecificationVersionKey "Specification Version" /*! @defined kIOPropertyCardTypeKey @discussion This key is used to indicate the card type is MMC. Requirement: Optional. Example: <pre> @textblock <dict> <key>Card Characteristics</key> <dict> <key>Product Name</key> <string>SD32G</string> <key>Product Revision Level</key> <string>1.0</string> <key>Card Type</key> <string>MMC</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyCardTypeKey "Card Type" /*! @defined kIOPropertyCardTypeMMCKey @discussion This key is used to indicate the card type is MMC. Requirement: Optional. Example: <pre> @textblock <dict> <key>Card Characteristics</key> <dict> <key>Product Name</key> <string>SD32G</string> <key>Product Revision Level</key> <string>1.0</string> <key>Card Type</key> <string>MMC</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyCardTypeMMCKey "MMC" /*! @defined kIOPropertyCardTypeSDSCKey @discussion This key is used to indicate the card type is SDSC. Requirement: Optional. Example: <pre> @textblock <dict> <key>Card Characteristics</key> <dict> <key>Product Name</key> <string>SD32G</string> <key>Product Revision Level</key> <string>1.0</string> <key>Card Type</key> <string>SDSC</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyCardTypeSDSCKey "SDSC" /*! @defined kIOPropertyCardTypeSDHCKey @discussion This key is used to indicate the card type is SDHC. Requirement: Optional. Example: <pre> @textblock <dict> <key>Card Characteristics</key> <dict> <key>Product Name</key> <string>SD32G</string> <key>Product Revision Level</key> <string>1.0</string> <key>Card Type</key> <string>SDHC</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyCardTypeSDHCKey "SDHC" /*! @defined kIOPropertyCardTypeSDXCKey @discussion This key is used to indicate the card type is SDXC. Requirement: Optional. Example: <pre> @textblock <dict> <key>Card Characteristics</key> <dict> <key>Product Name</key> <string>SD32G</string> <key>Product Revision Level</key> <string>1.0</string> <key>Card Type</key> <string>SDXC</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyCardTypeSDXCKey "SDXC" #endif /* _IOKIT_IO_STORAGE_CARD_CHARACTERISTICS_H_ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IODVDMedia.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /*! * @header IODVDMedia * @abstract * This header contains the IODVDMedia class definition. */ #ifndef _IODVDMEDIA_H #define _IODVDMEDIA_H /*! * @defined kIODVDMediaClass * @abstract * kIODVDMediaClass is the name of the IODVDMedia class. * @discussion * kIODVDMediaClass is the name of the IODVDMedia class. */ #define kIODVDMediaClass "IODVDMedia" /*! * @defined kIODVDMediaTypeKey * @abstract * kIODVDMediaTypeKey is a property of IODVDMedia objects. It has an OSString * value. * @discussion * The kIODVDMediaTypeKey property identifies the DVD media type (DVD-ROM, * DVD-R, DVD-RW, DVD+RW, DVD-RAM, etc). See the kIODVDMediaType contants * for possible values. */ #define kIODVDMediaTypeKey "Type" /*! * @defined kIODVDMediaTypeROM * The kIODVDMediaTypeKey constant for DVD-ROM media. */ #define kIODVDMediaTypeROM "DVD-ROM" /*! * @defined kIODVDMediaTypeR * The kIODVDMediaTypeKey constant for DVD Recordable (DVD-R) media. */ #define kIODVDMediaTypeR "DVD-R" /*! * @defined kIODVDMediaTypeRW * The kIODVDMediaTypeKey constant for DVD ReWritable (DVD-RW) media. */ #define kIODVDMediaTypeRW "DVD-RW" /*! * @defined kIODVDMediaTypePlusR * The kIODVDMediaTypeKey constant for DVD "Plus" Recordable (DVD+R) media. */ #define kIODVDMediaTypePlusR "DVD+R" /*! * @defined kIODVDMediaTypePlusRW * The kIODVDMediaTypeKey constant for DVD "Plus" ReWritable (DVD+RW) media. */ #define kIODVDMediaTypePlusRW "DVD+RW" /*! * @defined kIODVDMediaTypeRAM * The kIODVDMediaTypeKey constant for DVD-RAM media. */ #define kIODVDMediaTypeRAM "DVD-RAM" /*! * @defined kIODVDMediaTypeHDROM * The kIODVDMediaTypeKey constant for HD DVD-ROM media. */ #define kIODVDMediaTypeHDROM "HD DVD-ROM" /*! * @defined kIODVDMediaTypeHDR * The kIODVDMediaTypeKey constant for HD DVD Recordable (HD DVD-R) media. */ #define kIODVDMediaTypeHDR "HD DVD-R" /*! * @defined kIODVDMediaTypeHDRW * The kIODVDMediaTypeKey constant for HD DVD ReWritable (HD DVD-RW) media. */ #define kIODVDMediaTypeHDRW "HD DVD-RW" /*! * @defined kIODVDMediaTypeHDRAM * The kIODVDMediaTypeKey constant for HD DVD-RAM media. */ #define kIODVDMediaTypeHDRAM "HD DVD-RAM" #endif /* !_IODVDMEDIA_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOBlockStorageDriver.h
/* * Copyright (c) 1998-2019 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /*! * @header IOBlockStorageDriver * @abstract * This header contains the IOBlockStorageDriver class definition. */ #ifndef _IOBLOCKSTORAGEDRIVER_H #define _IOBLOCKSTORAGEDRIVER_H #include <IOKit/IOTypes.h> /*! * @defined kIOBlockStorageDriverClass * @abstract * The name of the IOBlockStorageDriver class. */ #define kIOBlockStorageDriverClass "IOBlockStorageDriver" /*! * @defined kIOBlockStorageDriverStatisticsKey * @abstract * Holds a table of numeric values describing the driver's * operating statistics. * @discussion * This property holds a table of numeric values describing the driver's * operating statistics. The table is an OSDictionary, where each entry * describes one given statistic. */ #define kIOBlockStorageDriverStatisticsKey "Statistics" /*! * @defined kIOBlockStorageDriverStatisticsBytesReadKey * @abstract * Describes the number of bytes read since the block storage * driver was instantiated. * @discussion * This property describes the number of bytes read since the block storage * driver was instantiated. It is one of the statistic entries listed under * the top-level kIOBlockStorageDriverStatisticsKey property table. It has * an OSNumber value. */ #define kIOBlockStorageDriverStatisticsBytesReadKey "Bytes (Read)" /*! * @defined kIOBlockStorageDriverStatisticsBytesWrittenKey * @abstract * Describes the number of bytes written since the block storage * driver was instantiated. * @discussion * This property describes the number of bytes written since the block storage * driver was instantiated. It is one of the statistic entries listed under the * top-level kIOBlockStorageDriverStatisticsKey property table. It has an * OSNumber value. */ #define kIOBlockStorageDriverStatisticsBytesWrittenKey "Bytes (Write)" /*! * @defined kIOBlockStorageDriverStatisticsReadErrorsKey * @abstract * Describes the number of read errors encountered since the block * storage driver was instantiated. * @discussion * This property describes the number of read errors encountered since the block * storage driver was instantiated. It is one of the statistic entries listed * under the top-level kIOBlockStorageDriverStatisticsKey property table. It * has an OSNumber value. */ #define kIOBlockStorageDriverStatisticsReadErrorsKey "Errors (Read)" /*! * @defined kIOBlockStorageDriverStatisticsWriteErrorsKey * @abstract * Describes the number of write errors encountered since the * block storage driver was instantiated. * @discussion * This property describes the number of write errors encountered since the * block storage driver was instantiated. It is one of the statistic entries * listed under the top-level kIOBlockStorageDriverStatisticsKey property table. * It has an OSNumber value. */ #define kIOBlockStorageDriverStatisticsWriteErrorsKey "Errors (Write)" /*! * @defined kIOBlockStorageDriverStatisticsLatentReadTimeKey * @abstract * Describes the number of nanoseconds of latency during reads * since the block storage driver was instantiated. * @discussion * This property describes the number of nanoseconds of latency during reads * since the block storage driver was instantiated. It is one of the statistic * entries listed under the top-level kIOBlockStorageDriverStatisticsKey * property table. It has an OSNumber value. */ #define kIOBlockStorageDriverStatisticsLatentReadTimeKey "Latency Time (Read)" /*! * @defined kIOBlockStorageDriverStatisticsLatentWriteTimeKey * @abstract * Describes the number of nanoseconds of latency during writes * since the block storage driver was instantiated. * @discussion * This property describes the number of nanoseconds of latency during writes * since the block storage driver was instantiated. It is one of the statistic * entries listed under the top-level kIOBlockStorageDriverStatisticsKey * property table. It has an OSNumber value. */ #define kIOBlockStorageDriverStatisticsLatentWriteTimeKey "Latency Time (Write)" /*! * @defined kIOBlockStorageDriverStatisticsReadsKey * @abstract * Describes the number of read operations processed since the * block storage driver was instantiated. * @discussion * This property describes the number of read operations processed since the * block storage driver was instantiated. It is one of the statistic entries * listed under the top-level kIOBlockStorageDriverStatisticsKey property table. * It has an OSNumber value. */ #define kIOBlockStorageDriverStatisticsReadsKey "Operations (Read)" /*! * @defined kIOBlockStorageDriverStatisticsWritesKey * @abstract * Describes the number of write operations processed since the * block storage driver was instantiated. * @discussion * This property describes the number of write operations processed since the * block storage driver was instantiated. It is one of the statistic entries * listed under the top-level kIOBlockStorageDriverStatisticsKey property table. * It has an OSNumber value. */ #define kIOBlockStorageDriverStatisticsWritesKey "Operations (Write)" /*! * @defined kIOBlockStorageDriverStatisticsReadRetriesKey * @abstract * Describes the number of read retries required since the block * storage driver was instantiated. * @discussion * This property describes the number of read retries required since the block * storage driver was instantiated. It is one of the statistic entries listed * under the top-level kIOBlockStorageDriverStatisticsKey property table. It * has an OSNumber value. */ #define kIOBlockStorageDriverStatisticsReadRetriesKey "Retries (Read)" /*! * @defined kIOBlockStorageDriverStatisticsWriteRetriesKey * @abstract * Describes the number of write retries required since the block * storage driver was instantiated. * @discussion * This property describes the number of write retries required since the block * storage driver was instantiated. It is one of the statistic entries listed * under the top-level kIOBlockStorageDriverStatisticsKey property table. It * has an OSNumber value. */ #define kIOBlockStorageDriverStatisticsWriteRetriesKey "Retries (Write)" /*! * @defined kIOBlockStorageDriverStatisticsTotalReadTimeKey * @abstract * Describes the number of nanoseconds spent performing reads * since the block storage driver was instantiated. * @discussion * This property describes the number of nanoseconds spent performing reads * since the block storage driver was instantiated. It is one of the statistic * entries listed under the top-level kIOBlockStorageDriverStatisticsKey * property table. It has an OSNumber value. */ #define kIOBlockStorageDriverStatisticsTotalReadTimeKey "Total Time (Read)" /*! * @defined kIOBlockStorageDriverStatisticsTotalWriteTimeKey * @abstract * Describes the number of nanoseconds spent performing writes * since the block storage driver was instantiated. * @discussion * This property describes the number of nanoseconds spent performing writes * since the block storage driver was instantiated. It is one of the statistic * entries listed under the top-level kIOBlockStorageDriverStatisticsKey * property table. It has an OSNumber value. */ #define kIOBlockStorageDriverStatisticsTotalWriteTimeKey "Total Time (Write)" /*! * @enum IOMediaState * @abstract * The different states that getMediaState() can report. * @constant kIOMediaStateOffline * Media is not available. * @constant kIOMediaStateOnline * Media is available and ready for operations. * @constant kIOMediaStateBusy * Media is available, but not ready for operations. */ enum { kIOMediaStateOffline = 0, kIOMediaStateOnline = 1, kIOMediaStateBusy = 2 }; typedef UInt32 IOMediaState; #endif /* !_IOBLOCKSTORAGEDRIVER_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IODVDTypes.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IODVDTYPES_H #define _IODVDTYPES_H #include <IOKit/IOTypes.h> #pragma pack(push, 1) /* (enable 8-bit struct packing) */ /* * Media Types */ enum { kDVDMediaTypeUnknown = 0x0200, kDVDMediaTypeROM = 0x0202, /* DVD-ROM */ kDVDMediaTypeRAM = 0x0203, /* DVD-RAM */ kDVDMediaTypeR = 0x0204, /* DVD-R */ kDVDMediaTypeRW = 0x0205, /* DVD-RW */ kDVDMediaTypePlusRW = 0x0206, /* DVD+RW */ kDVDMediaTypePlusR = 0x0207, /* DVD+R */ kDVDMediaTypeHDROM = 0x0212, /* HD DVD-ROM */ kDVDMediaTypeHDRAM = 0x0213, /* HD DVD-RAM */ kDVDMediaTypeHDR = 0x0214, /* HD DVD-R */ kDVDMediaTypeHDRW = 0x0215, /* HD DVD-RW */ kDVDMediaTypeMin = 0x0200, kDVDMediaTypeMax = 0x02FF }; typedef UInt32 DVDMediaType; /* * Media Speed (kB/s) */ #define kDVDSpeedMin 0x0546 #define kDVDSpeedMax 0xFFFF /* * MMC Formats */ typedef UInt8 DVDCPRMRegionCode; enum { kDVDCPRMRegion1 = 0xFE, kDVDCPRMRegion2 = 0xFD, kDVDCPRMRegion3 = 0xFB, kDVDCPRMRegion4 = 0xF7, kDVDCPRMRegion5 = 0xEF, kDVDCPRMRegion6 = 0xDF }; typedef UInt8 DVDRegionalPlaybackControlScheme; enum { kDVDRegionalPlaybackControlSchemePhase1 = 0x00, kDVDRegionalPlaybackControlSchemePhase2 = 0x01 }; typedef UInt8 DVDBookType; enum { kDVDBookTypeROM = 0x0, kDVDBookTypeRAM = 0x1, kDVDBookTypeR = 0x2, kDVDBookTypeRW = 0x3, kDVDBookTypeHDROM = 0x4, kDVDBookTypeHDRAM = 0x5, kDVDBookTypeHDR = 0x6, kDVDBookTypeHDRW = 0x7, kDVDBookTypePlusRW = 0x9, kDVDBookTypePlusR = 0xA, kDVDBookTypePlusRWDoubleLayer = 0xD, kDVDBookTypePlusRDoubleLayer = 0xE }; typedef UInt8 DVDKeyClass; enum { kDVDKeyClassCSS_CPPM_CPRM = 0x00, kDVDKeyClassRSSA = 0x01 }; typedef UInt8 DVDKeyFormat; enum { kDVDKeyFormatAGID_CSS = 0x00, kDVDKeyFormatChallengeKey = 0x01, kDVDKeyFormatKey1 = 0x02, kDVDKeyFormatKey2 = 0x03, kDVDKeyFormatTitleKey = 0x04, kDVDKeyFormatASF = 0x05, kDVDKeyFormatSetRegion = 0x06, kDVDKeyFormatRegionState = 0x08, kDVDKeyFormatAGID_CSS2 = 0x10, kDVDKeyFormatAGID_CPRM = 0x11, kDVDKeyFormatAGID_Invalidate = 0x3F }; typedef UInt8 DVDStructureFormat; enum { kDVDStructureFormatPhysicalFormatInfo = 0x00, kDVDStructureFormatCopyrightInfo = 0x01, kDVDStructureFormatDiscKeyInfo = 0x02, // skip BCA kDVDStructureFormatManufacturingInfo = 0x04 }; // Read DVD Structures Format 0x00 struct DVDPhysicalFormatInfo { UInt8 dataLength[2]; UInt8 reserved[2]; #ifdef __LITTLE_ENDIAN__ // Byte 0 UInt8 partVersion:4; UInt8 bookType:4; // Byte 1 UInt8 minimumRate:4; UInt8 discSize:4; // Byte 2 UInt8 layerType:4; UInt8 trackPath:1; UInt8 numberOfLayers:2; UInt8 reserved2:1; // Byte 3 UInt8 trackDensity:4; UInt8 linearDensity:4; #else /* !__LITTLE_ENDIAN__ */ // Byte 0 UInt8 bookType:4; UInt8 partVersion:4; // Byte 1 UInt8 discSize:4; UInt8 minimumRate:4; // Byte 2 UInt8 reserved2:1; UInt8 numberOfLayers:2; UInt8 trackPath:1; UInt8 layerType:4; // Byte 3 UInt8 linearDensity:4; UInt8 trackDensity:4; #endif /* !__LITTLE_ENDIAN__ */ // Bytes 4-15 UInt8 zero1; // always 0x00 UInt8 startingPhysicalSectorNumberOfDataArea[3]; UInt8 zero2; // always 0x00 UInt8 endPhysicalSectorNumberOfDataArea[3]; UInt8 zero3; // always 0x00 UInt8 endSectorNumberInLayerZero[3]; // Byte 16 #ifdef __LITTLE_ENDIAN__ UInt8 reserved1:7; UInt8 bcaFlag:1; #else /* !__LITTLE_ENDIAN__ */ UInt8 bcaFlag:1; UInt8 reserved1:7; #endif /* !__LITTLE_ENDIAN__ */ // Bytes 17-2047 UInt8 mediaSpecific[2031]; }; typedef struct DVDPhysicalFormatInfo DVDPhysicalFormatInfo; // Read DVD Structures Format 0x01 struct DVDCopyrightInfo { UInt8 dataLength[2]; UInt8 reserved[2]; UInt8 copyrightProtectionSystemType; DVDCPRMRegionCode regionMask; UInt8 reserved2[2]; }; typedef struct DVDCopyrightInfo DVDCopyrightInfo; // Read DVD Structures Format 0x02 struct DVDDiscKeyInfo { UInt8 dataLength[2]; UInt8 reserved[2]; UInt8 discKeyStructures[2048]; }; typedef struct DVDDiscKeyInfo DVDDiscKeyInfo; // Read DVD Structures Format 0x04 struct DVDManufacturingInfo { UInt8 dataLength[2]; UInt8 reserved[2]; UInt8 discManufacturingInfo[2048]; }; typedef struct DVDManufacturingInfo DVDManufacturingInfo; // ReportKey Format 0x00 struct DVDAuthenticationGrantIDInfo { UInt8 dataLength[2]; UInt8 reserved[2]; UInt8 reserved2[3]; #ifdef __LITTLE_ENDIAN__ UInt8 reservedBits:6; UInt8 grantID:2; #else /* !__LITTLE_ENDIAN__ */ UInt8 grantID:2; UInt8 reservedBits:6; #endif /* !__LITTLE_ENDIAN__ */ }; typedef struct DVDAuthenticationGrantIDInfo DVDAuthenticationGrantIDInfo; // ReportKey and SendKey Format 0x01 struct DVDChallengeKeyInfo { UInt8 dataLength[2]; UInt8 reserved[2]; UInt8 challengeKeyValue[10]; UInt8 reserved2[2]; }; typedef struct DVDChallengeKeyInfo DVDChallengeKeyInfo; // ReportKey Format 0x02 struct DVDKey1Info { UInt8 dataLength[2]; UInt8 reserved[2]; UInt8 key1Value[5]; UInt8 reserved2[3]; }; typedef struct DVDKey1Info DVDKey1Info; // SendKey Format 0x03 struct DVDKey2Info { UInt8 dataLength[2]; UInt8 reserved[2]; UInt8 key2Value[5]; UInt8 reserved2[3]; }; typedef struct DVDKey2Info DVDKey2Info; // ReportKey Format 0x04 struct DVDTitleKeyInfo { UInt8 dataLength[2]; UInt8 reserved[2]; #ifdef __LITTLE_ENDIAN__ UInt8 CP_MOD:4; UInt8 CGMS:2; UInt8 CP_SEC:1; UInt8 CPM:1; #else /* !__LITTLE_ENDIAN__ */ UInt8 CPM:1; UInt8 CP_SEC:1; UInt8 CGMS:2; UInt8 CP_MOD:4; #endif /* !__LITTLE_ENDIAN__ */ UInt8 titleKeyValue[5]; UInt8 reserved2[2]; }; typedef struct DVDTitleKeyInfo DVDTitleKeyInfo; // ReportKey Format 0x05 struct DVDAuthenticationSuccessFlagInfo { UInt8 dataLength[2]; UInt8 reserved[2]; UInt8 reserved2[3]; #ifdef __LITTLE_ENDIAN__ UInt8 successFlag:1; UInt8 reservedBits:7; #else /* !__LITTLE_ENDIAN__ */ UInt8 reservedBits:7; UInt8 successFlag:1; #endif /* !__LITTLE_ENDIAN__ */ }; typedef struct DVDAuthenticationSuccessFlagInfo DVDAuthenticationSuccessFlagInfo; // ReportKey Format 0x08 struct DVDRegionPlaybackControlInfo { UInt8 dataLength[2]; UInt8 reserved[2]; #ifdef __LITTLE_ENDIAN__ UInt8 numberUserResets:3; UInt8 numberVendorResets:3; UInt8 typeCode:2; #else /* !__LITTLE_ENDIAN__ */ UInt8 typeCode:2; UInt8 numberVendorResets:3; UInt8 numberUserResets:3; #endif /* !__LITTLE_ENDIAN__ */ DVDCPRMRegionCode driveRegion; DVDRegionalPlaybackControlScheme rpcScheme; UInt8 reserved2; }; typedef struct DVDRegionPlaybackControlInfo DVDRegionPlaybackControlInfo; // Read Disc Information Format struct DVDDiscInfo { UInt16 dataLength; #ifdef __LITTLE_ENDIAN__ UInt8 discStatus:2; UInt8 stateOfLastBorder:2; UInt8 erasable:1; UInt8 reserved:3; #else /* !__LITTLE_ENDIAN__ */ UInt8 reserved:3; UInt8 erasable:1; UInt8 stateOfLastBorder:2; UInt8 discStatus:2; #endif /* !__LITTLE_ENDIAN__ */ UInt8 reserved2; UInt8 numberOfBordersLSB; UInt8 firstRZoneNumberInLastBorderLSB; UInt8 lastRZoneNumberInLastBorderLSB; #ifdef __LITTLE_ENDIAN__ UInt8 reserved3:5; UInt8 unrestrictedUse:1; UInt8 discBarCodeValid:1; UInt8 reserved4:1; #else /* !__LITTLE_ENDIAN__ */ UInt8 reserved4:1; UInt8 discBarCodeValid:1; UInt8 unrestrictedUse:1; UInt8 reserved3:5; #endif /* !__LITTLE_ENDIAN__ */ UInt8 reserved5; UInt8 numberOfBordersMSB; UInt8 firstRZoneNumberInLastBorderMSB; UInt8 lastRZoneNumberInLastBorderMSB; UInt8 reserved6[4]; UInt8 reserved7[4]; UInt8 reserved8[4]; UInt8 discBarCode[8]; UInt8 reserved9; UInt8 numberOfOPCTableEntries; UInt8 opcTableEntries[0]; }; typedef struct DVDDiscInfo DVDDiscInfo; // Read RZone Information Address Types typedef UInt8 DVDRZoneInfoAddressType; enum { kDVDRZoneInfoAddressTypeLBA = 0x00, kDVDRZoneInfoAddressTypeRZoneNumber = 0x01, kDVDRZoneInfoAddressTypeBorderNumber = 0x02, }; // Read RZone Information Format struct DVDRZoneInfo { UInt16 dataLength; UInt8 rzoneNumberLSB; UInt8 borderNumberLSB; UInt8 reserved; #ifdef __LITTLE_ENDIAN__ UInt8 reserved2:4; UInt8 copy:1; UInt8 damage:1; UInt8 reserved3:2; UInt8 reserved4:4; UInt8 restrictedOverwrite:1; UInt8 incremental:1; UInt8 blank:1; UInt8 reservedRZone:1; UInt8 nextWritableAddressValid:1; UInt8 lastRecordedAddressValid:1; UInt8 reserved5:6; #else /* !__LITTLE_ENDIAN__ */ UInt8 reserved3:2; UInt8 damage:1; UInt8 copy:1; UInt8 reserved2:4; UInt8 reservedRZone:1; UInt8 blank:1; UInt8 incremental:1; UInt8 restrictedOverwrite:1; UInt8 reserved4:4; UInt8 reserved5:6; UInt8 lastRecordedAddressValid:1; UInt8 nextWritableAddressValid:1; #endif /* !__LITTLE_ENDIAN__ */ UInt32 rzoneStartAddress; UInt32 nextWritableAddress; UInt32 freeBlocks; UInt32 blockingFactor; UInt32 rzoneSize; UInt32 lastRecordedAddress; UInt8 rzoneNumberMSB; UInt8 borderNumberMSB; UInt8 reserved6; UInt8 reserved7; }; typedef struct DVDRZoneInfo DVDRZoneInfo; #pragma pack(pop) /* (reset to default struct packing) */ #endif /* _IODVDTYPES_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOStorage.h
/* * Copyright (c) 1998-2015 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /*! * @header IOStorage * @abstract * This header contains the IOStorage class definition. */ #ifndef _IOSTORAGE_H #define _IOSTORAGE_H #include <sys/kernel_types.h> #include <IOKit/IOTypes.h> /*! * @defined kIOStorageClass * @abstract * The name of the IOStorage class. */ #define kIOStorageClass "IOStorage" /*! * @defined kIOStorageCategory * @abstract * kIOStorageCategory is a value for IOService's kIOMatchCategoryKey property. * @discussion * The kIOStorageCategory value is the standard value for the IOService property * kIOMatchCategoryKey ("IOMatchCategory") for all storage drivers. All storage * objects that expect to drive new content (that is, produce new media objects) * are expected to compete within the kIOStorageCategory namespace. * * See the IOService documentation for more information on match categories. */ #define kIOStorageCategory "IOStorage" /* (as IOMatchCategory) */ /*! * @defined kIOStorageFeaturesKey * @abstract * A property of any object in the storage stack. * @discussion * kIOStorageFeaturesKey is a property of any object in the storage stack that * wishes to express support of additional features, such as Force Unit Access. * It is typically defined in the device object below the block storage driver * object. It has an OSDictionary value, where each entry describes one given * feature. */ #define kIOStorageFeaturesKey "IOStorageFeatures" /*! * @defined kIOStorageFeatureBarrier * @abstract * Describes the presence of the Barrier feature. * @discussion * This property describes the ability of the storage stack to honor a write * barrier, guaranteeing that on power loss, writes after the barrier will not * be visible until all writes before the barrier are visible. It is one of the * feature entries listed under the top-level kIOStorageFeaturesKey property * table. It has an OSBoolean value. */ #define kIOStorageFeatureBarrier "Barrier" /*! * @defined kIOStorageFeatureForceUnitAccess * @abstract * Describes the presence of the Force Unit Access feature. * @discussion * This property describes the ability of the storage stack to force a request * to access the media. It is one of the feature entries listed under the top- * level kIOStorageFeaturesKey property table. It has an OSBoolean value. */ #define kIOStorageFeatureForceUnitAccess "Force Unit Access" /*! * @defined kIOStorageFeaturePriority * @abstract * Describes the presence of the Priority feature. * @discussion * This property describes the ability of the storage stack to enforce the * priority of a request. It is one of the feature entries listed under the * top-level kIOStorageFeaturesKey property table. It has an OSBoolean value. */ #define kIOStorageFeaturePriority "Priority" /*! * @defined kIOStorageFeatureUnmap * @abstract * Describes the presence of the Unmap feature. * @discussion * This property describes the ability of the storage stack to delete unused * data from the media. It is one of the feature entries listed under the top- * level kIOStorageFeaturesKey property table. It has an OSBoolean value. */ #define kIOStorageFeatureUnmap "Unmap" #endif /* !_IOSTORAGE_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOBDTypes.h
/* * Copyright (c) 2006-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _BDTYPES_H #define _BDTYPES_H #include <IOKit/IOTypes.h> #pragma pack(push, 1) /* (enable 8-bit struct packing) */ /* * Media Types */ enum { kBDMediaTypeUnknown = 0x0300, kBDMediaTypeROM = 0x0302, /* BD-ROM */ kBDMediaTypeRE = 0x0303, /* BD-RE */ kBDMediaTypeR = 0x0304, /* BD-R */ kBDMediaTypeMin = 0x0300, kBDMediaTypeMax = 0x03FF }; typedef UInt32 BDMediaType; /* * Media Speed (kB/s) */ #define kBDSpeedMin 0x1126 #define kBDSpeedMax 0xFFFF /* * MMC Formats */ // Read Disc Information Format struct BDDiscInfo { UInt16 dataLength; #ifdef __LITTLE_ENDIAN__ UInt8 discStatus:2; UInt8 stateOfLastSession:2; UInt8 erasable:1; UInt8 dataType:3; #else /* !__LITTLE_ENDIAN__ */ UInt8 dataType:3; UInt8 erasable:1; UInt8 stateOfLastSession:2; UInt8 discStatus:2; #endif /* !__LITTLE_ENDIAN__ */ UInt8 reserved2; UInt8 numberOfSessionsLSB; UInt8 firstTrackNumberInLastSessionLSB; UInt8 lastTrackNumberInLastSessionLSB; UInt8 reserved4[2]; UInt8 numberOfSessionsMSB; UInt8 firstTrackNumberInLastSessionMSB; UInt8 lastTrackNumberInLastSessionMSB; UInt8 reserved6[22]; }; typedef struct BDDiscInfo BDDiscInfo; // Read Track Information Format struct BDTrackInfo { UInt16 dataLength; UInt8 trackNumberLSB; UInt8 sessionNumberLSB; UInt8 reserved; #ifdef __LITTLE_ENDIAN__ UInt8 reserved2:5; UInt8 damage:1; UInt8 reserved3:2; UInt8 reserved4:6; UInt8 blank:1; UInt8 reservedTrack:1; UInt8 nextWritableAddressValid:1; UInt8 lastRecordedAddressValid:1; UInt8 reserved5:6; #else /* !__LITTLE_ENDIAN__ */ UInt8 reserved3:2; UInt8 damage:1; UInt8 reserved2:5; UInt8 reservedTrack:1; UInt8 blank:1; UInt8 reserved4:6; UInt8 reserved5:6; UInt8 lastRecordedAddressValid:1; UInt8 nextWritableAddressValid:1; #endif /* !__LITTLE_ENDIAN__ */ UInt32 trackStartAddress; UInt32 nextWritableAddress; UInt32 freeBlocks; UInt32 clusterSize; UInt32 trackSize; UInt32 lastRecordedAddress; UInt8 trackNumberMSB; UInt8 sessionNumberMSB; UInt8 reserved6; UInt8 reserved7; }; typedef struct BDTrackInfo BDTrackInfo; #pragma pack(pop) /* (reset to default struct packing) */ #endif /* _BDTYPES_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IODVDMediaBSDClient.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IODVDMEDIABSDCLIENT_H #define _IODVDMEDIABSDCLIENT_H #include <sys/ioctl.h> #include <IOKit/storage/IODVDTypes.h> /* * Definitions * * ioctl description * ---------------------------- ------------------------------------------------ * DKIOCDVDREADSTRUCTURE see IODVDMedia::readStructure() in IODVDMedia.h * * DKIOCDVDREADDISCINFO see IODVDMedia::readDiscInfo() in IODVDMedia.h * DKIOCDVDREADRZONEINFO see IODVDMedia::readRZoneInfo() in IODVDMedia.h * * DKIOCDVDREPORTKEY see IODVDMedia::reportKey() in IODVDMedia.h * DKIOCDVDSENDKEY see IODVDMedia::sendKey() in IODVDMedia.h * * DKIOCDVDGETSPEED see IODVDMedia::getSpeed() in IODVDMedia.h * DKIOCDVDSETSPEED see IODVDMedia::setSpeed() in IODVDMedia.h * * in /System/Library/Frameworks/Kernel.framework/Headers/IOKit/storage/ */ typedef struct { uint8_t format; uint8_t reserved0008[3]; /* reserved, clear to zero */ uint32_t address; uint8_t grantID; uint8_t layer; #ifdef __LP64__ uint8_t reserved0080[4]; /* reserved, clear to zero */ #endif /* __LP64__ */ uint16_t bufferLength; void * buffer; } dk_dvd_read_structure_t; typedef struct { uint8_t format; uint8_t keyClass; uint8_t blockCount; uint8_t reserved0024[1]; /* reserved, clear to zero */ uint32_t address; uint8_t grantID; #ifdef __LP64__ uint8_t reserved0072[5]; /* reserved, clear to zero */ #else /* !__LP64__ */ uint8_t reserved0072[1]; /* reserved, clear to zero */ #endif /* !__LP64__ */ uint16_t bufferLength; void * buffer; } dk_dvd_report_key_t; typedef struct { uint8_t format; uint8_t keyClass; uint8_t reserved0016[6]; /* reserved, clear to zero */ uint8_t grantID; #ifdef __LP64__ uint8_t reserved0072[5]; /* reserved, clear to zero */ #else /* !__LP64__ */ uint8_t reserved0072[1]; /* reserved, clear to zero */ #endif /* !__LP64__ */ uint16_t bufferLength; void * buffer; } dk_dvd_send_key_t; typedef struct { #ifdef __LP64__ uint8_t reserved0000[14]; /* reserved, clear to zero */ #else /* !__LP64__ */ uint8_t reserved0000[10]; /* reserved, clear to zero */ #endif /* !__LP64__ */ uint16_t bufferLength; /* actual length on return */ void * buffer; } dk_dvd_read_disc_info_t; typedef struct { uint8_t reserved0000[4]; /* reserved, clear to zero */ uint32_t address; uint8_t addressType; #ifdef __LP64__ uint8_t reserved0072[5]; /* reserved, clear to zero */ #else /* !__LP64__ */ uint8_t reserved0072[1]; /* reserved, clear to zero */ #endif /* !__LP64__ */ uint16_t bufferLength; /* actual length on return */ void * buffer; } dk_dvd_read_rzone_info_t; #define DKIOCDVDREADSTRUCTURE _IOW('d', 128, dk_dvd_read_structure_t) #define DKIOCDVDREPORTKEY _IOW('d', 129, dk_dvd_report_key_t) #define DKIOCDVDSENDKEY _IOW('d', 130, dk_dvd_send_key_t) #define DKIOCDVDGETSPEED _IOR('d', 131, uint16_t) #define DKIOCDVDSETSPEED _IOW('d', 131, uint16_t) #define DKIOCDVDREADDISCINFO _IOWR('d', 132, dk_dvd_read_disc_info_t) #define DKIOCDVDREADRZONEINFO _IOWR('d', 133, dk_dvd_read_rzone_info_t) #endif /* !_IODVDMEDIABSDCLIENT_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOStorageDeviceCharacteristics.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOKIT_IO_STORAGE_DEVICE_CHARACTERISTICS_H_ #define _IOKIT_IO_STORAGE_DEVICE_CHARACTERISTICS_H_ #include <TargetConditionals.h> #if TARGET_OS_DRIVERKIT #include <DriverKit/storage/IOStorageProtocolCharacteristics.h> #else #include <IOKit/storage/IOStorageProtocolCharacteristics.h> #endif /* * Device Characteristics - Characteristics defined for devices. */ /*! @defined kIOPropertyDeviceCharacteristicsKey @discussion This key is used to define Device Characteristics for a particular device and it has an associated dictionary which lists the device characteristics. The device characteristics are Command Set specific and are listed in the header files for each command set. Requirement: Mandatory Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>iPod</string> <key>Product Revision Level</key> <string>1.0</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyDeviceCharacteristicsKey "Device Characteristics" /*! @defined kIOPropertyVendorNameKey @discussion This key is used to define the Vendor Name for a particular device and it has an associated string. Requirement: Mandatory Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>iPod</string> <key>Product Revision Level</key> <string>1.0</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyVendorNameKey "Vendor Name" /*! @defined kIOPropertyProductNameKey @discussion This key is used to define the Product Name for a particular device and it has an associated string. Requirement: Mandatory Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>iPod</string> <key>Product Revision Level</key> <string>1.0</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyProductNameKey "Product Name" /*! @defined kIOPropertyProductRevisionLevelKey @discussion This key is used to define the Product Revision Level for a particular device and it has an associated string. Requirement: Mandatory Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>iPod</string> <key>Product Revision Level</key> <string>1.0</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyProductRevisionLevelKey "Product Revision Level" /*! @defined kIOPropertyProductSerialNumberKey @discussion This key is used to define the Product Serial Number for a particular device and it has an associated data. Requirement: Mandatory Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>iPod</string> <key>Product Revision Level</key> <string>1.0</string> <key>Serial Number</key> <string>123456789</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyProductSerialNumberKey "Serial Number" /*! @defined kIOPropertySupportedCDFeaturesKey @discussion This key is used to define the supported CD Features for a particular optical device and it has an associated bitfield. See <IOKit/scsi/IOSCSIMultimediaCommandsDevice.h> for definitions of the bits and associated bitmasks. Requirement: Mandatory for optical devices (Peripheral Device Type 05h). Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>SuperDrive</string> <key>Product Revision Level</key> <string>1.0</string> <key>CD Features</key> <integer>1663</integer> <key>DVD Features</key> <integer>103</integer> </dict> </dict> @/textblock </pre> */ #define kIOPropertySupportedCDFeaturesKey "CD Features" /*! @defined kIOPropertySupportedDVDFeaturesKey @discussion This key is used to define the supported DVD Features for a particular optical device and it has an associated bitfield. See <IOKit/scsi/IOSCSIMultimediaCommandsDevice.h> for definitions of the bits and associated bitmasks. Requirement: Mandatory for optical devices (Peripheral Device Type 05h). Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>SuperDrive</string> <key>Product Revision Level</key> <string>1.0</string> <key>CD Features</key> <integer>1663</integer> <key>DVD Features</key> <integer>103</integer> </dict> </dict> @/textblock </pre> */ #define kIOPropertySupportedDVDFeaturesKey "DVD Features" /*! @defined kIOPropertySupportedBDFeaturesKey @discussion This key is used to define the supported BD Features for a particular optical device and it has an associated bitfield. See <IOKit/scsi/IOSCSIMultimediaCommandsDevice.h> for definitions of the bits and associated bitmasks. Requirement: Mandatory for optical devices (Peripheral Device Type 05h). Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>SuperDrive</string> <key>Product Revision Level</key> <string>1.0</string> <key>CD Features</key> <integer>1663</integer> <key>DVD Features</key> <integer>103</integer> <key>BD Features</key> <integer>21</integer> </dict> </dict> @/textblock </pre> */ #define kIOPropertySupportedBDFeaturesKey "BD Features" /*! @defined kIOPropertyRigidDiskGeometryKey @discussion This key is used to define a dictionary containing rigid disk geometry information. Requirement: Optional. If a device publishes this dictionary, it must publish all key/value pairs which are deemed Mandatory. Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>iPod</string> <key>Product Revision Level</key> <string>1.0</string> <key>Rigid Disk Geometry</key> <dict> <key>Sector Count per Track</key> <integer>12345</integer> <key>Head Count</key> <integer>12</integer> <key>Cylinder Count</key> <integer>12345</integer> <key>Bytes per Physical Sector</key> <integer>512</integer> </dict> </dict> </dict> @/textblock </pre> */ #define kIOPropertyRigidDiskGeometryKey "Rigid Disk Geometry" /*! @defined kIOPropertySectorCountPerTrackKey @discussion This key is used to define the number of sectors per each track for a particular medium. Requirement: Mandatory element of the Rigid Disk Geometry dictionary. Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>iPod</string> <key>Product Revision Level</key> <string>1.0</string> <key>Rigid Disk Geometry</key> <dict> <key>Sector Count per Track</key> <integer>12345</integer> </dict> </dict> </dict> @/textblock </pre> */ #define kIOPropertySectorCountPerTrackKey "Sector Count per Track" /*! @defined kIOPropertyHeadCountKey @discussion This key is used to define the number of heads for a particular medium. Requirement: Mandatory element of the Rigid Disk Geometry dictionary. Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>iPod</string> <key>Product Revision Level</key> <string>1.0</string> <key>Rigid Disk Geometry</key> <dict> <key>Sector Count per Track</key> <integer>12345</integer> <key>Head Count</key> <integer>12</integer> <key>Cylinder Count</key> <integer>12345</integer> <key>Bytes per Physical Sector</key> <integer>512</integer> </dict> </dict> </dict> @/textblock </pre> */ #define kIOPropertyHeadCountKey "Head Count" /*! @defined kIOPropertyCylinderCountKey @discussion This key is used to define the number of heads for a particular medium. Requirement: Mandatory element of the Rigid Disk Geometry dictionary. Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>iPod</string> <key>Product Revision Level</key> <string>1.0</string> <key>Rigid Disk Geometry</key> <dict> <key>Sector Count per Track</key> <integer>12345</integer> <key>Head Count</key> <integer>12</integer> <key>Cylinder Count</key> <integer>12345</integer> <key>Bytes per Physical Sector</key> <integer>512</integer> </dict> </dict> </dict> @/textblock </pre> */ #define kIOPropertyCylinderCountKey "Cylinder Count" /*! @defined kIOPropertyBytesPerPhysicalSectorKey @discussion This key is used to define the number of heads for a particular medium. Requirement: Mandatory element of the Rigid Disk Geometry dictionary. Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>iPod</string> <key>Product Revision Level</key> <string>1.0</string> <key>Rigid Disk Geometry</key> <dict> <key>Sector Count per Track</key> <integer>12345</integer> <key>Head Count</key> <integer>12</integer> <key>Cylinder Count</key> <integer>12345</integer> <key>Bytes per Physical Sector</key> <integer>512</integer> </dict> </dict> </dict> @/textblock </pre> */ #define kIOPropertyBytesPerPhysicalSectorKey "Bytes per Physical Sector" /*! @defined kIOPropertyPhysicalBlockSizeKey @discussion This key is used to define the physical block size of a hard disk drive. Requirement: Mandatory for hard disk drives with physical block size other than 512 bytes. Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>iPod</string> <key>Product Revision Level</key> <string>1.0</string> <key>Physical Block Size</key> <integer>4096</integer> <key>Logical Block Size</key> <integer>512</integer> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalBlockSizeKey "Physical Block Size" /*! @defined kIOPropertyLogicalBlockSizeKey @discussion This key is used to define the logical block size of a hard disk drive. Requirement: Mandatory for hard disk drives with logical block size other than 512 bytes or that does not match its physical block size. Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>Apple</string> <key>Product Name</key> <string>iPod</string> <key>Product Revision Level</key> <string>1.0</string> <key>Physical Block Size</key> <integer>4096</integer> <key>Logical Block Size</key> <integer>512</integer> </dict> </dict> @/textblock </pre> */ #define kIOPropertyLogicalBlockSizeKey "Logical Block Size" /*! @defined kIOPropertyTargetDiskModeKey @discussion This key is used to indicate the device is another computer in Target Disk Mode. Requirement: Optional. Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>AAPL</string> <key>Product Name</key> <string>FireWire Target</string> <key>Product Revision Level</key> <string>0000</string> <key>Target Disk Mode</key> <true/> </dict> </dict> @/textblock </pre> */ #define kIOPropertyTargetDiskModeKey "Target Disk Mode" /*! @defined kIOPropertyInvalidStartupDiskKey @discussion This key is used to denote devices when cannot be used as a startup disk. Requirement: Optional. Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>APPLE</string> <key>Product Name</key> <string>Target Disk Mode</string> <key>Product Revision Level</key> <string>0000</string> <key>Invalid Startup Disk</key> <true/> </dict> </dict> @/textblock </pre> */ #define kIOPropertyInvalidStartupDiskKey "Invalid Startup Disk" /*! @defined kIOPropertyMediumTypeKey @discussion This key is used to indicate the medium type of the device. Requirement: Optional. Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>AAPL</string> <key>Product Name</key> <string>FireWire Target</string> <key>Product Revision Level</key> <string>0000</string> <key>Medium Type</key> <string>Rotational</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyMediumTypeKey "Medium Type" /*! @defined kIOPropertyMediumTypeRotationalKey @discussion This key is used to indicate the medium type of the device is rotational. Requirement: Optional. Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>AAPL</string> <key>Product Name</key> <string>FireWire Target</string> <key>Product Revision Level</key> <string>0000</string> <key>Medium Type</key> <string>Rotational</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyMediumTypeRotationalKey "Rotational" /*! @defined kIOPropertyMediumTypeSolidStateKey @discussion This key is used to indicate the medium type of the device is solid state. Requirement: Optional. Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>AAPL</string> <key>Product Name</key> <string>FireWire Target</string> <key>Product Revision Level</key> <string>0000</string> <key>Medium Type</key> <string>Solid State</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyMediumTypeSolidStateKey "Solid State" /*! @defined kIOPropertyMediumRotationRateKey @discussion This key is used to indicate the medium rotation rate in RPM of the device. Requirement: Optional. Example: <pre> @textblock <dict> <key>Device Characteristics</key> <dict> <key>Vendor Name</key> <string>AAPL</string> <key>Product Name</key> <string>FireWire Target</string> <key>Product Revision Level</key> <string>0000</string> <key>Rotation Rate</key> <integer>7200</integer> </dict> </dict> @/textblock </pre> */ #define kIOPropertyMediumRotationRateKey "Rotation Rate" #endif /* _IOKIT_IO_STORAGE_DEVICE_CHARACTERISTICS_H_ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOFDiskPartitionScheme.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /* * This header contains the IOFDiskPartitionScheme class definition. */ #ifndef _IOFDISKPARTITIONSCHEME_H #define _IOFDISKPARTITIONSCHEME_H #include <IOKit/IOTypes.h> /* * kIOFDiskPartitionSchemeClass is the name of the IOFDiskPartitionScheme class. */ #define kIOFDiskPartitionSchemeClass "IOFDiskPartitionScheme" /* * FDisk Partition Map Definitions */ #pragma pack(push, 1) /* (enable 8-bit struct packing) */ /* Structure constants. */ #define DISK_BLK0SZ sizeof(struct disk_blk0) /* (size of partition map) */ #define DISK_BOOTSZ 446 /* (size of boot code in map) */ #define DISK_NPART 4 /* (number of entries in map) */ /* Partition map entry. */ struct fdisk_part { UInt8 bootid; /* (is active boot partition?) */ UInt8 beghead; /* (beginning head) */ UInt8 begsect; /* (beginning sector; beginning cylinder, high 2 bits) */ UInt8 begcyl; /* (beginning cylinder, low 8 bits) */ UInt8 systid; /* (type) */ UInt8 endhead; /* (ending head) */ UInt8 endsect; /* (ending sector; ending cylinder, high 2 bits) */ UInt8 endcyl; /* (ending cylinder, low 8 bits) */ UInt32 relsect; /* (block start) */ UInt32 numsect; /* (block count) */ }; /* Partition map, as found in block zero of the disk (or extended partition). */ struct disk_blk0 { UInt8 bootcode[DISK_BOOTSZ]; /* (boot code) */ struct fdisk_part parts[DISK_NPART]; /* (partition entries) */ UInt16 signature; /* (unique signature for map) */ }; /* Partition map signature (signature). */ #define DISK_SIGNATURE 0xAA55 /* Partition map entry types (systid). */ #define FDISK_PARTITION_TYPE_01 "DOS_FAT_12" #define FDISK_PARTITION_TYPE_04 "DOS_FAT_16_S" #define FDISK_PARTITION_TYPE_06 "DOS_FAT_16" #define FDISK_PARTITION_TYPE_07 "Windows_NTFS" #define FDISK_PARTITION_TYPE_0B "DOS_FAT_32" #define FDISK_PARTITION_TYPE_0C "Windows_FAT_32" #define FDISK_PARTITION_TYPE_0E "Windows_FAT_16" #define FDISK_PARTITION_TYPE_42 "Windows_LDM" #define FDISK_PARTITION_TYPE_82 "Linux_Swap" #define FDISK_PARTITION_TYPE_83 "Linux" #define FDISK_PARTITION_TYPE_8E "Linux_LVM" #define FDISK_PARTITION_TYPE_A5 "FreeBSD" #define FDISK_PARTITION_TYPE_A6 "OpenBSD" #define FDISK_PARTITION_TYPE_A7 "Apple_Rhapsody_UFS" #define FDISK_PARTITION_TYPE_A8 "Apple_UFS" #define FDISK_PARTITION_TYPE_A9 "NetBSD" #define FDISK_PARTITION_TYPE_AB "Apple_Boot" #define FDISK_PARTITION_TYPE_AE "Apple_Encrypted" #define FDISK_PARTITION_TYPE_AF "Apple_HFS" #define FDISK_PARTITION_TYPE_FD "Linux_RAID" #pragma pack(pop) /* (reset to default struct packing) */ #endif /* !_IOFDISKPARTITIONSCHEME_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOMedia.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /*! * @header IOMedia * @abstract * This header contains the IOMedia class definition. */ #ifndef _IOMEDIA_H #define _IOMEDIA_H #include <IOKit/IOTypes.h> /*! * @defined kIOMediaClass * @abstract * The name of the IOMedia class. */ #define kIOMediaClass "IOMedia" /*! * @defined kIOMediaContentKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaContentKey property has an OSString * value and contains a description of the media's * contents. The description is the same as the hint at the time of the * object's creation, but it is possible that the description has been overridden * by a client (which has probed the media and identified the content correctly) * of the media object. It is more accurate than the hint for this reason. The * string is formed in the likeness of Apple's "Apple_HFS" strings or in the * likeness of a UUID. */ #define kIOMediaContentKey "Content" /*! * @defined kIOMediaContentHintKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaContentHintKey property has an OSString * value and contains a hint of the media's contents. * The hint is set at the time of the object's creation, should the creator have * a clue as to what it may contain. The hint string does not change for the * lifetime of the object and is formed in the likeness of Apple's "Apple_HFS" * strings or in the likeness of a UUID. */ #define kIOMediaContentHintKey "Content Hint" /*! * @defined kIOMediaEjectableKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaEjectableKey property has an OSBoolean * value and describes whether the media is ejectable * from the drive mechanism under software control. Implies IOMediaRemovable * is also true. */ #define kIOMediaEjectableKey "Ejectable" /*! * @defined kIOMediaLeafKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaLeafKey property has an OSBoolean value and describes whether the media is a leaf, that is, * it is the deepest media object in this branch of the I/O Registry. */ #define kIOMediaLeafKey "Leaf" /*! * @defined kIOMediaOpenKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaOpenKey property has an OSBoolean value and describes whether * a client presently has an open on this media. */ #define kIOMediaOpenKey "Open" /*! * @defined kIOMediaPreferredBlockSizeKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaPreferredBlockSizeKey property has an * OSNumber value and describes the media's natural * block size in bytes. This information is useful to clients that want to * optimize access to the media. */ #define kIOMediaPreferredBlockSizeKey "Preferred Block Size" /*! * @defined kIOMediaRemovableKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaRemovableKey property has an OSBoolean * value and describes whether the media is removable * from the drive mechanism. */ #define kIOMediaRemovableKey "Removable" /*! * @defined kIOMediaSizeKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaSizeKey property has an OSNumber value and describes the total length of the media in * bytes. */ #define kIOMediaSizeKey "Size" /*! * @defined kIOMediaUUIDKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaUUIDKey property has an OSString value and contains a persistent * Universal Unique Identifier for the media if such an identifier is available. */ #define kIOMediaUUIDKey "UUID" /*! * @defined kIOMediaWholeKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaWholeKey property has an OSBoolean * value and describes whether the media is whole, that is, * it represents the whole disk (the physical disk, or a virtual replica * thereof). */ #define kIOMediaWholeKey "Whole" /*! * @defined kIOMediaWritableKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaWritableKey property has an OSBoolean * value and describes whether the media is writable. */ #define kIOMediaWritableKey "Writable" /*! * @defined kIOMediaContentMaskKey * @abstract * A property of IOMedia clients. * @discussion * The kIOMediaContentMaskKey property has an OSString * value and must exist in all IOMedia clients that * drive new content (that is, produce new media objects). When the client * matches against the provider media, the value of the client's * kIOMediaContentMaskKey property is used to replace the provider's * kIOMediaContentKey property. */ #define kIOMediaContentMaskKey "Content Mask" /*! * @defined kIOMediaIconKey * @abstract * A property of any object in the media stack. * @discussion * kIOMediaIconKey is a property of any object in the media stack that wishes * to override the default icon shown for the media objects in the stack. It * is usually defined in a provider object below the media object. It has an * OSDictionary value, with properties identical to the kIOIconKey definition, * that is, kCFBundleIdentifierKey and kIOBundleResourceFileKey. */ #define kIOMediaIconKey "IOMediaIcon" /*! * @defined kIOMediaInvalidStartupDiskKey * @abstract * A property of IOMedia objects. * @discussion * The kIOMediaInvalidStartupDiskKey property has an OSBoolean * value and describes whether the media cannot be used as a startup disk */ #define kIOMediaInvalidStartupDiskKey "Invalid Startup Disk" /*! * @enum IOMediaAttributeMask * @discussion * The IOMediaAttributeMask bit mask describes various attributes of * the media object, such as its ejectability and its removability. * @constant kIOMediaAttributeEjectableMask * Indicates whether the media is ejectable from the drive mechanism * under software control. Implies kIOMediaAttributeRemovableMask. * @constant kIOMediaAttributeRemovableMask * Indicates whether the media is removable from the drive mechanism. */ enum { kIOMediaAttributeEjectableMask = 0x00000001, kIOMediaAttributeRemovableMask = 0x00000002, kIOMediaAttributeReservedMask = 0xFFFFFFFC }; typedef UInt32 IOMediaAttributeMask; #endif /* !_IOMEDIA_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOMediaBSDClient.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOMEDIABSDCLIENT_H #define _IOMEDIABSDCLIENT_H #include <sys/disk.h> #endif /* !_IOMEDIABSDCLIENT_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOApplePartitionScheme.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /* * This header contains the IOApplePartitionScheme class definition. */ #ifndef _IOAPPLEPARTITIONSCHEME_H #define _IOAPPLEPARTITIONSCHEME_H #include <IOKit/IOTypes.h> /* * kIOApplePartitionSchemeClass is the name of the IOApplePartitionScheme class. */ #define kIOApplePartitionSchemeClass "IOApplePartitionScheme" /* * Apple Partition Map Definitions */ #pragma pack(push, 1) /* (enable 8-bit struct packing) */ /* Structure constants. */ #define DPISTRLEN 32 /* Partition map entry, as found in blocks 1 to dpme_map_entries of the disk. */ typedef struct dpme { UInt16 dpme_signature; /* (unique value for partition entry, 'PM') */ UInt16 dpme_reserved_1; /* (reserved for future use) */ UInt32 dpme_map_entries; /* (number of partition entries) */ UInt32 dpme_pblock_start; /* (physical block start of partition) */ UInt32 dpme_pblocks; /* (physical block count of partition) */ char dpme_name[DPISTRLEN]; /* (name of partition) */ char dpme_type[DPISTRLEN]; /* (type of partition, eg. Apple_HFS) */ UInt32 dpme_lblock_start; /* (logical block start of partition) */ UInt32 dpme_lblocks; /* (logical block count of partition) */ UInt32 dpme_flags; /* (partition flags, see defines below) */ UInt32 dpme_boot_block; /* (logical block start of boot code) */ UInt32 dpme_boot_bytes; /* (byte count of boot code) */ UInt32 dpme_load_addr; /* (load address in memory of boot code) */ UInt32 dpme_load_addr_2; /* (reserved for future use) */ UInt32 dpme_goto_addr; /* (jump address in memory of boot code) */ UInt32 dpme_goto_addr_2; /* (reserved for future use) */ UInt32 dpme_checksum; /* (checksum of boot code) */ UInt8 dpme_process_id[16]; /* (processor type) */ UInt32 dpme_reserved_2[32]; /* (reserved for future use) */ UInt32 dpme_reserved_3[62]; /* (reserved for future use) */ } DPME; /* Driver descriptor map entry. */ typedef struct DDMap { UInt32 ddBlock; /* (driver's block start, sbBlkSize-blocks) */ UInt16 ddSize; /* (driver's block count, 512-blocks) */ UInt16 ddType; /* (driver's system type) */ } DDMap; /* Driver descriptor map, as found in block zero of the disk. */ typedef struct Block0 { UInt16 sbSig; /* (unique value for block zero, 'ER') */ UInt16 sbBlkSize; /* (block size for this device) */ UInt32 sbBlkCount; /* (block count for this device) */ UInt16 sbDevType; /* (device type) */ UInt16 sbDevId; /* (device id) */ UInt32 sbDrvrData; /* (driver data) */ UInt16 sbDrvrCount; /* (driver descriptor count) */ DDMap sbDrvrMap[8]; /* (driver descriptor table) */ UInt8 sbReserved[430]; /* (reserved for future use) */ } Block0; /* Partition map signature (sbSig). */ #define BLOCK0_SIGNATURE 0x4552 /* Partition map entry signature (dpme_signature). */ #define DPME_SIGNATURE 0x504D /* Partition map entry flags (dpme_flags). */ #define DPME_FLAGS_VALID 0x00000001 /* (bit 0) */ #define DPME_FLAGS_ALLOCATED 0x00000002 /* (bit 1) */ #define DPME_FLAGS_IN_USE 0x00000004 /* (bit 2) */ #define DPME_FLAGS_BOOTABLE 0x00000008 /* (bit 3) */ #define DPME_FLAGS_READABLE 0x00000010 /* (bit 4) */ #define DPME_FLAGS_WRITABLE 0x00000020 /* (bit 5) */ #define DPME_FLAGS_OS_PIC_CODE 0x00000040 /* (bit 6) */ #define DPME_FLAGS_OS_SPECIFIC_2 0x00000080 /* (bit 7) */ #define DPME_FLAGS_OS_SPECIFIC_1 0x00000100 /* (bit 8) */ #define DPME_FLAGS_RESERVED_2 0xFFFFFE00 /* (bit 9..31) */ #pragma pack(pop) /* (reset to default struct packing) */ #endif /* !_IOAPPLEPARTITIONSCHEME_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOCDTypes.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOCDTYPES_H #define _IOCDTYPES_H #include <IOKit/IOTypes.h> #include <libkern/OSByteOrder.h> #pragma pack(push, 1) /* (enable 8-bit struct packing) */ /* * Minutes, Seconds, Frames (M:S:F) * * All M:S:F values passed across I/O Kit APIs are guaranteed to be * binary-encoded numbers (no BCD-encoded numbers are ever passed). */ typedef struct { UInt8 minute; UInt8 second; UInt8 frame; } CDMSF; /* * Media Catalogue Numbers (MCN), International Standard Recording Codes (ISRC) * * All MCN and ISRC values passed across I/O Kit APIs are guaranteed * to have a zero-terminating byte, for convenient use as C strings. */ #define kCDMCNMaxLength 13 #define kCDISRCMaxLength 12 typedef char CDMCN [kCDMCNMaxLength + 1]; typedef char CDISRC[kCDISRCMaxLength + 1]; /* * Audio Status * * All CDAudioStatus fields passed across I/O Kit APIs are guaranteed to * be binary-encoded numbers (no BCD-encoded numbers are ever passed). */ #define kCDAudioStatusUnsupported 0x00 #define kCDAudioStatusActive 0x11 #define kCDAudioStatusPaused 0x12 #define kCDAudioStatusSuccess 0x13 #define kCDAudioStatusFailure 0x14 #define kCDAudioStatusNone 0x15 typedef struct { UInt8 status; struct { CDMSF time; struct { UInt8 index; UInt8 number; CDMSF time; } track; } position; } CDAudioStatus; /* * Table Of Contents * * All CDTOC fields passed across I/O Kit APIs are guaranteed to be * binary-encoded numbers (no BCD-encoded numbers are ever passed). */ typedef struct { UInt8 session; #ifdef __LITTLE_ENDIAN__ UInt8 control:4, adr:4; #else /* !__LITTLE_ENDIAN__ */ UInt8 adr:4, control:4; #endif /* !__LITTLE_ENDIAN__ */ UInt8 tno; UInt8 point; CDMSF address; UInt8 zero; CDMSF p; } CDTOCDescriptor; typedef struct { UInt16 length; UInt8 sessionFirst; UInt8 sessionLast; CDTOCDescriptor descriptors[0]; } CDTOC; /* * Table Of Contents Descriptor Count Convenience Function */ static inline UInt32 CDTOCGetDescriptorCount(CDTOC * toc) { UInt32 tocSize = OSSwapBigToHostInt16(toc->length) + (UInt32) sizeof(toc->length); return (tocSize < (UInt32) sizeof(CDTOC)) ? 0 : (tocSize - (UInt32) sizeof(CDTOC)) / (UInt32) sizeof(CDTOCDescriptor); } /* * M:S:F To LBA Convenience Function */ static inline UInt32 CDConvertMSFToLBA(CDMSF msf) { return (((msf.minute * 60U) + msf.second) * 75U) + msf.frame - 150U; } /* * M:S:F To Clipped LBA Convenience Function */ static inline UInt32 CDConvertMSFToClippedLBA(CDMSF msf) { return (msf.minute == 0 && msf.second <= 1) ? 0 : CDConvertMSFToLBA(msf); } /* * LBA To M:S:F Convenience Function */ static inline CDMSF CDConvertLBAToMSF(UInt32 lba) { CDMSF msf; lba += 150; msf.minute = (lba / (75 * 60)); msf.second = (lba % (75 * 60)) / 75; msf.frame = (lba % (75 )); return msf; } /* * Track Number To M:S:F Convenience Function * * The CDTOC structure is assumed to be complete, that is, none of * the descriptors are missing or clipped due to an insufficiently * sized buffer holding the CDTOC contents. */ static inline CDMSF CDConvertTrackNumberToMSF(UInt8 track, CDTOC * toc) { UInt32 count = CDTOCGetDescriptorCount(toc); UInt32 i; CDMSF msf = { 0xFF, 0xFF, 0xFF }; for (i = 0; i < count; i++) { if (toc->descriptors[i].point == track && toc->descriptors[i].adr == 1) { msf = toc->descriptors[i].p; break; } } return msf; } /* * Sector Areas, Sector Types * * Bytes Per Type CDDA Mode1 Mode2 Mode2Form1 Mode2Form2 * Per Area +----------+----------+----------+----------+----------+ * Sync | 0 | 12 | 12 | 12 | 12 | * Header | 0 | 4 | 4 | 4 | 4 | * SubHeader | 0 | 0 | 0 | 8 | 8 | * User | 2352 | 2048 | 2336 | 2048 | 2328 | * Auxiliary | 0 | 288 | 0 | 280 | 0 | * ErrorFlags | 294 | 294 | 294 | 294 | 294 | * SubChannel | 96 | 96 | 96 | 96 | 96 | * SubChannelQ | 16 | 16 | 16 | 16 | 16 | * +----------+----------+----------+----------+----------+ */ typedef enum { kCDSectorAreaSync = 0x80, kCDSectorAreaHeader = 0x20, kCDSectorAreaSubHeader = 0x40, kCDSectorAreaUser = 0x10, kCDSectorAreaAuxiliary = 0x08, kCDSectorAreaErrorFlags = 0x02, kCDSectorAreaSubChannel = 0x01, kCDSectorAreaSubChannelQ = 0x04 } CDSectorArea; typedef enum { kCDSectorTypeUnknown = 0x00, kCDSectorTypeCDDA = 0x01, kCDSectorTypeMode1 = 0x02, kCDSectorTypeMode2 = 0x03, kCDSectorTypeMode2Form1 = 0x04, kCDSectorTypeMode2Form2 = 0x05, kCDSectorTypeCount = 0x06 } CDSectorType; typedef enum { kCDSectorSizeCDDA = 2352, kCDSectorSizeMode1 = 2048, kCDSectorSizeMode2 = 2336, kCDSectorSizeMode2Form1 = 2048, kCDSectorSizeMode2Form2 = 2328, kCDSectorSizeWhole = 2352 } CDSectorSize; /* * Media Types */ enum { kCDMediaTypeUnknown = 0x0100, kCDMediaTypeROM = 0x0102, /* CD-ROM */ kCDMediaTypeR = 0x0104, /* CD-R */ kCDMediaTypeRW = 0x0105, /* CD-RW */ kCDMediaTypeMin = 0x0100, kCDMediaTypeMax = 0x01FF }; typedef UInt32 CDMediaType; /* * Media Speed (kB/s) */ #define kCDSpeedMin 0x00B0 #define kCDSpeedMax 0xFFFF /* * MMC Formats */ // Read Table Of Contents Format Types typedef UInt8 CDTOCFormat; enum { kCDTOCFormatTOC = 0x02, // CDTOC kCDTOCFormatPMA = 0x03, // CDPMA kCDTOCFormatATIP = 0x04, // CDATIP kCDTOCFormatTEXT = 0x05 // CDTEXT }; // Read Table Of Contents Format 0x03 struct CDPMADescriptor { UInt8 reserved; #ifdef __LITTLE_ENDIAN__ UInt8 control:4, adr:4; #else /* !__LITTLE_ENDIAN__ */ UInt8 adr:4, control:4; #endif /* !__LITTLE_ENDIAN__ */ UInt8 tno; UInt8 point; CDMSF address; UInt8 zero; CDMSF p; }; typedef struct CDPMADescriptor CDPMADescriptor; struct CDPMA { UInt16 dataLength; UInt8 reserved; UInt8 reserved2; CDPMADescriptor descriptors[0]; }; typedef struct CDPMA CDPMA; // Read Table Of Contents Format 0x04 struct CDATIP { UInt16 dataLength; UInt8 reserved[2]; #ifdef __LITTLE_ENDIAN__ UInt8 referenceSpeed:3; UInt8 reserved3:1; UInt8 indicativeTargetWritingPower:3; UInt8 reserved2:1; UInt8 reserved5:6; UInt8 unrestrictedUse:1; UInt8 reserved4:1; UInt8 a3Valid:1; UInt8 a2Valid:1; UInt8 a1Valid:1; UInt8 discSubType:3; UInt8 discType:1; UInt8 reserved6:1; #else /* !__LITTLE_ENDIAN__ */ UInt8 reserved2:1; UInt8 indicativeTargetWritingPower:3; UInt8 reserved3:1; UInt8 referenceSpeed:3; UInt8 reserved4:1; UInt8 unrestrictedUse:1; UInt8 reserved5:6; UInt8 reserved6:1; UInt8 discType:1; UInt8 discSubType:3; UInt8 a1Valid:1; UInt8 a2Valid:1; UInt8 a3Valid:1; #endif /* !__LITTLE_ENDIAN__ */ UInt8 reserved7; CDMSF startTimeOfLeadIn; UInt8 reserved8; CDMSF lastPossibleStartTimeOfLeadOut; UInt8 reserved9; UInt8 a1[3]; UInt8 reserved10; UInt8 a2[3]; UInt8 reserved11; UInt8 a3[3]; UInt8 reserved12; }; typedef struct CDATIP CDATIP; // Read Table Of Contents Format 0x05 struct CDTEXTDescriptor { UInt8 packType; UInt8 trackNumber; UInt8 sequenceNumber; #ifdef __LITTLE_ENDIAN__ UInt8 characterPosition:4; UInt8 blockNumber:3; UInt8 doubleByteCharacterCode:1; #else /* !__LITTLE_ENDIAN__ */ UInt8 doubleByteCharacterCode:1; UInt8 blockNumber:3; UInt8 characterPosition:4; #endif /* !__LITTLE_ENDIAN__ */ UInt8 textData[12]; UInt8 reserved[2]; }; typedef struct CDTEXTDescriptor CDTEXTDescriptor; struct CDTEXT { UInt16 dataLength; UInt8 reserved; UInt8 reserved2; CDTEXTDescriptor descriptors[0]; }; typedef struct CDTEXT CDTEXT; // Read Disc Information Format struct CDDiscInfo { UInt16 dataLength; #ifdef __LITTLE_ENDIAN__ UInt8 discStatus:2; UInt8 stateOfLastSession:2; UInt8 erasable:1; UInt8 reserved:3; #else /* !__LITTLE_ENDIAN__ */ UInt8 reserved:3; UInt8 erasable:1; UInt8 stateOfLastSession:2; UInt8 discStatus:2; #endif /* !__LITTLE_ENDIAN__ */ UInt8 numberOfFirstTrack; UInt8 numberOfSessionsLSB; UInt8 firstTrackNumberInLastSessionLSB; UInt8 lastTrackNumberInLastSessionLSB; #ifdef __LITTLE_ENDIAN__ UInt8 reserved3:5; UInt8 unrestrictedUse:1; UInt8 discBarCodeValid:1; UInt8 discIdentificationValid:1; #else /* !__LITTLE_ENDIAN__ */ UInt8 discIdentificationValid:1; UInt8 discBarCodeValid:1; UInt8 unrestrictedUse:1; UInt8 reserved3:5; #endif /* !__LITTLE_ENDIAN__ */ UInt8 discType; UInt8 numberOfSessionsMSB; UInt8 firstTrackNumberInLastSessionMSB; UInt8 lastTrackNumberInLastSessionMSB; UInt32 discIdentification; UInt8 reserved7; CDMSF lastSessionLeadInStartTime; UInt8 reserved8; CDMSF lastPossibleStartTimeOfLeadOut; UInt8 discBarCode[8]; UInt8 reserved9; UInt8 numberOfOPCTableEntries; UInt8 opcTableEntries[0]; }; typedef struct CDDiscInfo CDDiscInfo; // Read Track Information Address Types typedef UInt8 CDTrackInfoAddressType; enum { kCDTrackInfoAddressTypeLBA = 0x00, kCDTrackInfoAddressTypeTrackNumber = 0x01, kCDTrackInfoAddressTypeSessionNumber = 0x02, }; // Read Track Information Format struct CDTrackInfo { UInt16 dataLength; UInt8 trackNumberLSB; UInt8 sessionNumberLSB; UInt8 reserved; #ifdef __LITTLE_ENDIAN__ UInt8 trackMode:4; UInt8 copy:1; UInt8 damage:1; UInt8 reserved3:2; UInt8 dataMode:4; UInt8 fixedPacket:1; UInt8 packet:1; UInt8 blank:1; UInt8 reservedTrack:1; UInt8 nextWritableAddressValid:1; UInt8 lastRecordedAddressValid:1; UInt8 reserved5:6; #else /* !__LITTLE_ENDIAN__ */ UInt8 reserved3:2; UInt8 damage:1; UInt8 copy:1; UInt8 trackMode:4; UInt8 reservedTrack:1; UInt8 blank:1; UInt8 packet:1; UInt8 fixedPacket:1; UInt8 dataMode:4; UInt8 reserved5:6; UInt8 lastRecordedAddressValid:1; UInt8 nextWritableAddressValid:1; #endif /* !__LITTLE_ENDIAN__ */ UInt32 trackStartAddress; UInt32 nextWritableAddress; UInt32 freeBlocks; UInt32 fixedPacketSize; UInt32 trackSize; UInt32 lastRecordedAddress; UInt8 trackNumberMSB; UInt8 sessionNumberMSB; UInt8 reserved6; UInt8 reserved7; }; typedef struct CDTrackInfo CDTrackInfo; #pragma pack(pop) /* (reset to default struct packing) */ #endif /* _IOCDTYPES_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOStorageProtocolCharacteristics.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOKIT_IO_STORAGE_PROTOCOL_CHARACTERISTICS_H_ #define _IOKIT_IO_STORAGE_PROTOCOL_CHARACTERISTICS_H_ #include <TargetConditionals.h> #if TARGET_OS_DRIVERKIT #include <DriverKit/storage/IOStorageControllerCharacteristics.h> #else #include <IOKit/storage/IOStorageControllerCharacteristics.h> #endif /* * Protocol Characteristics - Characteristics defined for protocols. */ /*! @defined kIOPropertyProtocolCharacteristicsKey @discussion This key is used to define Protocol Characteristics for a particular protocol and it has an associated dictionary which lists the protocol characteristics. Requirement: Mandatory Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>ATAPI</string> <key>Physical Interconnect Location</key> <string>Internal</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyProtocolCharacteristicsKey "Protocol Characteristics" /*! @defined kIOPropertySCSIInitiatorIdentifierKey @discussion An identifier that will uniquely identify this SCSI Initiator for the SCSI Domain. Requirement: Mandatory for SCSI Parallel Interface, SAS, and Fibre Channel Interface. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>SCSI Parallel Interface</string> <key>Physical Interconnect Location</key> <string>Internal</string> <key>SCSI Initiator Identifier</key> <integer>7</integer> </dict> </dict> @/textblock </pre> */ #define kIOPropertySCSIInitiatorIdentifierKey "SCSI Initiator Identifier" /*! @defined kIOPropertySCSIDomainIdentifierKey @discussion An identifier that will uniquely identify this SCSI Domain for the Physical Interconnect type. This identifier is only guaranteed to be unique for any given Physical Interconnect and is not guaranteed to be the same across restarts or shutdowns. Requirement: Mandatory for SCSI Parallel Interface and Fibre Channel Interface. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>SCSI Parallel Interface</string> <key>Physical Interconnect Location</key> <string>Internal</string> <key>SCSI Domain Identifier</key> <integer>0</integer> </dict> </dict> @/textblock </pre> */ #define kIOPropertySCSIDomainIdentifierKey "SCSI Domain Identifier" /*! @defined kIOPropertySCSITargetIdentifierKey @discussion This is the SCSI Target Identifier for a given SCSI Target Device. Requirement: Mandatory for SCSI Parallel Interface and Fibre Channel Interface. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>SCSI Parallel Interface</string> <key>Physical Interconnect Location</key> <string>Internal</string> <key>SCSI Target Identifier</key> <integer>3</integer> </dict> </dict> @/textblock </pre> */ #define kIOPropertySCSITargetIdentifierKey "SCSI Target Identifier" /*! @defined kIOPropertySCSILogicalUnitNumberKey @discussion This key is the SCSI Logical Unit Number for the device server controlled by the driver. Requirement: Mandatory for SCSI Parallel Interface, SAS, and Fibre Channel Interface. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>SCSI Parallel Interface</string> <key>Physical Interconnect Location</key> <string>Internal</string> <key>SCSI Logical Unit Number</key> <integer>2</integer> </dict> </dict> @/textblock </pre> */ #define kIOPropertySCSILogicalUnitNumberKey "SCSI Logical Unit Number" /*! @defined kIOPropertyPhysicalInterconnectTypeKey @discussion This key is used to define the Physical Interconnect to which a device is attached. Requirement: Mandatory. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>SCSI Parallel Interface</string> <key>Physical Interconnect Location</key> <string>Internal</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectTypeKey "Physical Interconnect" /*! @defined kIOPropertyPhysicalInterconnectLocationKey @discussion This key is used to define the Physical Interconnect Location. Requirement: Mandatory. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>SCSI Parallel Interface</string> <key>Physical Interconnect Location</key> <string>Internal</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectLocationKey "Physical Interconnect Location" /*! @defined kIOPropertySCSIProtocolMultiInitKey @discussion This protocol characteristics key is used to inform the system that the protocol supports having multiple devices that act as initiators. Requirement: Optional. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>Fibre Channel Interface</string> <key>Physical Interconnect Location</key> <string>External</string> <key>Multiple Initiators</key> <string>True</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertySCSIProtocolMultiInitKey "Multiple Initiators" /* * Values - Values for the characteristics defined above. */ /*! @defined kIOPropertyInternalKey @discussion This key defines the value of Internal for the key kIOPropertyPhysicalInterconnectLocationKey. If the device is connected to an internal bus, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>ATA</string> <key>Physical Interconnect Location</key> <string>Internal</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyInternalKey "Internal" /*! @defined kIOPropertyExternalKey @discussion This key defines the value of External for the key kIOPropertyPhysicalInterconnectLocationKey. If the device is connected to an external bus, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>Fibre Channel Interface</string> <key>Physical Interconnect Location</key> <string>External</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyExternalKey "External" /*! @defined kIOPropertyInternalExternalKey @discussion This key defines the value of Internal/External for the key kIOPropertyPhysicalInterconnectLocationKey. If the device is connected to a bus and it is indeterminate whether it is internal or external, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>SCSI Parallel Interface</string> <key>Physical Interconnect Location</key> <string>Internal/External</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyInternalExternalKey "Internal/External" /*! @defined kIOPropertyInterconnectFileKey @discussion This key defines the value of File for the key kIOPropertyPhysicalInterconnectLocationKey. If the device is a file that is being represented as a storage device, this key should be set. NOTE: This key should only be used when the Physical Interconnect is set to Virtual Interface. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>Virtual Interface</string> <key>Physical Interconnect Location</key> <string>File</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyInterconnectFileKey "File" /*! @defined kIOPropertyInterconnectRAMKey @discussion This key defines the value of RAM for the key kIOPropertyPhysicalInterconnectLocationKey. If the device is system memory that is being represented as a storage device, this key should be set. NOTE: This key should only be used when the Physical Interconnect is set to Virtual Interface. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>Virtual Interface</string> <key>Physical Interconnect Location</key> <string>RAM</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyInterconnectRAMKey "RAM" /*! @defined kIOPropertyPhysicalInterconnectTypeATA @discussion This key defines the value of ATA for the key kIOPropertyPhysicalInterconnectTypeKey. If the device is connected to an ATA bus, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>ATA</string> <key>Physical Interconnect Location</key> <string>Internal</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectTypeATA "ATA" /*! @defined kIOPropertyPhysicalInterconnectTypeSerialATA @discussion This key defines the value of SATA for the key kIOPropertyPhysicalInterconnectTypeKey. If the device is connected to a SATA bus, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>SATA</string> <key>Physical Interconnect Location</key> <string>Internal</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectTypeSerialATA "SATA" /*! @defined kIOPropertyPhysicalInterconnectTypeSerialAttachedSCSI @discussion This key defines the value of SAS for the key kIOPropertyPhysicalInterconnectTypeKey. If the device is connected to a SAS bus, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>SAS</string> <key>Physical Interconnect Location</key> <string>External</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectTypeSerialAttachedSCSI "SAS" /*! @defined kIOPropertyPhysicalInterconnectTypeATAPI @discussion This key defines the value of ATAPI for the key kIOPropertyPhysicalInterconnectTypeKey. If the device is connected to an ATA bus and follows the ATAPI command specification, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>ATAPI</string> <key>Physical Interconnect Location</key> <string>Internal</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectTypeATAPI "ATAPI" /*! @defined kIOPropertyPhysicalInterconnectTypeUSB @discussion This key defines the value of USB for the key kIOPropertyPhysicalInterconnectTypeKey. If the device is connected to a USB port, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>USB</string> <key>Physical Interconnect Location</key> <string>External</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectTypeUSB "USB" /*! @defined kIOPropertyPhysicalInterconnectTypeFireWire @discussion This key defines the value of USB for the key kIOPropertyPhysicalInterconnectTypeKey. If the device is connected to a FireWire port, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>FireWire</string> <key>Physical Interconnect Location</key> <string>External</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectTypeFireWire "FireWire" /*! @defined kIOPropertyPhysicalInterconnectTypeSecureDigital @discussion This key defines the value of Secure Digital for the key kIOPropertyPhysicalInterconnectTypeSecureDigital. If the device is connected to a Secure Digital port and follows the Secure Digital specification, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>Secure Digital</string> <key>Physical Interconnect Location</key> <string>Internal</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectTypeSecureDigital "Secure Digital" /*! @defined kIOPropertyPhysicalInterconnectTypeSCSIParallel @discussion This key defines the value of SCSI Parallel Interface for the key kIOPropertyPhysicalInterconnectTypeKey. If the device is connected to a SCSI Parallel port, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>SCSI Parallel Interface</string> <key>Physical Interconnect Location</key> <string>External</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectTypeSCSIParallel "SCSI Parallel Interface" /*! @defined kIOPropertyPhysicalInterconnectTypeFibreChannel @discussion This key defines the value of Fibre Channel Interface for the key kIOPropertyPhysicalInterconnectTypeKey. If the device is connected to a Fibre Channel port, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>Fibre Channel Interface</string> <key>Physical Interconnect Location</key> <string>External</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectTypeFibreChannel "Fibre Channel Interface" /*! @defined kIOPropertyPhysicalInterconnectTypeVirtual @discussion This key defines the value of Virtual Interface for the key kIOPropertyPhysicalInterconnectTypeVirtual. If the device is being made to look like a storage device, but is not such in actuality, such as a File or RAM, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>Virtual Interface</string> <key>Physical Interconnect Location</key> <string>File</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectTypeVirtual "Virtual Interface" /*! @defined kIOPropertyPhysicalInterconnectTypePCI @discussion This key defines the value of PCI for the key kIOPropertyPhysicalInterconnectTypePCI. If the device is connected via PCI, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>PCI</string> <key>Physical Interconnect Location</key> <string>Internal</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectTypePCI "PCI" /*! @defined kIOPropertyPhysicalInterconnectTypePCIExpress @discussion This key defines the value of PCI-Express for the key kIOPropertyPhysicalInterconnectTypePCIExpress. If the device is connected via PCI-Express, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>PCI-Express</string> <key>Physical Interconnect Location</key> <string>Internal</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectTypePCIExpress "PCI-Express" /*! @defined kIOPropertyPhysicalInterconnectTypeAppleFabric @discussion This key defines the value of Apple Fabric for the key kIOPropertyPhysicalInterconnectTypeAppleFabric. If the device is connected via Apple Fabric, this key should be set. Example: <pre> @textblock <dict> <key>Protocol Characteristics</key> <dict> <key>Physical Interconnect</key> <string>Apple Fabric</string> <key>Physical Interconnect Location</key> <string>Internal</string> </dict> </dict> @/textblock </pre> */ #define kIOPropertyPhysicalInterconnectTypeAppleFabric "Apple Fabric" #endif /* _IOKIT_IO_STORAGE_PROTOCOL_CHARACTERISTICS_H_ */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOCDMedia.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /*! * @header IOCDMedia * @abstract * This header contains the IOCDMedia class definition. */ #ifndef _IOCDMEDIA_H #define _IOCDMEDIA_H /*! * @defined kIOCDMediaClass * @abstract * kIOCDMediaClass is the name of the IOCDMedia class. * @discussion * kIOCDMediaClass is the name of the IOCDMedia class. */ #define kIOCDMediaClass "IOCDMedia" /*! * @defined kIOCDMediaTOCKey * @abstract * kIOCDMediaTOCKey is a property of IOCDMedia objects. It has an OSData value * and a CDTOC structure. * @discussion * The kIOCDMediaTOCKey property contains the CD's full table of contents, * formatted as a CDTOC structure. The CDTOC structure is same as what is * returned by a READ TOC command, format 0x02. All fields in the TOC are * guaranteed to be binary-encoded (no BCD-encoded numbers are ever passed). */ #define kIOCDMediaTOCKey "TOC" /*! * @defined kIOCDMediaTypeKey * @abstract * kIOCDMediaTypeKey is a property of IOCDMedia objects. It has an OSString * value. * @discussion * The kIOCDMediaTypeKey property identifies the CD media type (CD-ROM, CD-R, * CD-RW, etc). See the kIOCDMediaType contants for possible values. */ #define kIOCDMediaTypeKey "Type" /*! * @defined kIOCDMediaTypeROM * The kIOCDMediaTypeKey constant for CD-ROM media (inclusive of the CD-I, * CD-ROM XA, and CD Audio standards, and mixed mode combinations thereof). */ #define kIOCDMediaTypeROM "CD-ROM" /*! * @defined kIOCDMediaTypeR * The kIOCDMediaTypeKey constant for CD Recordable (CD-R) media. */ #define kIOCDMediaTypeR "CD-R" /*! * @defined kIOCDMediaTypeRW * The kIOCDMediaTypeKey constant for CD ReWritable (CD-RW) media. */ #define kIOCDMediaTypeRW "CD-RW" #endif /* !_IOCDMEDIA_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOGUIDPartitionScheme.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /* * This header contains the IOGUIDPartitionScheme class definition. */ #ifndef _IOGUIDPARTITIONSCHEME_H #define _IOGUIDPARTITIONSCHEME_H #include <IOKit/IOTypes.h> /* * kIOGUIDPartitionSchemeClass is the name of the IOGUIDPartitionScheme class. */ #define kIOGUIDPartitionSchemeClass "IOGUIDPartitionScheme" /* * GUID Partition Map Definitions */ #include <uuid/uuid.h> #pragma pack(push, 1) /* (enable 8-bit struct packing) */ /* Partition map. */ struct gpt_hdr { uint8_t hdr_sig[8]; uint32_t hdr_revision; uint32_t hdr_size; uint32_t hdr_crc_self; uint32_t __reserved; uint64_t hdr_lba_self; uint64_t hdr_lba_alt; uint64_t hdr_lba_start; uint64_t hdr_lba_end; uuid_t hdr_uuid; uint64_t hdr_lba_table; uint32_t hdr_entries; uint32_t hdr_entsz; uint32_t hdr_crc_table; uint32_t padding; }; /* Partition map entry. */ struct gpt_ent { uuid_t ent_type; uuid_t ent_uuid; uint64_t ent_lba_start; uint64_t ent_lba_end; uint64_t ent_attr; uint16_t ent_name[36]; }; /* Partition map signature (hdr_sig). */ #define GPT_HDR_SIG "EFI PART" /* Partition map version (hdr_revision). */ #define GPT_HDR_REVISION 0x00010000 /* Partition map entry flags (ent_attr). */ #define GPT_ENT_ATTR_PLATFORM 0x00000001 /*! * @defined kIOGUIDPartitionSchemeUUIDKey * @abstract * A property of IOGUIDPartitionSchemeGUID objects * @discussion * The kIOGUIDPartitionSchemeUUIDKey property has an OSString value and contains * a persistent GUID for the disk define in GPT header */ #define kIOGUIDPartitionSchemeUUIDKey "UUID" /*! * @defined kIOMediaGPTPartitionAttributesKey * @abstrat * A property of IOMedia objects for GPT partitions * @discussion * The kIOMediaGPTPartitionAttributesKey property has an OSNumber value of 64bit * GPT partition attributes */ #define kIOMediaGPTPartitionAttributesKey "GPT Attributes" #pragma pack(pop) /* (reset to default struct packing) */ #endif /* !_IOGUIDPARTITIONSCHEME_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOCDPartitionScheme.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /* * @header IOCDPartitionScheme * @abstract * This header contains the IOCDPartitionScheme class definition. */ #ifndef _IOCDPARTITIONSCHEME_H #define _IOCDPARTITIONSCHEME_H #include <IOKit/storage/IOCDTypes.h> /* * @defined kIOCDPartitionSchemeClass * @abstract * kIOCDPartitionSchemeClass is the name of the IOCDPartitionScheme class. * @discussion * kIOCDPartitionSchemeClass is the name of the IOCDPartitionScheme class. */ #define kIOCDPartitionSchemeClass "IOCDPartitionScheme" /* * @defined kIOMediaSessionIDKey * @abstract * kIOMediaSessionIDKey is property of IOMedia objects. It has an OSNumber * value. * @discussion * The kIOMediaSessionIDKey property is placed into each IOMedia instance * created by the CD partition scheme. It identifies the session number * the track was recorded on. */ #define kIOMediaSessionIDKey "Session ID" #endif /* !_IOCDPARTITIONSCHEME_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOBDBlockStorageDevice.h
/* * Copyright (c) 2006-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /*! * @header IOBDBlockStorageDevice * @abstract * This header contains the IOBDBlockStorageDevice class definition. */ #ifndef _IOBDBLOCKSTORAGEDEVICE_H #define _IOBDBLOCKSTORAGEDEVICE_H #include <IOKit/storage/IOBDTypes.h> /*! * @defined kIOBDBlockStorageDeviceClass * @abstract * kIOBDBlockStorageDeviceClass is the name of the IOBDBlockStorageDevice class. * @discussion * kIOBDBlockStorageDeviceClass is the name of the IOBDBlockStorageDevice class. */ #define kIOBDBlockStorageDeviceClass "IOBDBlockStorageDevice" #endif /* !_IOBDBLOCKSTORAGEDEVICE_H */
0
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers
repos/simulations/libs/system-sdk/macos12/System/Library/Frameworks/IOKit.framework/Headers/storage/IOCDMediaBSDClient.h
/* * Copyright (c) 1998-2014 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef _IOCDMEDIABSDCLIENT_H #define _IOCDMEDIABSDCLIENT_H #include <sys/ioctl.h> #include <IOKit/storage/IOCDTypes.h> /* * Definitions * * ioctl description * ---------------------------- ------------------------------------------------ * DKIOCCDREAD see IOCDMedia::readCD() in IOCDMedia.h * DKIOCCDREADTOC see IOCDMedia::readTOC() in IOCDMedia.h * * DKIOCCDREADDISCINFO see IOCDMedia::readDiscInfo() in IOCDMedia.h * DKIOCCDREADTRACKINFO see IOCDMedia::readTrackInfo() in IOCDMedia.h * * DKIOCCDREADISRC see IOCDMedia::readISRC() in IOCDMedia.h * DKIOCCDREADMCN see IOCDMedia::readMCN() in IOCDMedia.h * * DKIOCCDGETSPEED see IOCDMedia::getSpeed() in IOCDMedia.h * DKIOCCDSETSPEED see IOCDMedia::setSpeed() in IOCDMedia.h * * in /System/Library/Frameworks/Kernel.framework/Headers/IOKit/storage/ */ typedef struct { uint64_t offset; uint8_t sectorArea; uint8_t sectorType; #ifdef __LP64__ uint8_t reserved0080[10]; /* reserved, clear to zero */ #else /* !__LP64__ */ uint8_t reserved0080[6]; /* reserved, clear to zero */ #endif /* !__LP64__ */ uint32_t bufferLength; /* actual length on return */ void * buffer; } dk_cd_read_t; typedef struct { CDISRC isrc; uint8_t track; uint8_t reserved0112[2]; /* reserved, clear to zero */ } dk_cd_read_isrc_t; typedef struct { CDMCN mcn; uint8_t reserved0112[2]; /* reserved, clear to zero */ } dk_cd_read_mcn_t; typedef struct { uint8_t format; uint8_t formatAsTime; uint8_t reserved0016[5]; /* reserved, clear to zero */ union { uint8_t session; uint8_t track; } address; #ifdef __LP64__ uint8_t reserved0064[6]; /* reserved, clear to zero */ #else /* !__LP64__ */ uint8_t reserved0064[2]; /* reserved, clear to zero */ #endif /* !__LP64__ */ uint16_t bufferLength; /* actual length on return */ void * buffer; } dk_cd_read_toc_t; typedef struct { #ifdef __LP64__ uint8_t reserved0000[14]; /* reserved, clear to zero */ #else /* !__LP64__ */ uint8_t reserved0000[10]; /* reserved, clear to zero */ #endif /* !__LP64__ */ uint16_t bufferLength; /* actual length on return */ void * buffer; } dk_cd_read_disc_info_t; typedef struct { uint8_t reserved0000[4]; /* reserved, clear to zero */ uint32_t address; uint8_t addressType; #ifdef __LP64__ uint8_t reserved0072[5]; /* reserved, clear to zero */ #else /* !__LP64__ */ uint8_t reserved0072[1]; /* reserved, clear to zero */ #endif /* !__LP64__ */ uint16_t bufferLength; /* actual length on return */ void * buffer; } dk_cd_read_track_info_t; #define DKIOCCDREAD _IOWR('d', 96, dk_cd_read_t) #define DKIOCCDREADISRC _IOWR('d', 97, dk_cd_read_isrc_t) #define DKIOCCDREADMCN _IOWR('d', 98, dk_cd_read_mcn_t) #define DKIOCCDGETSPEED _IOR('d', 99, uint16_t) #define DKIOCCDSETSPEED _IOW('d', 99, uint16_t) #define DKIOCCDREADTOC _IOWR('d', 100, dk_cd_read_toc_t) #define DKIOCCDREADDISCINFO _IOWR('d', 101, dk_cd_read_disc_info_t) #define DKIOCCDREADTRACKINFO _IOWR('d', 102, dk_cd_read_track_info_t) #endif /* !_IOCDMEDIABSDCLIENT_H */