Type Alias BIO_METHOD

Source
pub type BIO_METHOD = bio_method_st;

Aliased Type§

#[repr(C)]
pub struct BIO_METHOD { pub type_: i32, pub name: *const i8, pub bwrite: Option<unsafe extern "C" fn(*mut bio_st, *const i8, i32) -> i32>, pub bread: Option<unsafe extern "C" fn(*mut bio_st, *mut i8, i32) -> i32>, pub bputs: Option<unsafe extern "C" fn(*mut bio_st, *const i8) -> i32>, pub bgets: Option<unsafe extern "C" fn(*mut bio_st, *mut i8, i32) -> i32>, pub ctrl: Option<unsafe extern "C" fn(*mut bio_st, i32, i64, *mut c_void) -> i64>, pub create: Option<unsafe extern "C" fn(*mut bio_st) -> i32>, pub destroy: Option<unsafe extern "C" fn(*mut bio_st) -> i32>, pub callback_ctrl: Option<unsafe extern "C" fn(*mut bio_st, i32, Option<unsafe extern "C" fn(*mut bio_st, i32, *const i8, i32, i64, i64) -> i64>) -> i64>, }

Fields§

§type_: i32§name: *const i8§bwrite: Option<unsafe extern "C" fn(*mut bio_st, *const i8, i32) -> i32>§bread: Option<unsafe extern "C" fn(*mut bio_st, *mut i8, i32) -> i32>§bputs: Option<unsafe extern "C" fn(*mut bio_st, *const i8) -> i32>§bgets: Option<unsafe extern "C" fn(*mut bio_st, *mut i8, i32) -> i32>§ctrl: Option<unsafe extern "C" fn(*mut bio_st, i32, i64, *mut c_void) -> i64>§create: Option<unsafe extern "C" fn(*mut bio_st) -> i32>§destroy: Option<unsafe extern "C" fn(*mut bio_st) -> i32>§callback_ctrl: Option<unsafe extern "C" fn(*mut bio_st, i32, Option<unsafe extern "C" fn(*mut bio_st, i32, *const i8, i32, i64, i64) -> i64>) -> i64>