Type Alias swipl_fli::IOFUNCTIONS
source · pub type IOFUNCTIONS = io_functions;
Aliased Type§
struct IOFUNCTIONS {
pub read: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i8, _: usize) -> isize>,
pub write: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i8, _: usize) -> isize>,
pub seek: Option<unsafe extern "C" fn(_: *mut c_void, _: i64, _: i32) -> i64>,
pub close: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>,
pub control: Option<unsafe extern "C" fn(_: *mut c_void, _: i32, _: *mut c_void) -> i32>,
pub seek64: Option<unsafe extern "C" fn(_: *mut c_void, _: i64, _: i32) -> i64>,
}
Fields§
§read: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i8, _: usize) -> isize>
§write: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i8, _: usize) -> isize>
§seek: Option<unsafe extern "C" fn(_: *mut c_void, _: i64, _: i32) -> i64>
§close: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>
§control: Option<unsafe extern "C" fn(_: *mut c_void, _: i32, _: *mut c_void) -> i32>
§seek64: Option<unsafe extern "C" fn(_: *mut c_void, _: i64, _: i32) -> i64>