diskarbitration-sys 0.0.1

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::url::CFURLRef;

use session::DASessionRef;

#[repr(C)]
pub struct __DADisk(c_void);
pub type DADiskRef = *const __DADisk;

extern {
    pub fn DADiskCreateFromVolumePath(allocator: CFAllocatorRef,
                                      session: DASessionRef, path: CFURLRef)
    -> DADiskRef;
}