diskarbitration-sys 0.0.6

Bindings to Disk Arbitration for OS X
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use core_foundation_sys::base::CFAllocatorRef;
use core_foundation_sys::runloop::CFRunLoopRef;
use core_foundation_sys::string::CFStringRef;
use libc::c_void;

#[repr(C)]
pub struct __DASession(c_void);
pub type DASessionRef = *const __DASession;

extern "C" {
    pub fn DASessionCreate(allocator: CFAllocatorRef) -> DASessionRef;
    pub fn DASessionScheduleWithRunLoop(
        session: DASessionRef,
        runLoop: CFRunLoopRef,
        runLoopMode: CFStringRef,
    );
}