openssl_sys/handwritten/
provider.rs

1use super::super::*;
2use libc::*;
3
4extern "C" {
5    #[cfg(ossl300)]
6    pub fn OSSL_PROVIDER_load(ctx: *mut OSSL_LIB_CTX, name: *const c_char) -> *mut OSSL_PROVIDER;
7    #[cfg(ossl300)]
8    pub fn OSSL_PROVIDER_try_load(
9        ctx: *mut OSSL_LIB_CTX,
10        name: *const c_char,
11        retain_fallbacks: c_int,
12    ) -> *mut OSSL_PROVIDER;
13    #[cfg(ossl300)]
14    pub fn OSSL_PROVIDER_unload(prov: *mut OSSL_PROVIDER) -> c_int;
15    #[cfg(ossl300)]
16    pub fn OSSL_PROVIDER_set_default_search_path(
17        ctx: *mut OSSL_LIB_CTX,
18        path: *const c_char,
19    ) -> c_int;
20}