Type Alias bssl_sys::BIO_METHOD

source ·
pub type BIO_METHOD = bio_method_st;

Aliased Type§

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>