diskarbitration-sys 0.0.4

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

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

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