boring_sys

Type Alias RAND_METHOD

Source
pub type RAND_METHOD = rand_meth_st;

Aliased Type§

struct RAND_METHOD {
    pub seed: Option<unsafe extern "C" fn(_: *const c_void, _: i32)>,
    pub bytes: Option<unsafe extern "C" fn(_: *mut u8, _: usize) -> i32>,
    pub cleanup: Option<unsafe extern "C" fn()>,
    pub add: Option<unsafe extern "C" fn(_: *const c_void, _: i32, _: f64)>,
    pub pseudorand: Option<unsafe extern "C" fn(_: *mut u8, _: usize) -> i32>,
    pub status: Option<unsafe extern "C" fn() -> i32>,
}

Fields§

§seed: Option<unsafe extern "C" fn(_: *const c_void, _: i32)>§bytes: Option<unsafe extern "C" fn(_: *mut u8, _: usize) -> i32>§cleanup: Option<unsafe extern "C" fn()>§add: Option<unsafe extern "C" fn(_: *const c_void, _: i32, _: f64)>§pseudorand: Option<unsafe extern "C" fn(_: *mut u8, _: usize) -> i32>§status: Option<unsafe extern "C" fn() -> i32>