# This file is generated by objective.metadata
#
# Last update: Sun Mar 22 15:14:47 2020
#
# flake8: noqa

import objc, sys

if sys.maxsize > 2 ** 32:

    def sel32or64(a, b):
        return b


else:

    def sel32or64(a, b):
        return a


misc = {}
constants = """$kCFErrorDomainSystemConfiguration@^{__CFString=}$kCNNetworkInfoKeyBSSID@^{__CFString=}$kCNNetworkInfoKeySSID@^{__CFString=}$kCNNetworkInfoKeySSIDData@^{__CFString=}$kSCBondStatusDeviceAggregationStatus@^{__CFString=}$kSCBondStatusDeviceCollecting@^{__CFString=}$kSCBondStatusDeviceDistributing@^{__CFString=}$kSCCompAnyRegex@^{__CFString=}$kSCCompGlobal@^{__CFString=}$kSCCompHostNames@^{__CFString=}$kSCCompInterface@^{__CFString=}$kSCCompNetwork@^{__CFString=}$kSCCompService@^{__CFString=}$kSCCompSystem@^{__CFString=}$kSCCompUsers@^{__CFString=}$kSCDynamicStoreDomainFile@^{__CFString=}$kSCDynamicStoreDomainPlugin@^{__CFString=}$kSCDynamicStoreDomainPrefs@^{__CFString=}$kSCDynamicStoreDomainSetup@^{__CFString=}$kSCDynamicStoreDomainState@^{__CFString=}$kSCDynamicStorePropNetInterfaces@^{__CFString=}$kSCDynamicStorePropNetPrimaryInterface@^{__CFString=}$kSCDynamicStorePropNetPrimaryService@^{__CFString=}$kSCDynamicStorePropNetServiceIDs@^{__CFString=}$kSCDynamicStorePropSetupCurrentSet@^{__CFString=}$kSCDynamicStorePropSetupLastUpdated@^{__CFString=}$kSCDynamicStoreUseSessionKeys@^{__CFString=}$kSCEntNet6to4@^{__CFString=}$kSCEntNetAirPort@^{__CFString=}$kSCEntNetAppleTalk@^{__CFString=}$kSCEntNetDHCP@^{__CFString=}$kSCEntNetDNS@^{__CFString=}$kSCEntNetEthernet@^{__CFString=}$kSCEntNetFireWire@^{__CFString=}$kSCEntNetIPSec@^{__CFString=}$kSCEntNetIPv4@^{__CFString=}$kSCEntNetIPv6@^{__CFString=}$kSCEntNetInterface@^{__CFString=}$kSCEntNetL2TP@^{__CFString=}$kSCEntNetLink@^{__CFString=}$kSCEntNetModem@^{__CFString=}$kSCEntNetNetInfo@^{__CFString=}$kSCEntNetPPP@^{__CFString=}$kSCEntNetPPPSerial@^{__CFString=}$kSCEntNetPPPoE@^{__CFString=}$kSCEntNetPPTP@^{__CFString=}$kSCEntNetProxies@^{__CFString=}$kSCEntNetSMB@^{__CFString=}$kSCEntUsersConsoleUser@^{__CFString=}$kSCNetworkInterfaceIPv4@=^{__SCNetworkInterface=}$kSCNetworkInterfaceType6to4@^{__CFString=}$kSCNetworkInterfaceTypeBluetooth@^{__CFString=}$kSCNetworkInterfaceTypeBond@^{__CFString=}$kSCNetworkInterfaceTypeEthernet@^{__CFString=}$kSCNetworkInterfaceTypeFireWire@^{__CFString=}$kSCNetworkInterfaceTypeIEEE80211@^{__CFString=}$kSCNetworkInterfaceTypeIPSec@^{__CFString=}$kSCNetworkInterfaceTypeIPv4@^{__CFString=}$kSCNetworkInterfaceTypeIrDA@^{__CFString=}$kSCNetworkInterfaceTypeL2TP@^{__CFString=}$kSCNetworkInterfaceTypeModem@^{__CFString=}$kSCNetworkInterfaceTypePPP@^{__CFString=}$kSCNetworkInterfaceTypePPTP@^{__CFString=}$kSCNetworkInterfaceTypeSerial@^{__CFString=}$kSCNetworkInterfaceTypeVLAN@^{__CFString=}$kSCNetworkInterfaceTypeWWAN@^{__CFString=}$kSCNetworkProtocolTypeAppleTalk@^{__CFString=}$kSCNetworkProtocolTypeDNS@^{__CFString=}$kSCNetworkProtocolTypeIPv4@^{__CFString=}$kSCNetworkProtocolTypeIPv6@^{__CFString=}$kSCNetworkProtocolTypeProxies@^{__CFString=}$kSCNetworkProtocolTypeSMB@^{__CFString=}$kSCPrefCurrentSet@^{__CFString=}$kSCPrefNetworkServices@^{__CFString=}$kSCPrefSets@^{__CFString=}$kSCPrefSystem@^{__CFString=}$kSCPropInterfaceName@^{__CFString=}$kSCPropMACAddress@^{__CFString=}$kSCPropNet6to4Relay@^{__CFString=}$kSCPropNetAirPortAllowNetCreation@^{__CFString=}$kSCPropNetAirPortAuthPassword@^{__CFString=}$kSCPropNetAirPortAuthPasswordEncryption@^{__CFString=}$kSCPropNetAirPortJoinMode@^{__CFString=}$kSCPropNetAirPortPowerEnabled@^{__CFString=}$kSCPropNetAirPortPreferredNetwork@^{__CFString=}$kSCPropNetAirPortSavePasswords@^{__CFString=}$kSCPropNetAppleTalkComputerName@^{__CFString=}$kSCPropNetAppleTalkComputerNameEncoding@^{__CFString=}$kSCPropNetAppleTalkConfigMethod@^{__CFString=}$kSCPropNetAppleTalkDefaultZone@^{__CFString=}$kSCPropNetAppleTalkNetworkID@^{__CFString=}$kSCPropNetAppleTalkNetworkRange@^{__CFString=}$kSCPropNetAppleTalkNodeID@^{__CFString=}$kSCPropNetAppleTalkSeedNetworkRange@^{__CFString=}$kSCPropNetAppleTalkSeedZones@^{__CFString=}$kSCPropNetDNSDomainName@^{__CFString=}$kSCPropNetDNSOptions@^{__CFString=}$kSCPropNetDNSSearchDomains@^{__CFString=}$kSCPropNetDNSSearchOrder@^{__CFString=}$kSCPropNetDNSServerAddresses@^{__CFString=}$kSCPropNetDNSServerPort@^{__CFString=}$kSCPropNetDNSServerTimeout@^{__CFString=}$kSCPropNetDNSSortList@^{__CFString=}$kSCPropNetDNSSupplementalMatchDomains@^{__CFString=}$kSCPropNetDNSSupplementalMatchOrders@^{__CFString=}$kSCPropNetEthernetMTU@^{__CFString=}$kSCPropNetEthernetMediaOptions@^{__CFString=}$kSCPropNetEthernetMediaSubType@^{__CFString=}$kSCPropNetIPSecAuthenticationMethod@^{__CFString=}$kSCPropNetIPSecConnectTime@^{__CFString=}$kSCPropNetIPSecLocalCertificate@^{__CFString=}$kSCPropNetIPSecLocalIdentifier@^{__CFString=}$kSCPropNetIPSecLocalIdentifierType@^{__CFString=}$kSCPropNetIPSecRemoteAddress@^{__CFString=}$kSCPropNetIPSecSharedSecret@^{__CFString=}$kSCPropNetIPSecSharedSecretEncryption@^{__CFString=}$kSCPropNetIPSecStatus@^{__CFString=}$kSCPropNetIPSecXAuthEnabled@^{__CFString=}$kSCPropNetIPSecXAuthName@^{__CFString=}$kSCPropNetIPSecXAuthPassword@^{__CFString=}$kSCPropNetIPSecXAuthPasswordEncryption@^{__CFString=}$kSCPropNetIPv4Addresses@^{__CFString=}$kSCPropNetIPv4BroadcastAddresses@^{__CFString=}$kSCPropNetIPv4ConfigMethod@^{__CFString=}$kSCPropNetIPv4DHCPClientID@^{__CFString=}$kSCPropNetIPv4DestAddresses@^{__CFString=}$kSCPropNetIPv4Router@^{__CFString=}$kSCPropNetIPv4SubnetMasks@^{__CFString=}$kSCPropNetIPv6Addresses@^{__CFString=}$kSCPropNetIPv6ConfigMethod@^{__CFString=}$kSCPropNetIPv6DestAddresses@^{__CFString=}$kSCPropNetIPv6Flags@^{__CFString=}$kSCPropNetIPv6PrefixLength@^{__CFString=}$kSCPropNetIPv6Router@^{__CFString=}$kSCPropNetInterfaceDeviceName@^{__CFString=}$kSCPropNetInterfaceHardware@^{__CFString=}$kSCPropNetInterfaceSubType@^{__CFString=}$kSCPropNetInterfaceSupportsModemOnHold@^{__CFString=}$kSCPropNetInterfaceType@^{__CFString=}$kSCPropNetInterfaces@^{__CFString=}$kSCPropNetL2TPIPSecSharedSecret@^{__CFString=}$kSCPropNetL2TPIPSecSharedSecretEncryption@^{__CFString=}$kSCPropNetL2TPTransport@^{__CFString=}$kSCPropNetLinkActive@^{__CFString=}$kSCPropNetLinkDetaching@^{__CFString=}$kSCPropNetLocalHostName@^{__CFString=}$kSCPropNetModemAccessPointName@^{__CFString=}$kSCPropNetModemConnectSpeed@^{__CFString=}$kSCPropNetModemConnectionPersonality@^{__CFString=}$kSCPropNetModemConnectionScript@^{__CFString=}$kSCPropNetModemDataCompression@^{__CFString=}$kSCPropNetModemDeviceContextID@^{__CFString=}$kSCPropNetModemDeviceModel@^{__CFString=}$kSCPropNetModemDeviceVendor@^{__CFString=}$kSCPropNetModemDialMode@^{__CFString=}$kSCPropNetModemErrorCorrection@^{__CFString=}$kSCPropNetModemHoldCallWaitingAudibleAlert@^{__CFString=}$kSCPropNetModemHoldDisconnectOnAnswer@^{__CFString=}$kSCPropNetModemHoldEnabled@^{__CFString=}$kSCPropNetModemHoldReminder@^{__CFString=}$kSCPropNetModemHoldReminderTime@^{__CFString=}$kSCPropNetModemNote@^{__CFString=}$kSCPropNetModemPulseDial@^{__CFString=}$kSCPropNetModemSpeaker@^{__CFString=}$kSCPropNetModemSpeed@^{__CFString=}$kSCPropNetNetInfoBindingMethods@^{__CFString=}$kSCPropNetNetInfoBroadcastServerTag@^{__CFString=}$kSCPropNetNetInfoServerAddresses@^{__CFString=}$kSCPropNetNetInfoServerTags@^{__CFString=}$kSCPropNetOverridePrimary@^{__CFString=}$kSCPropNetPPPACSPEnabled@^{__CFString=}$kSCPropNetPPPAuthEAPPlugins@^{__CFString=}$kSCPropNetPPPAuthName@^{__CFString=}$kSCPropNetPPPAuthPassword@^{__CFString=}$kSCPropNetPPPAuthPasswordEncryption@^{__CFString=}$kSCPropNetPPPAuthPrompt@^{__CFString=}$kSCPropNetPPPAuthProtocol@^{__CFString=}$kSCPropNetPPPCCPEnabled@^{__CFString=}$kSCPropNetPPPCCPMPPE128Enabled@^{__CFString=}$kSCPropNetPPPCCPMPPE40Enabled@^{__CFString=}$kSCPropNetPPPCommAlternateRemoteAddress@^{__CFString=}$kSCPropNetPPPCommConnectDelay@^{__CFString=}$kSCPropNetPPPCommDisplayTerminalWindow@^{__CFString=}$kSCPropNetPPPCommRedialCount@^{__CFString=}$kSCPropNetPPPCommRedialEnabled@^{__CFString=}$kSCPropNetPPPCommRedialInterval@^{__CFString=}$kSCPropNetPPPCommRemoteAddress@^{__CFString=}$kSCPropNetPPPCommTerminalScript@^{__CFString=}$kSCPropNetPPPCommUseTerminalScript@^{__CFString=}$kSCPropNetPPPConnectTime@^{__CFString=}$kSCPropNetPPPDeviceLastCause@^{__CFString=}$kSCPropNetPPPDialOnDemand@^{__CFString=}$kSCPropNetPPPDisconnectOnFastUserSwitch@^{__CFString=}$kSCPropNetPPPDisconnectOnIdle@^{__CFString=}$kSCPropNetPPPDisconnectOnIdleTimer@^{__CFString=}$kSCPropNetPPPDisconnectOnLogout@^{__CFString=}$kSCPropNetPPPDisconnectOnSleep@^{__CFString=}$kSCPropNetPPPDisconnectTime@^{__CFString=}$kSCPropNetPPPIPCPCompressionVJ@^{__CFString=}$kSCPropNetPPPIPCPUsePeerDNS@^{__CFString=}$kSCPropNetPPPIdleReminder@^{__CFString=}$kSCPropNetPPPIdleReminderTimer@^{__CFString=}$kSCPropNetPPPLCPCompressionACField@^{__CFString=}$kSCPropNetPPPLCPCompressionPField@^{__CFString=}$kSCPropNetPPPLCPEchoEnabled@^{__CFString=}$kSCPropNetPPPLCPEchoFailure@^{__CFString=}$kSCPropNetPPPLCPEchoInterval@^{__CFString=}$kSCPropNetPPPLCPMRU@^{__CFString=}$kSCPropNetPPPLCPMTU@^{__CFString=}$kSCPropNetPPPLCPReceiveACCM@^{__CFString=}$kSCPropNetPPPLCPTransmitACCM@^{__CFString=}$kSCPropNetPPPLastCause@^{__CFString=}$kSCPropNetPPPLogfile@^{__CFString=}$kSCPropNetPPPOverridePrimary@^{__CFString=}$kSCPropNetPPPPlugins@^{__CFString=}$kSCPropNetPPPRetryConnectTime@^{__CFString=}$kSCPropNetPPPSessionTimer@^{__CFString=}$kSCPropNetPPPStatus@^{__CFString=}$kSCPropNetPPPUseSessionTimer@^{__CFString=}$kSCPropNetPPPVerboseLogging@^{__CFString=}$kSCPropNetProxiesExceptionsList@^{__CFString=}$kSCPropNetProxiesExcludeSimpleHostnames@^{__CFString=}$kSCPropNetProxiesFTPEnable@^{__CFString=}$kSCPropNetProxiesFTPPassive@^{__CFString=}$kSCPropNetProxiesFTPPort@^{__CFString=}$kSCPropNetProxiesFTPProxy@^{__CFString=}$kSCPropNetProxiesGopherEnable@^{__CFString=}$kSCPropNetProxiesGopherPort@^{__CFString=}$kSCPropNetProxiesGopherProxy@^{__CFString=}$kSCPropNetProxiesHTTPEnable@^{__CFString=}$kSCPropNetProxiesHTTPPort@^{__CFString=}$kSCPropNetProxiesHTTPProxy@^{__CFString=}$kSCPropNetProxiesHTTPSEnable@^{__CFString=}$kSCPropNetProxiesHTTPSPort@^{__CFString=}$kSCPropNetProxiesHTTPSProxy@^{__CFString=}$kSCPropNetProxiesProxyAutoConfigEnable@^{__CFString=}$kSCPropNetProxiesProxyAutoConfigJavaScript@^{__CFString=}$kSCPropNetProxiesProxyAutoConfigURLString@^{__CFString=}$kSCPropNetProxiesProxyAutoDiscoveryEnable@^{__CFString=}$kSCPropNetProxiesRTSPEnable@^{__CFString=}$kSCPropNetProxiesRTSPPort@^{__CFString=}$kSCPropNetProxiesRTSPProxy@^{__CFString=}$kSCPropNetProxiesSOCKSEnable@^{__CFString=}$kSCPropNetProxiesSOCKSPort@^{__CFString=}$kSCPropNetProxiesSOCKSProxy@^{__CFString=}$kSCPropNetSMBNetBIOSName@^{__CFString=}$kSCPropNetSMBNetBIOSNodeType@^{__CFString=}$kSCPropNetSMBNetBIOSScope@^{__CFString=}$kSCPropNetSMBWINSAddresses@^{__CFString=}$kSCPropNetSMBWorkgroup@^{__CFString=}$kSCPropNetServiceOrder@^{__CFString=}$kSCPropSystemComputerName@^{__CFString=}$kSCPropSystemComputerNameEncoding@^{__CFString=}$kSCPropUserDefinedName@^{__CFString=}$kSCPropUsersConsoleUserGID@^{__CFString=}$kSCPropUsersConsoleUserName@^{__CFString=}$kSCPropUsersConsoleUserUID@^{__CFString=}$kSCPropVersion@^{__CFString=}$kSCResvInactive@^{__CFString=}$kSCResvLink@^{__CFString=}$kSCValNetAirPortAuthPasswordEncryptionKeychain@^{__CFString=}$kSCValNetAirPortJoinModeAutomatic@^{__CFString=}$kSCValNetAirPortJoinModePreferred@^{__CFString=}$kSCValNetAirPortJoinModeRanked@^{__CFString=}$kSCValNetAirPortJoinModeRecent@^{__CFString=}$kSCValNetAirPortJoinModeStrongest@^{__CFString=}$kSCValNetAppleTalkConfigMethodNode@^{__CFString=}$kSCValNetAppleTalkConfigMethodRouter@^{__CFString=}$kSCValNetAppleTalkConfigMethodSeedRouter@^{__CFString=}$kSCValNetIPSecAuthenticationMethodCertificate@^{__CFString=}$kSCValNetIPSecAuthenticationMethodHybrid@^{__CFString=}$kSCValNetIPSecAuthenticationMethodSharedSecret@^{__CFString=}$kSCValNetIPSecLocalIdentifierTypeKeyID@^{__CFString=}$kSCValNetIPSecSharedSecretEncryptionKeychain@^{__CFString=}$kSCValNetIPSecXAuthPasswordEncryptionKeychain@^{__CFString=}$kSCValNetIPSecXAuthPasswordEncryptionPrompt@^{__CFString=}$kSCValNetIPv4ConfigMethodAutomatic@^{__CFString=}$kSCValNetIPv4ConfigMethodBOOTP@^{__CFString=}$kSCValNetIPv4ConfigMethodDHCP@^{__CFString=}$kSCValNetIPv4ConfigMethodINFORM@^{__CFString=}$kSCValNetIPv4ConfigMethodLinkLocal@^{__CFString=}$kSCValNetIPv4ConfigMethodManual@^{__CFString=}$kSCValNetIPv4ConfigMethodPPP@^{__CFString=}$kSCValNetIPv6ConfigMethod6to4@^{__CFString=}$kSCValNetIPv6ConfigMethodAutomatic@^{__CFString=}$kSCValNetIPv6ConfigMethodLinkLocal@^{__CFString=}$kSCValNetIPv6ConfigMethodManual@^{__CFString=}$kSCValNetIPv6ConfigMethodRouterAdvertisement@^{__CFString=}$kSCValNetInterfaceSubTypeL2TP@^{__CFString=}$kSCValNetInterfaceSubTypePPPSerial@^{__CFString=}$kSCValNetInterfaceSubTypePPPoE@^{__CFString=}$kSCValNetInterfaceSubTypePPTP@^{__CFString=}$kSCValNetInterfaceType6to4@^{__CFString=}$kSCValNetInterfaceTypeEthernet@^{__CFString=}$kSCValNetInterfaceTypeFireWire@^{__CFString=}$kSCValNetInterfaceTypeIPSec@^{__CFString=}$kSCValNetInterfaceTypePPP@^{__CFString=}$kSCValNetL2TPIPSecSharedSecretEncryptionKeychain@^{__CFString=}$kSCValNetL2TPTransportIP@^{__CFString=}$kSCValNetL2TPTransportIPSec@^{__CFString=}$kSCValNetModemDialModeIgnoreDialTone@^{__CFString=}$kSCValNetModemDialModeManual@^{__CFString=}$kSCValNetModemDialModeWaitForDialTone@^{__CFString=}$kSCValNetNetInfoBindingMethodsBroadcast@^{__CFString=}$kSCValNetNetInfoBindingMethodsDHCP@^{__CFString=}$kSCValNetNetInfoBindingMethodsManual@^{__CFString=}$kSCValNetNetInfoDefaultServerTag@^{__CFString=}$kSCValNetPPPAuthPasswordEncryptionKeychain@^{__CFString=}$kSCValNetPPPAuthPasswordEncryptionToken@^{__CFString=}$kSCValNetPPPAuthPromptAfter@^{__CFString=}$kSCValNetPPPAuthPromptBefore@^{__CFString=}$kSCValNetPPPAuthProtocolCHAP@^{__CFString=}$kSCValNetPPPAuthProtocolEAP@^{__CFString=}$kSCValNetPPPAuthProtocolMSCHAP1@^{__CFString=}$kSCValNetPPPAuthProtocolMSCHAP2@^{__CFString=}$kSCValNetPPPAuthProtocolPAP@^{__CFString=}$kSCValNetSMBNetBIOSNodeTypeBroadcast@^{__CFString=}$kSCValNetSMBNetBIOSNodeTypeHybrid@^{__CFString=}$kSCValNetSMBNetBIOSNodeTypeMixed@^{__CFString=}$kSCValNetSMBNetBIOSNodeTypePeer@^{__CFString=}$"""
enums = """$kSCBondStatusLinkInvalid@1$kSCBondStatusNoPartner@2$kSCBondStatusNotInActiveGroup@3$kSCBondStatusOK@0$kSCBondStatusUnknown@999$kSCNetworkConnectionConnected@2$kSCNetworkConnectionConnecting@1$kSCNetworkConnectionDisconnected@0$kSCNetworkConnectionDisconnecting@3$kSCNetworkConnectionInvalid@-1$kSCNetworkConnectionPPPAuthenticating@5$kSCNetworkConnectionPPPConnected@8$kSCNetworkConnectionPPPConnectingLink@2$kSCNetworkConnectionPPPDialOnTraffic@3$kSCNetworkConnectionPPPDisconnected@0$kSCNetworkConnectionPPPDisconnectingLink@10$kSCNetworkConnectionPPPHoldingLinkOff@11$kSCNetworkConnectionPPPInitializing@1$kSCNetworkConnectionPPPNegotiatingLink@4$kSCNetworkConnectionPPPNegotiatingNetwork@7$kSCNetworkConnectionPPPSuspended@12$kSCNetworkConnectionPPPTerminating@9$kSCNetworkConnectionPPPWaitingForCallBack@6$kSCNetworkConnectionPPPWaitingForRedial@13$kSCNetworkFlagsConnectionAutomatic@8$kSCNetworkFlagsConnectionRequired@4$kSCNetworkFlagsInterventionRequired@16$kSCNetworkFlagsIsDirect@131072$kSCNetworkFlagsIsLocalAddress@65536$kSCNetworkFlagsReachable@2$kSCNetworkFlagsTransientConnection@1$kSCNetworkReachabilityFlagsConnectionAutomatic@8$kSCNetworkReachabilityFlagsConnectionOnDemand@32$kSCNetworkReachabilityFlagsConnectionOnTraffic@8$kSCNetworkReachabilityFlagsConnectionRequired@4$kSCNetworkReachabilityFlagsInterventionRequired@16$kSCNetworkReachabilityFlagsIsDirect@131072$kSCNetworkReachabilityFlagsIsLocalAddress@65536$kSCNetworkReachabilityFlagsReachable@2$kSCNetworkReachabilityFlagsTransientConnection@1$kSCPreferencesNotificationApply@2$kSCPreferencesNotificationCommit@1$kSCStatusAccessError@1003$kSCStatusConnectionIgnore@5002$kSCStatusConnectionNoService@5001$kSCStatusFailed@1001$kSCStatusInvalidArgument@1002$kSCStatusKeyExists@1005$kSCStatusLocked@1006$kSCStatusMaxLink@3006$kSCStatusNeedLock@1007$kSCStatusNoConfigFile@3003$kSCStatusNoKey@1004$kSCStatusNoLink@3004$kSCStatusNoPrefsSession@3001$kSCStatusNoStoreServer@2002$kSCStatusNoStoreSession@2001$kSCStatusNotifierActive@2003$kSCStatusOK@0$kSCStatusPrefsBusy@3002$kSCStatusReachabilityUnknown@4001$kSCStatusStale@3005$"""
misc.update(
    {
        "kSCNetworkConnectionSelectionOptionOnDemandHostName": "OnDemandHostName",
        "kSCNetworkConnectionPacketsOut": "PacketsOut",
        "kSCNetworkConnectionBytesIn": "BytesIn",
        "kSCNetworkConnectionPacketsIn": "PacketsIn",
        "kSCNetworkConnectionErrorsIn": "ErrorsIn",
        "kSCNetworkConnectionBytesOut": "BytesOut",
        "kSCNetworkConnectionSelectionOptionOnDemandRetry": "OnDemandRetry",
        "kSCNetworkConnectionErrorsOut": "ErrorsOut",
    }
)
functions = {
    "SCBondInterfaceCopyAll": (
        b"^{__CFArray=}^{__SCPreferences=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCPreferencesGetTypeID": (sel32or64(b"L", b"Q"),),
    "SCPreferencesSetValue": (b"Z^{__SCPreferences=}^{__CFString=}@",),
    "SCNetworkServiceEstablishDefaultConfiguration": (b"Z^{__SCNetworkService=}",),
    "SCNetworkServiceCreate": (
        b"^{__SCNetworkService=}^{__SCPreferences=}^{__SCNetworkInterface=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "CNMarkPortalOnline": (b"Z^{__CFString=}",),
    "SCNetworkInterfaceCreateWithInterface": (
        b"^{__SCNetworkInterface=}^{__SCNetworkInterface=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCDynamicStoreCopyDHCPInfo": (
        b"^{__CFDictionary=}^{__SCDynamicStore=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkSetCopyServices": (
        b"^{__CFArray=}^{__SCNetworkSet=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkSetSetCurrent": (b"Z^{__SCNetworkSet=}",),
    "SCDynamicStoreCopyComputerName": (
        b"^{__CFString=}^{__SCDynamicStore=}^I",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {1: {"type_modifier": "o"}},
        },
    ),
    "SCNetworkConnectionScheduleWithRunLoop": (
        b"Z^{__SCNetworkConnection=}^{__CFRunLoop=}^{__CFString=}",
    ),
    "SCDynamicStoreNotifyValue": (b"Z^{__SCDynamicStore=}^{__CFString=}",),
    "SCDynamicStoreCopyLocalHostName": (
        b"^{__CFString=}^{__SCDynamicStore=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkInterfaceGetInterface": (
        b"^{__SCNetworkInterface=}^{__SCNetworkInterface=}",
    ),
    "SCNetworkSetRemoveService": (b"Z^{__SCNetworkSet=}^{__SCNetworkService=}",),
    "SCVLANInterfaceCopyAll": (
        b"^{__CFArray=}^{__SCPreferences=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkProtocolGetConfiguration": (
        b"^{__CFDictionary=}^{__SCNetworkProtocol=}",
    ),
    "SCDynamicStoreCreateWithOptions": (
        sel32or64(
            b"^{__SCDynamicStore=}^{__CFAllocator=}^{__CFString=}^{__CFDictionary=}^?^{?=i^v^?^?^?}",
            b"^{__SCDynamicStore=}^{__CFAllocator=}^{__CFString=}^{__CFDictionary=}^?^{?=q^v^?^?^?}",
        ),
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {
                3: {
                    "callable": {
                        "retval": {"type": b"v"},
                        "arguments": {
                            0: {"type": b"^{__SCDynamicStore=}"},
                            1: {"type": b"^{__CFArray=}"},
                            2: {"type": b"^v"},
                        },
                    }
                }
            },
        },
    ),
    "SCVLANInterfaceCreate": (
        b"^{__SCNetworkInterface=}^{__SCPreferences=}^{__SCNetworkInterface=}^{__CFNumber=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkServiceGetInterface": (
        b"^{__SCNetworkInterface=}^{__SCNetworkService=}",
    ),
    "SCDynamicStoreKeyCreateProxies": (
        b"^{__CFString=}^{__CFAllocator=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkReachabilityScheduleWithRunLoop": (
        b"Z^{__SCNetworkReachability=}^{__CFRunLoop=}^{__CFString=}",
    ),
    "SCDynamicStoreAddTemporaryValue": (b"Z^{__SCDynamicStore=}^{__CFString=}@",),
    "SCNetworkConnectionStop": (b"Z^{__SCNetworkConnection=}Z",),
    "SCBondInterfaceCopyAvailableMemberInterfaces": (
        b"^{__CFArray=}^{__SCPreferences=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkServiceAddProtocolType": (b"Z^{__SCNetworkService=}^{__CFString=}",),
    "SCDynamicStoreCreate": (
        sel32or64(
            b"^{__SCDynamicStore=}^{__CFAllocator=}^{__CFString=}^?^{?=i^v^?^?^?}",
            b"^{__SCDynamicStore=}^{__CFAllocator=}^{__CFString=}^?^{?=q^v^?^?^?}",
        ),
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {
                2: {
                    "callable": {
                        "retval": {"type": b"v"},
                        "arguments": {
                            0: {"type": b"^{__SCDynamicStore=}"},
                            1: {"type": b"^{__CFArray=}"},
                            2: {"type": b"^v"},
                        },
                    }
                }
            },
        },
    ),
    "SCPreferencesPathCreateUniqueChild": (
        b"^{__CFString=}^{__SCPreferences=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkServiceGetServiceID": (b"^{__CFString=}^{__SCNetworkService=}",),
    "SCBondInterfaceCreate": (
        b"^{__SCNetworkInterface=}^{__SCPreferences=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkConnectionCopyUserOptions": (
        b"^{__CFDictionary=}^{__SCNetworkConnection=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkReachabilitySetDispatchQueue": (
        b"Z^{__SCNetworkReachability=}^{dispatch_queue_s=}",
    ),
    "SCPreferencesAddValue": (b"Z^{__SCPreferences=}^{__CFString=}@",),
    "SCDynamicStoreKeyCreateHostNames": (
        b"^{__CFString=}^{__CFAllocator=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "CNMarkPortalOffline": (b"Z^{__CFString=}",),
    "SCPreferencesCreate": (
        b"^{__SCPreferences=}^{__CFAllocator=}^{__CFString=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCVLANInterfaceSetOptions": (b"Z^{__SCNetworkInterface=}^{__CFDictionary=}",),
    "SCDynamicStoreSetMultiple": (
        b"Z^{__SCDynamicStore=}^{__CFDictionary=}^{__CFArray=}^{__CFArray=}",
    ),
    "SCNetworkConnectionCopyUserPreferences": (
        b"Z^{__CFDictionary=}^^{__CFString}^^{__CFDictionary}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {
                1: {"already_cfretained": True, "type_modifier": "o"},
                2: {"already_cfretained": True, "type_modifier": "o"},
            },
        },
    ),
    "SCNetworkInterfaceGetBSDName": (b"^{__CFString=}^{__SCNetworkInterface=}",),
    "SCNetworkInterfaceSetExtendedConfiguration": (
        b"Z^{__SCNetworkInterface=}^{__CFString=}^{__CFDictionary=}",
    ),
    "SCNetworkCheckReachabilityByName": (
        b"Z*^I",
        "",
        {"arguments": {1: {"type_modifier": "o"}}},
    ),
    "SCNetworkInterfaceCopyMediaSubTypes": (
        b"^{__CFArray=}^{__CFArray=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCErrorString": (b"*i",),
    "DHCPClientPreferencesCopyApplicationOptions": (
        b"^C^{__CFString=}^i",
        "",
        {
            "retval": {
                "free_result": True,
                "already_cfretained": True,
                "c_array_length_in_arg": 1,
            },
            "arguments": {1: {"type_modifier": "o"}},
        },
    ),
    "SCNetworkProtocolGetProtocolType": (b"^{__CFString=}^{__SCNetworkProtocol=}",),
    "SCBondStatusGetTypeID": (sel32or64(b"L", b"Q"),),
    "SCPreferencesCreateWithAuthorization": (
        b"^{__SCPreferences=}^{__CFAllocator=}^{__CFString=}^{__CFString=}^{AuthorizationOpaqueRef=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCBondInterfaceSetLocalizedDisplayName": (
        b"Z^{__SCNetworkInterface=}^{__CFString=}",
    ),
    "SCDynamicStoreKeyCreateConsoleUser": (
        b"^{__CFString=}^{__CFAllocator=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkServiceSetName": (b"Z^{__SCNetworkService=}^{__CFString=}",),
    "SCDynamicStoreSetNotificationKeys": (
        b"Z^{__SCDynamicStore=}^{__CFArray=}^{__CFArray=}",
    ),
    "SCDynamicStoreKeyCreateNetworkInterface": (
        b"^{__CFString=}^{__CFAllocator=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkInterfaceSetMediaOptions": (
        b"Z^{__SCNetworkInterface=}^{__CFString=}^{__CFArray=}",
    ),
    "SCPreferencesGetValue": (b"@^{__SCPreferences=}^{__CFString=}",),
    "SCNetworkInterfaceGetConfiguration": (
        b"^{__CFDictionary=}^{__SCNetworkInterface=}",
    ),
    "DHCPInfoGetLeaseStartTime": (b"^{__CFDate=}^{__CFDictionary=}",),
    "SCNetworkInterfaceGetExtendedConfiguration": (
        b"^{__CFDictionary=}^{__SCNetworkInterface=}^{__CFString=}",
    ),
    "SCVLANInterfaceGetPhysicalInterface": (
        b"^{__SCNetworkInterface=}^{__SCNetworkInterface=}",
    ),
    "SCNetworkConnectionCopyServiceID": (
        b"^{__CFString=}^{__SCNetworkConnection=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCDynamicStoreGetTypeID": (sel32or64(b"L", b"Q"),),
    "SCNetworkSetCopy": (
        b"^{__SCNetworkSet=}^{__SCPreferences=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCBondStatusGetMemberInterfaces": (b"^{__CFArray=}^{__SCBondStatus=}",),
    "SCNetworkProtocolSetEnabled": (b"Z^{__SCNetworkProtocol=}Z",),
    "SCNetworkConnectionUnscheduleFromRunLoop": (
        b"Z^{__SCNetworkConnection=}^{__CFRunLoop=}^{__CFString=}",
    ),
    "SCPreferencesSynchronize": (b"v^{__SCPreferences=}",),
    "SCPreferencesSetComputerName": (
        sel32or64(
            b"Z^{__SCPreferences=}^{__CFString=}L",
            b"Z^{__SCPreferences=}^{__CFString=}I",
        ),
    ),
    "SCVLANInterfaceRemove": (b"Z^{__SCNetworkInterface=}",),
    "SCDynamicStoreKeyCreateNetworkInterfaceEntity": (
        b"^{__CFString=}^{__CFAllocator=}^{__CFString=}^{__CFString=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCDynamicStoreCopyConsoleUser": (
        b"^{__CFString=}^{__SCDynamicStore=}^I^I",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {1: {"type_modifier": "o"}, 2: {"type_modifier": "o"}},
        },
    ),
    "SCVLANInterfaceCopyAvailablePhysicalInterfaces": (
        b"^{__CFArray=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkConnectionCreateWithServiceID": (
        sel32or64(
            b"^{__SCNetworkConnection=}^{__CFAllocator=}^{__CFString=}^?^{?=i^v^?^?^?}",
            b"^{__SCNetworkConnection=}^{__CFAllocator=}^{__CFString=}^?^{?=q^v^?^?^?}",
        ),
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {
                2: {
                    "callable": {
                        "retval": {"type": b"v"},
                        "arguments": {
                            0: {"type": b"^{__SCNetworkConnection=}"},
                            1: {"type": b"i"},
                            2: {"type": b"^v"},
                        },
                    }
                }
            },
        },
    ),
    "SCNetworkServiceGetTypeID": (sel32or64(b"L", b"Q"),),
    "SCCopyLastError": (b"^{__CFError=}", "", {"retval": {"already_cfretained": True}}),
    "SCNetworkServiceRemoveProtocolType": (b"Z^{__SCNetworkService=}^{__CFString=}",),
    "SCDynamicStoreKeyCreateComputerName": (
        b"^{__CFString=}^{__CFAllocator=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCPreferencesUnscheduleFromRunLoop": (
        b"Z^{__SCPreferences=}^{__CFRunLoop=}^{__CFString=}",
    ),
    "SCNetworkReachabilityCreateWithName": (
        b"^{__SCNetworkReachability=}^{__CFAllocator=}*",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCBondInterfaceRemove": (b"Z^{__SCNetworkInterface=}",),
    "SCNetworkCheckReachabilityByAddress": (
        b"Z^{sockaddr=CC[14c]}I^I",
        "",
        {"arguments": {0: {"type_modifier": "n"}, 2: {"type_modifier": "o"}}},
    ),
    "SCNetworkSetContainsInterface": (b"Z^{__SCNetworkSet=}^{__SCNetworkInterface=}",),
    "SCNetworkServiceRemove": (b"Z^{__SCNetworkService=}",),
    "SCPreferencesApplyChanges": (b"Z^{__SCPreferences=}",),
    "CNCopySupportedInterfaces": (
        b"^{__CFArray=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCBondInterfaceGetMemberInterfaces": (b"^{__CFArray=}^{__SCNetworkInterface=}",),
    "SCPreferencesPathGetLink": (b"^{__CFString=}^{__SCPreferences=}^{__CFString=}",),
    "SCPreferencesPathSetLink": (b"Z^{__SCPreferences=}^{__CFString=}^{__CFString=}",),
    "SCNetworkInterfaceGetHardwareAddressString": (
        b"^{__CFString=}^{__SCNetworkInterface=}",
    ),
    "SCNetworkSetGetTypeID": (sel32or64(b"L", b"Q"),),
    "SCNetworkReachabilityUnscheduleFromRunLoop": (
        b"Z^{__SCNetworkReachability=}^{__CFRunLoop=}^{__CFString=}",
    ),
    "SCNetworkServiceSetEnabled": (b"Z^{__SCNetworkService=}Z",),
    "SCPreferencesSetDispatchQueue": (b"Z^{__SCPreferences=}^{dispatch_queue_s=}",),
    "SCNetworkReachabilityGetTypeID": (sel32or64(b"L", b"Q"),),
    "SCDynamicStoreAddValue": (b"Z^{__SCDynamicStore=}^{__CFString=}@",),
    "SCNetworkServiceGetEnabled": (b"Z^{__SCNetworkService=}",),
    "SCNetworkSetAddService": (b"Z^{__SCNetworkSet=}^{__SCNetworkService=}",),
    "SCNetworkConnectionGetTypeID": (sel32or64(b"L", b"Q"),),
    "SCDynamicStoreCopyValue": (
        b"@^{__SCDynamicStore=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCBondInterfaceSetMemberInterfaces": (b"Z^{__SCNetworkInterface=}^{__CFArray=}",),
    "DHCPInfoGetOptionData": (b"^{__CFData=}^{__CFDictionary=}C",),
    "SCDynamicStoreCopyMultiple": (
        b"^{__CFDictionary=}^{__SCDynamicStore=}^{__CFArray=}^{__CFArray=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCBondStatusGetInterfaceStatus": (
        b"^{__CFDictionary=}^{__SCBondStatus=}^{__SCNetworkInterface=}",
    ),
    "SCNetworkConnectionCopyExtendedStatus": (
        b"^{__CFDictionary=}^{__SCNetworkConnection=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkProtocolGetTypeID": (sel32or64(b"L", b"Q"),),
    "SCNetworkSetGetName": (b"^{__CFString=}^{__SCNetworkSet=}",),
    "SCPreferencesSetCallback": (
        sel32or64(
            b"Z^{__SCPreferences=}^?^{?=i^v^?^?^?}",
            b"Z^{__SCPreferences=}^?^{?=q^v^?^?^?}",
        ),
        "",
        {
            "arguments": {
                1: {
                    "callable": {
                        "retval": {"type": b"v"},
                        "arguments": {
                            0: {"type": b"^{__SCPreferences=}"},
                            1: {"type": b"I"},
                            2: {"type": b"^v"},
                        },
                    }
                }
            }
        },
    ),
    "SCNetworkInterfaceGetSupportedProtocolTypes": (
        b"^{__CFArray=}^{__SCNetworkInterface=}",
    ),
    "SCNetworkServiceCopyProtocol": (
        b"^{__SCNetworkProtocol=}^{__SCNetworkService=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCDynamicStoreRemoveValue": (b"Z^{__SCDynamicStore=}^{__CFString=}",),
    "SCVLANInterfaceGetTag": (b"^{__CFNumber=}^{__SCNetworkInterface=}",),
    "SCNetworkServiceCopy": (
        b"^{__SCNetworkService=}^{__SCPreferences=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCDynamicStoreCopyKeyList": (
        b"^{__CFArray=}^{__SCDynamicStore=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkInterfaceGetLocalizedDisplayName": (
        b"^{__CFString=}^{__SCNetworkInterface=}",
    ),
    "SCDynamicStoreCopyNotifiedKeys": (
        b"^{__CFArray=}^{__SCDynamicStore=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkInterfaceCopyMediaSubTypeOptions": (
        b"^{__CFArray=}^{__CFArray=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "DHCPInfoGetLeaseExpirationTime": (b"^{__CFDate=}^{__CFDictionary=}",),
    "SCVLANInterfaceSetLocalizedDisplayName": (
        b"Z^{__SCNetworkInterface=}^{__CFString=}",
    ),
    "SCVLANInterfaceSetPhysicalInterfaceAndTag": (
        b"Z^{__SCNetworkInterface=}^{__SCNetworkInterface=}^{__CFNumber=}",
    ),
    "SCNetworkProtocolSetConfiguration": (
        b"Z^{__SCNetworkProtocol=}^{__CFDictionary=}",
    ),
    "SCBondInterfaceGetOptions": (b"^{__CFDictionary=}^{__SCNetworkInterface=}",),
    "SCBondInterfaceCopyStatus": (
        b"^{__SCBondStatus=}^{__SCNetworkInterface=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkInterfaceGetTypeID": (sel32or64(b"L", b"Q"),),
    "CNCopyCurrentNetworkInfo": (
        b"^{__CFDictionary=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "CNSetSupportedSSIDs": (b"Z^{__CFArray=}",),
    "SCNetworkConnectionCopyStatistics": (
        b"^{__CFDictionary=}^{__SCNetworkConnection=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCDynamicStoreKeyCreate": (
        b"^{__CFString=}^{__CFAllocator=}@",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {1: {"printf_format": True}},
            "variadic": True,
        },
    ),
    "SCPreferencesCommitChanges": (b"Z^{__SCPreferences=}",),
    "SCNetworkSetSetServiceOrder": (b"Z^{__SCNetworkSet=}^{__CFArray=}",),
    "SCPreferencesLock": (b"Z^{__SCPreferences=}Z",),
    "SCNetworkSetCopyAll": (
        b"^{__CFArray=}^{__SCPreferences=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkInterfaceRefreshConfiguration": (b"Z^{__CFString=}",),
    "SCNetworkSetSetName": (b"Z^{__SCNetworkSet=}^{__CFString=}",),
    "SCPreferencesPathRemoveValue": (b"Z^{__SCPreferences=}^{__CFString=}",),
    "SCDynamicStoreCopyProxies": (
        b"^{__CFDictionary=}^{__SCDynamicStore=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkServiceGetName": (b"^{__CFString=}^{__SCNetworkService=}",),
    "SCNetworkServiceCopyAll": (
        b"^{__CFArray=}^{__SCPreferences=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkInterfaceSetMTU": (b"Z^{__SCNetworkInterface=}i",),
    "DHCPClientPreferencesSetApplicationOptions": (
        sel32or64(b"Z^{__CFString=}^Cl", b"Z^{__CFString=}^Cq"),
        "",
        {"arguments": {1: {"c_array_length_in_arg": 2, "type_modifier": "n"}}},
    ),
    "SCDynamicStoreKeyCreateNetworkGlobalEntity": (
        b"^{__CFString=}^{__CFAllocator=}^{__CFString=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkSetCopyCurrent": (
        b"^{__SCNetworkSet=}^{__SCPreferences=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkInterfaceCopyAll": (
        b"^{__CFArray=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCPreferencesRemoveValue": (b"Z^{__SCPreferences=}^{__CFString=}",),
    "SCPreferencesPathGetValue": (
        b"^{__CFDictionary=}^{__SCPreferences=}^{__CFString=}",
    ),
    "SCDynamicStoreSetValue": (b"Z^{__SCDynamicStore=}^{__CFString=}@",),
    "SCNetworkConnectionGetStatus": (b"i^{__SCNetworkConnection=}",),
    "SCNetworkServiceCopyProtocols": (
        b"^{__CFArray=}^{__SCNetworkService=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCDynamicStoreCopyLocation": (
        b"^{__CFString=}^{__SCDynamicStore=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkReachabilityCreateWithAddress": (
        b"^{__SCNetworkReachability=}^{__CFAllocator=}^{sockaddr=CC[14c]}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {1: {"type_modifier": "n"}},
        },
    ),
    "SCNetworkSetRemove": (b"Z^{__SCNetworkSet=}",),
    "SCNetworkInterfaceSetConfiguration": (
        b"Z^{__SCNetworkInterface=}^{__CFDictionary=}",
    ),
    "SCPreferencesSetLocalHostName": (b"Z^{__SCPreferences=}^{__CFString=}",),
    "SCNetworkInterfaceGetInterfaceType": (b"^{__CFString=}^{__SCNetworkInterface=}",),
    "SCPreferencesGetSignature": (b"^{__CFData=}^{__SCPreferences=}",),
    "SCNetworkConnectionStart": (b"Z^{__SCNetworkConnection=}^{__CFDictionary=}Z",),
    "SCNetworkInterfaceCopyMTU": (
        b"Z^{__SCNetworkInterface=}^i^i^i",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {
                1: {"type_modifier": "o"},
                2: {"type_modifier": "o"},
                3: {"type_modifier": "o"},
            },
        },
    ),
    "SCNetworkSetGetServiceOrder": (b"^{__CFArray=}^{__SCNetworkSet=}",),
    "SCDynamicStoreKeyCreateLocation": (
        b"^{__CFString=}^{__CFAllocator=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCBondInterfaceSetOptions": (b"Z^{__SCNetworkInterface=}^{__CFDictionary=}",),
    "SCDynamicStoreCreateRunLoopSource": (
        sel32or64(
            b"^{__CFRunLoopSource=}^{__CFAllocator=}^{__SCDynamicStore=}l",
            b"^{__CFRunLoopSource=}^{__CFAllocator=}^{__SCDynamicStore=}q",
        ),
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkProtocolGetEnabled": (b"Z^{__SCNetworkProtocol=}",),
    "SCNetworkSetCreate": (
        b"^{__SCNetworkSet=}^{__SCPreferences=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkConnectionSetDispatchQueue": (
        b"Z^{__SCNetworkConnection=}^{dispatch_queue_s=}",
    ),
    "SCDynamicStoreKeyCreateNetworkServiceEntity": (
        b"^{__CFString=}^{__CFAllocator=}^{__CFString=}^{__CFString=}^{__CFString=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCDynamicStoreSetDispatchQueue": (b"Z^{__SCDynamicStore=}^{dispatch_queue_s=}",),
    "SCNetworkReachabilitySetCallback": (
        sel32or64(
            b"Z^{__SCNetworkReachability=}^?^{?=i^v^?^?^?}",
            b"Z^{__SCNetworkReachability=}^?^{?=q^v^?^?^?}",
        ),
        "",
        {
            "arguments": {
                1: {
                    "callable": {
                        "retval": {"type": b"v"},
                        "arguments": {
                            0: {"type": b"^{__SCNetworkReachability=}"},
                            1: {"type": b"I"},
                            2: {"type": b"^v"},
                        },
                    }
                }
            }
        },
    ),
    "SCNetworkInterfaceGetSupportedInterfaceTypes": (
        b"^{__CFArray=}^{__SCNetworkInterface=}",
    ),
    "SCPreferencesCopyKeyList": (
        b"^{__CFArray=}^{__SCPreferences=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "SCNetworkReachabilityCreateWithAddressPair": (
        b"^{__SCNetworkReachability=}^{__CFAllocator=}^{sockaddr=CC[14c]}^{sockaddr=CC[14c]}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {1: {"type_modifier": "n"}, 2: {"type_modifier": "n"}},
        },
    ),
    "SCNetworkInterfaceForceConfigurationRefresh": (b"Z^{__SCNetworkInterface=}",),
    "SCNetworkSetGetSetID": (b"^{__CFString=}^{__SCNetworkSet=}",),
    "SCNetworkInterfaceCopyMediaOptions": (
        b"Z^{__SCNetworkInterface=}^^{__CFDictionary}^^{__CFDictionary}^^{__CFArray}Z",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {
                1: {"type_modifier": "o"},
                2: {"type_modifier": "o"},
                3: {"type_modifier": "o"},
            },
        },
    ),
    "SCPreferencesScheduleWithRunLoop": (
        b"Z^{__SCPreferences=}^{__CFRunLoop=}^{__CFString=}",
    ),
    "SCVLANInterfaceGetOptions": (b"^{__CFDictionary=}^{__SCNetworkInterface=}",),
    "SCNetworkReachabilityGetFlags": (
        b"Z^{__SCNetworkReachability=}^I",
        "",
        {"arguments": {1: {"type_modifier": "o"}}},
    ),
    "SCPreferencesPathSetValue": (
        b"Z^{__SCPreferences=}^{__CFString=}^{__CFDictionary=}",
    ),
    "SCPreferencesUnlock": (b"Z^{__SCPreferences=}",),
    "SCError": (b"i",),
}
aliases = {
    "kSCNetworkReachabilityFlagsConnectionAutomatic": "kSCNetworkReachabilityFlagsConnectionOnTraffic",
    "SCBondInterfaceRef": "SCNetworkInterfaceRef",
    "SCVLANInterfaceRef": "SCNetworkInterfaceRef",
}
cftypes = [
    ("SCBondStatusRef", b"^{__SCBondStatus=}", "SCBondStatusGetTypeID", None),
    ("SCDynamicStoreRef", b"^{__SCDynamicStore=}", "SCDynamicStoreGetTypeID", None),
    (
        "SCNetworkConnectionRef",
        b"^{__SCNetworkConnection=}",
        "SCNetworkConnectionGetTypeID",
        None,
    ),
    (
        "SCNetworkInterfaceRef",
        b"^{__SCNetworkInterface=}",
        "SCNetworkInterfaceGetTypeID",
        None,
    ),
    (
        "SCNetworkProtocolRef",
        b"^{__SCNetworkProtocol=}",
        "SCNetworkProtocolGetTypeID",
        None,
    ),
    (
        "SCNetworkReachabilityRef",
        b"^{__SCNetworkReachability=}",
        "SCNetworkReachabilityGetTypeID",
        None,
    ),
    (
        "SCNetworkServiceRef",
        b"^{__SCNetworkService=}",
        "SCNetworkServiceGetTypeID",
        None,
    ),
    ("SCNetworkSetRef", b"^{__SCNetworkSet=}", "SCNetworkSetGetTypeID", None),
    ("SCPreferencesRef", b"^{__SCPreferences=}", "SCPreferencesGetTypeID", None),
]
expressions = {}

# END OF FILE
