#[no_mangle]
pub unsafe extern "C" fn libreauth_pass_init_from_phc(
    cfg: *mut PassCfg,
    phc: *const c_char
) -> ErrorCode
Expand description

[C binding] Initialize a struct libreauth_pass_cfg from a PHC string.

Parameters

  • cfg: pointer to a struct libreauth_pass_cfg
  • phc: string using LibreAuth’s PHC notation

Safety

This function is a C binding and is therefore unsafe. It is not meant to be used in Rust.