botan-sys 0.3.0

FFI wrapper for Botan cryptography library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::os::raw::{c_int, c_char};

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;
}