use crate::ffi_types::{c_char, c_int};
pub enum botan_rng_struct {}
pub type botan_rng_t = *mut botan_rng_struct;
extern "C" {
pub fn botan_rng_init(rng: *mut botan_rng_t, rng_type: *const c_char) -> c_int;
pub fn botan_rng_get(rng: botan_rng_t, out: *mut u8, out_len: usize) -> c_int;
pub fn botan_rng_reseed(rng: botan_rng_t, bits: usize) -> c_int;
pub fn botan_rng_reseed_from_rng(rng: botan_rng_t, src: botan_rng_t, bits: usize) -> c_int;
pub fn botan_rng_add_entropy(rng: botan_rng_t, data: *const u8, len: usize) -> c_int;
pub fn botan_rng_destroy(rng: botan_rng_t) -> c_int;
}