Function libreauth::pass::libreauth_pass_init_std
source · #[no_mangle]
pub unsafe extern "C" fn libreauth_pass_init_std(
cfg: *mut PassCfg,
std: PasswordStorageStandard
) -> ErrorCode
Expand description
[C binding] Initialize a struct libreauth_pass_cfg
with the default values for a given
standard.
Parameters
cfg
: pointer to astruct libreauth_pass_cfg
std
: standard to use
Safety
This function is a C binding and is therefore unsafe. It is not meant to be used in Rust.