readstat_io_t

Type Alias readstat_io_t 

Source
pub type readstat_io_t = readstat_io_s;

Aliased Type§

#[repr(C)]
pub struct readstat_io_t { pub open: Option<unsafe extern "C" fn(*const i8, *mut c_void) -> i32>, pub close: Option<unsafe extern "C" fn(*mut c_void) -> i32>, pub seek: Option<unsafe extern "C" fn(i64, u32, *mut c_void) -> i64>, pub read: Option<unsafe extern "C" fn(*mut c_void, usize, *mut c_void) -> isize>, pub update: Option<unsafe extern "C" fn(i64, Option<unsafe extern "C" fn(f64, *mut c_void) -> i32>, *mut c_void, *mut c_void) -> u32>, pub io_ctx: *mut c_void, pub io_ctx_needs_free: i32, }

Fields§

§open: Option<unsafe extern "C" fn(*const i8, *mut c_void) -> i32>§close: Option<unsafe extern "C" fn(*mut c_void) -> i32>§seek: Option<unsafe extern "C" fn(i64, u32, *mut c_void) -> i64>§read: Option<unsafe extern "C" fn(*mut c_void, usize, *mut c_void) -> isize>§update: Option<unsafe extern "C" fn(i64, Option<unsafe extern "C" fn(f64, *mut c_void) -> i32>, *mut c_void, *mut c_void) -> u32>§io_ctx: *mut c_void§io_ctx_needs_free: i32