Type Alias GIOFuncs

Source
pub type GIOFuncs = _GIOFuncs;

Aliased Type§

struct GIOFuncs {
    pub io_read: Option<unsafe extern "C" fn(*mut _GIOChannel, *mut i8, u32, *mut u32, *mut *mut _GError) -> u32>,
    pub io_write: Option<unsafe extern "C" fn(*mut _GIOChannel, *const i8, u32, *mut u32, *mut *mut _GError) -> u32>,
    pub io_seek: Option<unsafe extern "C" fn(*mut _GIOChannel, i64, u32, *mut *mut _GError) -> u32>,
    pub io_close: Option<unsafe extern "C" fn(*mut _GIOChannel, *mut *mut _GError) -> u32>,
    pub io_create_watch: Option<unsafe extern "C" fn(*mut _GIOChannel, u32) -> *mut _GSource>,
    pub io_free: Option<unsafe extern "C" fn(*mut _GIOChannel)>,
    pub io_set_flags: Option<unsafe extern "C" fn(*mut _GIOChannel, u32, *mut *mut _GError) -> u32>,
    pub io_get_flags: Option<unsafe extern "C" fn(*mut _GIOChannel) -> u32>,
}

Fields§

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