Type Alias target_controller_s
Source pub type target_controller_s = target_controller;
#[repr(C)]
pub struct target_controller_s {Show 16 fields
pub destroy_callback: Option<unsafe extern "C" fn(*mut target_controller, *mut target)>,
pub printf: Option<unsafe extern "C" fn(*mut target_controller, *const i8, *mut __va_list_tag)>,
pub open: Option<unsafe extern "C" fn(*mut target_controller, u32, usize, u32, u32) -> i32>,
pub close: Option<unsafe extern "C" fn(*mut target_controller, i32) -> i32>,
pub read: Option<unsafe extern "C" fn(*mut target_controller, i32, u32, u32) -> i32>,
pub write: Option<unsafe extern "C" fn(*mut target_controller, i32, u32, u32) -> i32>,
pub lseek: Option<unsafe extern "C" fn(*mut target_controller, i32, i64, u32) -> i64>,
pub rename: Option<unsafe extern "C" fn(*mut target_controller, u32, usize, u32, usize) -> i32>,
pub unlink: Option<unsafe extern "C" fn(*mut target_controller, u32, usize) -> i32>,
pub stat: Option<unsafe extern "C" fn(*mut target_controller, u32, usize, u32) -> i32>,
pub fstat: Option<unsafe extern "C" fn(*mut target_controller, i32, u32) -> i32>,
pub gettimeofday: Option<unsafe extern "C" fn(*mut target_controller, u32, u32) -> i32>,
pub isatty: Option<unsafe extern "C" fn(*mut target_controller, i32) -> i32>,
pub system: Option<unsafe extern "C" fn(*mut target_controller, u32, usize) -> i32>,
pub errno_: u32,
pub interrupted: bool,
}