Copy as Markdown

Other Tools

/* automatically generated by rust-bindgen 0.69.4 */
pub const NSS_INIT_READONLY: u32 = 1;
pub const SECMOD_DB: &[u8; 10] = b"secmod.db\0";
pub const _SECStatus_SECWouldBlock: _SECStatus = -2;
pub const _SECStatus_SECFailure: _SECStatus = -1;
pub const _SECStatus_SECSuccess: _SECStatus = 0;
pub type _SECStatus = ::std::os::raw::c_int;
extern "C" {
pub fn NSS_VersionCheck(importedVersion: *const ::std::os::raw::c_char) -> PRBool;
}
extern "C" {
pub fn NSS_IsInitialized() -> PRBool;
}
extern "C" {
pub fn NSS_Initialize(
configdir: *const ::std::os::raw::c_char,
certPrefix: *const ::std::os::raw::c_char,
keyPrefix: *const ::std::os::raw::c_char,
secmodName: *const ::std::os::raw::c_char,
flags: PRUint32,
) -> SECStatus;
}
extern "C" {
pub fn NSS_NoDB_Init(configdir: *const ::std::os::raw::c_char) -> SECStatus;
}
extern "C" {
pub fn NSS_Shutdown() -> SECStatus;
}
extern "C" {
pub fn NSS_SetDomesticPolicy() -> SECStatus;
}