Type Alias mariadb_sys::IO_CACHE
source · pub type IO_CACHE = st_io_cache;Aliased Type§
struct IO_CACHE {Show 27 fields
pub pos_in_file: u64,
pub end_of_file: u64,
pub read_pos: *mut u8,
pub read_end: *mut u8,
pub buffer: *mut u8,
pub request_pos: *mut u8,
pub write_buffer: *mut u8,
pub append_read_pos: *mut u8,
pub write_pos: *mut u8,
pub write_end: *mut u8,
pub append_buffer_lock: st_mysql_mutex,
pub share: *mut st_io_cache_share,
pub read_function: Option<unsafe extern "C" fn(_: *mut st_io_cache, _: *mut u8, _: usize) -> i32>,
pub write_function: Option<unsafe extern "C" fn(_: *mut st_io_cache, _: *const u8, _: usize) -> i32>,
pub type_: u32,
pub disk_writes: u64,
pub file_name: *mut i8,
pub dir: *const i8,
pub prefix: [i8; 3],
pub file: i32,
pub next_file_user: *mut st_io_cache,
pub seek_not_done: i32,
pub error: i32,
pub buffer_length: usize,
pub read_length: usize,
pub myflags: u64,
pub alloced_buffer: usize,
}Fields§
§pos_in_file: u64§end_of_file: u64§read_pos: *mut u8§read_end: *mut u8§buffer: *mut u8§request_pos: *mut u8§write_buffer: *mut u8§append_read_pos: *mut u8§write_pos: *mut u8§write_end: *mut u8§append_buffer_lock: st_mysql_mutex§read_function: Option<unsafe extern "C" fn(_: *mut st_io_cache, _: *mut u8, _: usize) -> i32>§write_function: Option<unsafe extern "C" fn(_: *mut st_io_cache, _: *const u8, _: usize) -> i32>§type_: u32§disk_writes: u64§file_name: *mut i8§dir: *const i8§prefix: [i8; 3]§file: i32§next_file_user: *mut st_io_cache§seek_not_done: i32§error: i32§buffer_length: usize§read_length: usize§myflags: u64§alloced_buffer: usize