1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use cty::{c_char, c_int}; extern "C" { pub fn botan_ffi_api_version() -> u32; pub fn botan_ffi_supports_api(api_version: u32) -> c_int; pub fn botan_version_string() -> *const c_char; pub fn botan_version_major() -> u32; pub fn botan_version_minor() -> u32; pub fn botan_version_patch() -> u32; pub fn botan_version_datestamp() -> u32; }