diskarbitration_sys/
session.rs

1use core_foundation_sys::base::CFAllocatorRef;
2use core_foundation_sys::runloop::CFRunLoopRef;
3use core_foundation_sys::string::CFStringRef;
4use libc::c_void;
5
6#[repr(C)]
7pub struct __DASession(c_void);
8pub type DASessionRef = *const __DASession;
9
10extern "C" {
11    pub fn DASessionCreate(allocator: CFAllocatorRef) -> DASessionRef;
12    pub fn DASessionScheduleWithRunLoop(
13        session: DASessionRef,
14        runLoop: CFRunLoopRef,
15        runLoopMode: CFStringRef,
16    );
17}