security_framework_sys::keychain

Function SecKeychainAddGenericPassword

Source
pub unsafe extern "C" fn SecKeychainAddGenericPassword(
    keychain: SecKeychainRef,
    serviceNameLength: u32,
    serviceName: *const c_char,
    accountNameLength: u32,
    accountName: *const c_char,
    passwordLength: u32,
    passwordData: *const c_void,
    itemRef: *mut SecKeychainItemRef,
) -> OSStatus