SecKeychainAddGenericPassword

Function SecKeychainAddGenericPassword 

Source
pub unsafe extern "C-unwind" fn SecKeychainAddGenericPassword(
    keychain: Option<&SecKeychain>,
    service_name_length: u32,
    service_name: *const c_char,
    account_name_length: u32,
    account_name: *const c_char,
    password_length: u32,
    password_data: NonNull<c_void>,
    item_ref: *mut *mut SecKeychainItem,
) -> i32
👎Deprecated: renamed to SecKeychain::add_generic_password
Available on crate features SecBase and SecKeychain only.