security_framework_sys::keychain

Function SecKeychainFindGenericPassword

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