GIOFuncs

Type Alias GIOFuncs 

Source
pub type GIOFuncs = _GIOFuncs;

Aliased Type§

#[repr(C)]
pub struct GIOFuncs { pub io_read: Option<unsafe extern "C" fn(*mut _GIOChannel, *mut i8, u64, *mut u64, *mut *mut _GError) -> GIOStatus>, pub io_write: Option<unsafe extern "C" fn(*mut _GIOChannel, *const i8, u64, *mut u64, *mut *mut _GError) -> GIOStatus>, pub io_seek: Option<unsafe extern "C" fn(*mut _GIOChannel, i64, GSeekType, *mut *mut _GError) -> GIOStatus>, pub io_close: Option<unsafe extern "C" fn(*mut _GIOChannel, *mut *mut _GError) -> GIOStatus>, pub io_create_watch: Option<unsafe extern "C" fn(*mut _GIOChannel, GIOCondition) -> *mut _GSource>, pub io_free: Option<unsafe extern "C" fn(*mut _GIOChannel)>, pub io_set_flags: Option<unsafe extern "C" fn(*mut _GIOChannel, GIOFlags, *mut *mut _GError) -> GIOStatus>, pub io_get_flags: Option<unsafe extern "C" fn(*mut _GIOChannel) -> GIOFlags>, }

Fields§

§io_read: Option<unsafe extern "C" fn(*mut _GIOChannel, *mut i8, u64, *mut u64, *mut *mut _GError) -> GIOStatus>§io_write: Option<unsafe extern "C" fn(*mut _GIOChannel, *const i8, u64, *mut u64, *mut *mut _GError) -> GIOStatus>§io_seek: Option<unsafe extern "C" fn(*mut _GIOChannel, i64, GSeekType, *mut *mut _GError) -> GIOStatus>§io_close: Option<unsafe extern "C" fn(*mut _GIOChannel, *mut *mut _GError) -> GIOStatus>§io_create_watch: Option<unsafe extern "C" fn(*mut _GIOChannel, GIOCondition) -> *mut _GSource>§io_free: Option<unsafe extern "C" fn(*mut _GIOChannel)>§io_set_flags: Option<unsafe extern "C" fn(*mut _GIOChannel, GIOFlags, *mut *mut _GError) -> GIOStatus>§io_get_flags: Option<unsafe extern "C" fn(*mut _GIOChannel) -> GIOFlags>