target_controller_s

Type Alias target_controller_s 

Source
pub type target_controller_s = target_controller;

Aliased Type§

#[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,
}

Fields§

§destroy_callback: Option<unsafe extern "C" fn(*mut target_controller, *mut target)>§printf: Option<unsafe extern "C" fn(*mut target_controller, *const i8, *mut __va_list_tag)>§open: Option<unsafe extern "C" fn(*mut target_controller, u32, usize, u32, u32) -> i32>§close: Option<unsafe extern "C" fn(*mut target_controller, i32) -> i32>§read: Option<unsafe extern "C" fn(*mut target_controller, i32, u32, u32) -> i32>§write: Option<unsafe extern "C" fn(*mut target_controller, i32, u32, u32) -> i32>§lseek: Option<unsafe extern "C" fn(*mut target_controller, i32, i64, u32) -> i64>§rename: Option<unsafe extern "C" fn(*mut target_controller, u32, usize, u32, usize) -> i32>§unlink: Option<unsafe extern "C" fn(*mut target_controller, u32, usize) -> i32>§stat: Option<unsafe extern "C" fn(*mut target_controller, u32, usize, u32) -> i32>§fstat: Option<unsafe extern "C" fn(*mut target_controller, i32, u32) -> i32>§gettimeofday: Option<unsafe extern "C" fn(*mut target_controller, u32, u32) -> i32>§isatty: Option<unsafe extern "C" fn(*mut target_controller, i32) -> i32>§system: Option<unsafe extern "C" fn(*mut target_controller, u32, usize) -> i32>§errno_: u32§interrupted: bool