Type Alias pq_sys::cookie_io_functions_t

source ·
pub type cookie_io_functions_t = _IO_cookie_io_functions_t;

Aliased Type§

struct cookie_io_functions_t {
    pub read: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i8, _: usize) -> i64>,
    pub write: Option<unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: usize) -> i64>,
    pub seek: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i64, _: i32) -> i32>,
    pub close: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>,
}

Fields§

§read: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i8, _: usize) -> i64>§write: Option<unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: usize) -> i64>§seek: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i64, _: i32) -> i32>§close: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>