security_framework_sys::keychain

Function SecKeychainAddInternetPassword

Source
pub unsafe extern "C" fn SecKeychainAddInternetPassword(
    keychain: SecKeychainRef,
    serverNameLength: u32,
    serverName: *const c_char,
    securityDomainLength: u32,
    securityDomain: *const c_char,
    accountNameLength: u32,
    accountName: *const c_char,
    pathLength: u32,
    path: *const c_char,
    port: u16,
    protocol: SecProtocolType,
    authenticationType: SecAuthenticationType,
    passwordLength: u32,
    passwordData: *const c_void,
    itemRef: *mut SecKeychainItemRef,
) -> OSStatus