Mac Dev Center Mac OS X Reference Library Drivers, Kernel, & Hardware: User-Space Device Access Disk Arbitration Framework Reference
|
DASession.h |
Includes: | <CoreFoundation/CoreFoundation.h> |
Use the links in the table of contents to the left to access the documentation.
Creates a new approval session.
Returns the type identifier of all DAApprovalSession instances.
Schedules the approval session on a run loop.
Unschedules the approval session from a run loop.
Creates a new session.
Returns the type identifier of all DASession instances.
Schedules the session on a run loop.
Unschedules the session from a run loop.
DAApprovalSessionCreate |
Creates a new approval session.
extern DAApprovalSessionRef DAApprovalSessionCreate( CFAllocatorRef allocator );
A reference to a new DAApprovalSession.
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.
DAApprovalSessionGetTypeID |
Returns the type identifier of all DAApprovalSession instances.
extern CFTypeID DAApprovalSessionGetTypeID( void );
DAApprovalSessionScheduleWithRunLoop |
Schedules the approval session on a run loop.
extern void DAApprovalSessionScheduleWithRunLoop( DAApprovalSessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode );
session
The approval session which is being scheduled.
runLoop
The run loop on which the approval session should be scheduled.
runLoopMode
The run loop mode in which the approval session should be scheduled.
DAApprovalSessionUnscheduleFromRunLoop |
Unschedules the approval session from a run loop.
extern void DAApprovalSessionUnscheduleFromRunLoop( DAApprovalSessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode );
session
The approval session which is being unscheduled.
runLoop
The run loop on which the approval session is scheduled.
runLoopMode
The run loop mode in which the approval session is scheduled.
DASessionCreate |
Creates a new session.
extern DASessionRef DASessionCreate( CFAllocatorRef allocator );
A reference to a new DASession.
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.
DASessionGetTypeID |
Returns the type identifier of all DASession instances.
extern CFTypeID DASessionGetTypeID( void );
DASessionScheduleWithRunLoop |
Schedules the session on a run loop.
extern void DASessionScheduleWithRunLoop( DASessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode );
session
The session which is being scheduled.
runLoop
The run loop on which the session should be scheduled.
runLoopMode
The run loop mode in which the session should be scheduled.
DASessionUnscheduleFromRunLoop |
Unschedules the session from a run loop.
extern void DASessionUnscheduleFromRunLoop( DASessionRef session, CFRunLoopRef runLoop, CFStringRef runLoopMode );
session
The session which is being unscheduled.
runLoop
The run loop on which the session is scheduled.
runLoopMode
The run loop mode in which the session is scheduled.
DAApprovalSessionRef |
typedef struct __DASession * DAApprovalSessionRef;
Type of a reference to DAApprovalSession instances.
DASessionRef |
typedef struct __DASession * DASessionRef;
Type of a reference to DASession instances.
Last Updated: 2009-10-26