Crate objc2_system_configuration

Source
Expand description

§Bindings to the SystemConfiguration framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

SCBondStatusSCNetworkConfiguration
This is the type of a reference to an object that represents the status of an Ethernet Bond interface.
SCDynamicStoreSCDynamicStore
This is the handle to an open a dynamic store session with the system configuration daemon.
SCDynamicStoreContextSCDynamicStore
Structure containing user-specified data and callbacks for an SCDynamicStore session. Field: version The version number of the structure type being passed in as a parameter to the SCDynamicStore creation function. This structure is version 0. Field: info A C pointer to a user-specified block of data. Field: retain The callback used to add a retain for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: release The calllback used to remove a retain previously added for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: copyDescription The callback used to provide a description of the info field.
SCNetworkConnectionSCNetworkConnection
This is the handle to manage a connection-oriented service.
SCNetworkConnectionContextSCNetworkConnection
Structure containing user-specified data and callbacks for a SCNetworkConnection. Field: version The version number of the structure type being passed in as a parameter to the SCNetworkConnectionCreateWithServiceID function. This structure is version 0. Field: info A C pointer to a user-specified block of data. Field: retain The callback used to add a retain for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: release The calllback used to remove a retain previously added for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: copyDescription The callback used to provide a description of the info field.
SCNetworkConnectionPPPStatusSCNetworkConnection
PPP-specific status of the network connection. This status is returned as part of the extended information for a PPP service. Note: additional status might be returned in the future. Your application should be prepared to receive an unknown value.
SCNetworkConnectionStatusSCNetworkConnection
Status of the network connection. This status is intended to be generic and high level. An extended status, specific to the type of network connection is also available for applications that need additonal information.
SCNetworkInterfaceSCNetworkConfiguration
This is the type of a reference to an object that represents a network interface.
SCNetworkProtocolSCNetworkConfiguration
This is the type of a reference to an object that represents a network protocol.
SCNetworkReachabilitySCNetworkReachability
This is the handle to a network address or name.
SCNetworkReachabilityContextSCNetworkReachability
Structure containing user-specified data and callbacks for SCNetworkReachability. Field: version The version number of the structure type being passed in as a parameter to the SCDynamicStore creation function. This structure is version 0. Field: info A C pointer to a user-specified block of data. Field: retain The callback used to add a retain for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: release The calllback used to remove a retain previously added for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: copyDescription The callback used to provide a description of the info field.
SCNetworkReachabilityFlagsSCNetworkReachability
Flags that indicate whether the specified network nodename or address is reachable, whether a connection is required, and whether some user intervention may be required when establishing a connection.
SCNetworkServiceSCNetworkConfiguration
This is the type of a reference to an object that represents a network service.
SCNetworkSetSCNetworkConfiguration
This is the type of a reference to an object that represents a network set.
SCPreferencesSCPreferences
This is the handle to an open preferences session for accessing system configuration preferences.
SCPreferencesContextSCPreferences
Structure containing user-specified data and callbacks for SCPreferences. Field: version The version number of the structure type being passed in as a parameter to the SCPreferencesSetCallback function. This structure is version 0. Field: info A C pointer to a user-specified block of data. Field: retain The callback used to add a retain for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: release The calllback used to remove a retain previously added for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: copyDescription The callback used to provide a description of the info field.
SCPreferencesNotificationSCPreferences
Used with the SCPreferencesCallBack callback to describe the type of notification.

Constants§

kSCBondStatusLinkInvalidSCNetworkConfiguration
Apple’s documentation
kSCBondStatusNoPartnerSCNetworkConfiguration
Apple’s documentation
kSCBondStatusNotInActiveGroupSCNetworkConfiguration
Apple’s documentation
kSCBondStatusOKSCNetworkConfiguration
Apple’s documentation
kSCBondStatusUnknownSCNetworkConfiguration
Apple’s documentation
kSCNetworkFlagsConnectionAutomaticSCNetwork
Apple’s documentation
kSCNetworkFlagsConnectionRequiredSCNetwork
Apple’s documentation
kSCNetworkFlagsInterventionRequiredSCNetwork
Apple’s documentation
kSCNetworkFlagsIsDirectSCNetwork
Apple’s documentation
kSCNetworkFlagsIsLocalAddressSCNetwork
Apple’s documentation
kSCNetworkFlagsReachableSCNetwork
Apple’s documentation
kSCNetworkFlagsTransientConnectionSCNetwork
Apple’s documentation
kSCStatusAccessError
Apple’s documentation
kSCStatusConnectionIgnore
Apple’s documentation
kSCStatusConnectionNoService
Apple’s documentation
kSCStatusFailed
Apple’s documentation
kSCStatusInvalidArgument
Apple’s documentation
kSCStatusKeyExists
Apple’s documentation
kSCStatusLocked
Apple’s documentation
kSCStatusMaxLink
Apple’s documentation
kSCStatusNeedLock
Apple’s documentation
kSCStatusNoConfigFile
Apple’s documentation
kSCStatusNoKey
Apple’s documentation
kSCStatusNoLink
Apple’s documentation
kSCStatusNoPrefsSession
Apple’s documentation
kSCStatusNoStoreServer
Apple’s documentation
kSCStatusNoStoreSession
Apple’s documentation
kSCStatusNotifierActive
Apple’s documentation
kSCStatusOK
Apple’s documentation
kSCStatusPrefsBusy
Apple’s documentation
kSCStatusReachabilityUnknown
Apple’s documentation
kSCStatusStale
Apple’s documentation

Statics§

kCFErrorDomainSystemConfiguration
CFError domain associated with errors reported by the SystemConfiguration.framework.
kCNNetworkInfoKeyBSSIDCaptiveNetwork
NetworkInfo Dictionary key for BSSID in CFString format
kCNNetworkInfoKeySSIDCaptiveNetwork
NetworkInfo Dictionary key for SSID in CFString format
kCNNetworkInfoKeySSIDDataCaptiveNetwork
NetworkInfo Dictionary key for SSID in CFData format
kSCBondStatusDeviceAggregationStatusSCNetworkConfiguration
Apple’s documentation
kSCBondStatusDeviceCollectingSCNetworkConfiguration
Apple’s documentation
kSCBondStatusDeviceDistributingSCNetworkConfiguration
Apple’s documentation
kSCCompAnyRegexSCSchemaDefinitions
Apple’s documentation
kSCCompGlobalSCSchemaDefinitions
Apple’s documentation
kSCCompHostNamesSCSchemaDefinitions
Apple’s documentation
kSCCompInterfaceSCSchemaDefinitions
Apple’s documentation
kSCCompNetworkSCSchemaDefinitions
Apple’s documentation
kSCCompServiceSCSchemaDefinitions
Apple’s documentation
kSCCompSystemSCSchemaDefinitions
Apple’s documentation
kSCCompUsersSCSchemaDefinitions
Apple’s documentation
kSCDynamicStoreDomainFileSCSchemaDefinitions
Apple’s documentation
kSCDynamicStoreDomainPluginSCSchemaDefinitions
Apple’s documentation
kSCDynamicStoreDomainPrefsSCSchemaDefinitions
Apple’s documentation
kSCDynamicStoreDomainSetupSCSchemaDefinitions
Apple’s documentation
kSCDynamicStoreDomainStateSCSchemaDefinitions
Apple’s documentation
kSCDynamicStorePropNetInterfacesSCSchemaDefinitions
Value is a CFArrayCFString
kSCDynamicStorePropNetPrimaryInterfaceSCSchemaDefinitions
Value is a CFString
kSCDynamicStorePropNetPrimaryServiceSCSchemaDefinitions
Value is a CFString
kSCDynamicStorePropNetServiceIDsSCSchemaDefinitions
Value is a CFArrayCFString
kSCDynamicStorePropSetupCurrentSetSCSchemaDefinitions
Value is a CFString
kSCDynamicStorePropSetupLastUpdatedSCSchemaDefinitions
Apple’s documentation
kSCDynamicStoreUseSessionKeysSCDynamicStore
Apple’s documentation
kSCEntNet6to4SCSchemaDefinitions
Value is a CFDictionary
kSCEntNetAirPortSCSchemaDefinitions
Value is a CFDictionary
kSCEntNetDHCPSCSchemaDefinitions
Value is a CFDictionary
kSCEntNetDNSSCSchemaDefinitions
Value is a CFDictionary
kSCEntNetEthernetSCSchemaDefinitions
Value is a CFDictionary
kSCEntNetFireWireSCSchemaDefinitions
Value is a CFDictionary
kSCEntNetIPSecSCSchemaDefinitions
Value is a CFDictionary
kSCEntNetIPv4SCSchemaDefinitions
Value is a CFDictionary
kSCEntNetIPv6SCSchemaDefinitions
Value is a CFDictionary
kSCEntNetInterfaceSCSchemaDefinitions
Value is a CFDictionary
kSCEntNetL2TPSCSchemaDefinitions
Value is a CFDictionary
kSCEntNetLinkSCSchemaDefinitions
Value is a CFDictionary
kSCEntNetModemSCSchemaDefinitions
Value is a CFDictionary
kSCEntNetPPPSCSchemaDefinitions
Value is a CFDictionary
kSCEntNetPPPSerialSCSchemaDefinitions
Value is a CFDictionary
kSCEntNetPPPoESCSchemaDefinitions
Value is a CFDictionary
kSCEntNetPPTPSCSchemaDefinitions
Value is a CFDictionary
kSCEntNetProxiesSCSchemaDefinitions
Value is a CFDictionary
kSCEntNetSMBSCSchemaDefinitions
Value is a CFDictionary
kSCEntUsersConsoleUserSCSchemaDefinitions
Apple’s documentation
kSCNetworkInterfaceIPv4SCNetworkConfiguration
A network interface that can used for layering other interfaces (e.g. 6to4, IPSec, PPTP, L2TP) over an existing IPv4 network.
kSCNetworkInterfaceType6to4SCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypeBluetoothSCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypeBondSCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypeEthernetSCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypeFireWireSCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypeIEEE80211SCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypeIPSecSCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypeIPv4SCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypeIrDASCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypeL2TPSCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypeModemSCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypePPPSCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypePPTPSCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypeSerialSCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypeVLANSCNetworkConfiguration
Apple’s documentation
kSCNetworkInterfaceTypeWWANSCNetworkConfiguration
Apple’s documentation
kSCNetworkProtocolTypeDNSSCNetworkConfiguration
Apple’s documentation
kSCNetworkProtocolTypeIPv4SCNetworkConfiguration
Apple’s documentation
kSCNetworkProtocolTypeIPv6SCNetworkConfiguration
Apple’s documentation
kSCNetworkProtocolTypeProxiesSCNetworkConfiguration
Apple’s documentation
kSCNetworkProtocolTypeSMBSCNetworkConfiguration
Apple’s documentation
kSCPrefCurrentSetSCSchemaDefinitions
Value is a CFString
kSCPrefNetworkServicesSCSchemaDefinitions
Value is a CFDictionary
kSCPrefSetsSCSchemaDefinitions
Value is a CFDictionary
kSCPrefSystemSCSchemaDefinitions
Value is a CFDictionary
kSCPropInterfaceNameSCSchemaDefinitions
Value is a CFString
kSCPropMACAddressSCSchemaDefinitions
Value is a CFString
kSCPropNet6to4RelaySCSchemaDefinitions
Value is a CFString
kSCPropNetAirPortAllowNetCreationSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetAirPortAuthPasswordSCSchemaDefinitions
Value is a CFData
kSCPropNetAirPortAuthPasswordEncryptionSCSchemaDefinitions
Value is a CFString
kSCPropNetAirPortJoinModeSCSchemaDefinitions
Value is a CFString
kSCPropNetAirPortPowerEnabledSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetAirPortPreferredNetworkSCSchemaDefinitions
Value is a CFString
kSCPropNetAirPortSavePasswordsSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetDNSDomainNameSCSchemaDefinitions
Value is a CFString
kSCPropNetDNSOptionsSCSchemaDefinitions
Value is a CFString
kSCPropNetDNSSearchDomainsSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetDNSSearchOrderSCSchemaDefinitions
Value is a CFNumber
kSCPropNetDNSServerAddressesSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetDNSServerPortSCSchemaDefinitions
Value is a CFNumber
kSCPropNetDNSServerTimeoutSCSchemaDefinitions
Value is a CFNumber
kSCPropNetDNSSortListSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetDNSSupplementalMatchDomainsSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetDNSSupplementalMatchOrdersSCSchemaDefinitions
Value is a CFArrayCFNumber
kSCPropNetEthernetMTUSCSchemaDefinitions
Value is a CFNumber
kSCPropNetEthernetMediaOptionsSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetEthernetMediaSubTypeSCSchemaDefinitions
Value is a CFString
kSCPropNetIPSecAuthenticationMethodSCSchemaDefinitions
Value is a CFString
kSCPropNetIPSecConnectTimeSCSchemaDefinitions
Value is a CFNumber
kSCPropNetIPSecLocalCertificateSCSchemaDefinitions
Value is a CFData
kSCPropNetIPSecLocalIdentifierSCSchemaDefinitions
Value is a CFString
kSCPropNetIPSecLocalIdentifierTypeSCSchemaDefinitions
Value is a CFString
kSCPropNetIPSecRemoteAddressSCSchemaDefinitions
Value is a CFString
kSCPropNetIPSecSharedSecretSCSchemaDefinitions
Value is a CFString
kSCPropNetIPSecSharedSecretEncryptionSCSchemaDefinitions
Value is a CFString
kSCPropNetIPSecStatusSCSchemaDefinitions
Value is a CFNumber
kSCPropNetIPSecXAuthEnabledSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetIPSecXAuthNameSCSchemaDefinitions
Value is a CFString
kSCPropNetIPSecXAuthPasswordSCSchemaDefinitions
Value is a CFString
kSCPropNetIPSecXAuthPasswordEncryptionSCSchemaDefinitions
Value is a CFString
kSCPropNetIPv4AddressesSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetIPv4BroadcastAddressesSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetIPv4ConfigMethodSCSchemaDefinitions
Value is a CFString
kSCPropNetIPv4DHCPClientIDSCSchemaDefinitions
Value is a CFString
kSCPropNetIPv4DestAddressesSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetIPv4RouterSCSchemaDefinitions
Value is a CFString
kSCPropNetIPv4SubnetMasksSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetIPv6AddressesSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetIPv6ConfigMethodSCSchemaDefinitions
Value is a CFString
kSCPropNetIPv6DestAddressesSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetIPv6FlagsSCSchemaDefinitions
Value is a CFArrayCFNumber
kSCPropNetIPv6PrefixLengthSCSchemaDefinitions
Value is a CFArrayCFNumber
kSCPropNetIPv6RouterSCSchemaDefinitions
Value is a CFString
kSCPropNetInterfaceDeviceNameSCSchemaDefinitions
Value is a CFString
kSCPropNetInterfaceHardwareSCSchemaDefinitions
Value is a CFString
kSCPropNetInterfaceSubTypeSCSchemaDefinitions
Value is a CFString
kSCPropNetInterfaceSupportsModemOnHoldSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetInterfaceTypeSCSchemaDefinitions
Value is a CFString
kSCPropNetInterfacesSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetL2TPIPSecSharedSecretSCSchemaDefinitions
Value is a CFString
kSCPropNetL2TPIPSecSharedSecretEncryptionSCSchemaDefinitions
Value is a CFString
kSCPropNetL2TPTransportSCSchemaDefinitions
Value is a CFString
kSCPropNetLinkActiveSCSchemaDefinitions
Value is a CFBoolean
kSCPropNetLinkDetachingSCSchemaDefinitions
Value is a CFBoolean
kSCPropNetLocalHostNameSCSchemaDefinitions
Value is a CFString
kSCPropNetModemAccessPointNameSCSchemaDefinitions
Value is a CFString
kSCPropNetModemConnectSpeedSCSchemaDefinitions
Value is a CFNumber
kSCPropNetModemConnectionPersonalitySCSchemaDefinitions
Value is a CFString
kSCPropNetModemConnectionScriptSCSchemaDefinitions
Value is a CFString
kSCPropNetModemDataCompressionSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetModemDeviceContextIDSCSchemaDefinitions
Value is a CFString
kSCPropNetModemDeviceModelSCSchemaDefinitions
Value is a CFString
kSCPropNetModemDeviceVendorSCSchemaDefinitions
Value is a CFString
kSCPropNetModemDialModeSCSchemaDefinitions
Value is a CFString
kSCPropNetModemErrorCorrectionSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetModemHoldCallWaitingAudibleAlertSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetModemHoldDisconnectOnAnswerSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetModemHoldEnabledSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetModemHoldReminderSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetModemHoldReminderTimeSCSchemaDefinitions
Value is a CFNumber
kSCPropNetModemNoteSCSchemaDefinitions
Value is a CFString
kSCPropNetModemPulseDialSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetModemSpeakerSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetModemSpeedSCSchemaDefinitions
Value is a CFNumber
kSCPropNetOverridePrimarySCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPACSPEnabledSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPAuthEAPPluginsSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetPPPAuthNameSCSchemaDefinitions
Value is a CFString
kSCPropNetPPPAuthPasswordSCSchemaDefinitions
Value is a CFString
kSCPropNetPPPAuthPasswordEncryptionSCSchemaDefinitions
Value is a CFString
kSCPropNetPPPAuthPromptSCSchemaDefinitions
Value is a CFString
kSCPropNetPPPAuthProtocolSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetPPPCCPEnabledSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPCCPMPPE40EnabledSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPCCPMPPE128EnabledSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPCommAlternateRemoteAddressSCSchemaDefinitions
Value is a CFString
kSCPropNetPPPCommConnectDelaySCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPCommDisplayTerminalWindowSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPCommRedialCountSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPCommRedialEnabledSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPCommRedialIntervalSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPCommRemoteAddressSCSchemaDefinitions
Value is a CFString
kSCPropNetPPPCommTerminalScriptSCSchemaDefinitions
Value is a CFString
kSCPropNetPPPCommUseTerminalScriptSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPConnectTimeSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPDeviceLastCauseSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPDialOnDemandSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPDisconnectOnFastUserSwitchSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPDisconnectOnIdleSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPDisconnectOnIdleTimerSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPDisconnectOnLogoutSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPDisconnectOnSleepSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPDisconnectTimeSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPIPCPCompressionVJSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPIPCPUsePeerDNSSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPIdleReminderSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPIdleReminderTimerSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPLCPCompressionACFieldSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPLCPCompressionPFieldSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPLCPEchoEnabledSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPLCPEchoFailureSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPLCPEchoIntervalSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPLCPMRUSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPLCPMTUSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPLCPReceiveACCMSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPLCPTransmitACCMSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPLastCauseSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPLogfileSCSchemaDefinitions
Value is a CFString
kSCPropNetPPPOverridePrimarySCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPPluginsSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetPPPRetryConnectTimeSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPSessionTimerSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPStatusSCSchemaDefinitions
Value is a CFNumber
kSCPropNetPPPUseSessionTimerSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetPPPVerboseLoggingSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetProxiesExceptionsListSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetProxiesExcludeSimpleHostnamesSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetProxiesFTPEnableSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetProxiesFTPPassiveSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetProxiesFTPPortSCSchemaDefinitions
Value is a CFNumber
kSCPropNetProxiesFTPProxySCSchemaDefinitions
Value is a CFString
kSCPropNetProxiesFTPUserSCSchemaDefinitions
Value is a CFString
kSCPropNetProxiesGopherEnableSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetProxiesGopherPortSCSchemaDefinitions
Value is a CFNumber
kSCPropNetProxiesGopherProxySCSchemaDefinitions
Value is a CFString
kSCPropNetProxiesGopherUserSCSchemaDefinitions
Value is a CFString
kSCPropNetProxiesHTTPEnableSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetProxiesHTTPPortSCSchemaDefinitions
Value is a CFNumber
kSCPropNetProxiesHTTPProxySCSchemaDefinitions
Value is a CFString
kSCPropNetProxiesHTTPSEnableSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetProxiesHTTPSPortSCSchemaDefinitions
Value is a CFNumber
kSCPropNetProxiesHTTPSProxySCSchemaDefinitions
Value is a CFString
kSCPropNetProxiesHTTPSUserSCSchemaDefinitions
Value is a CFString
kSCPropNetProxiesHTTPUserSCSchemaDefinitions
Value is a CFString
kSCPropNetProxiesProxyAutoConfigEnableSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetProxiesProxyAutoConfigJavaScriptSCSchemaDefinitions
Value is a CFString
kSCPropNetProxiesProxyAutoConfigURLStringSCSchemaDefinitions
Value is a CFString
kSCPropNetProxiesProxyAutoDiscoveryEnableSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetProxiesRTSPEnableSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetProxiesRTSPPortSCSchemaDefinitions
Value is a CFNumber
kSCPropNetProxiesRTSPProxySCSchemaDefinitions
Value is a CFString
kSCPropNetProxiesRTSPUserSCSchemaDefinitions
Value is a CFString
kSCPropNetProxiesSOCKSEnableSCSchemaDefinitions
Value is a CFNumber (0 or 1)
kSCPropNetProxiesSOCKSPortSCSchemaDefinitions
Value is a CFNumber
kSCPropNetProxiesSOCKSProxySCSchemaDefinitions
Value is a CFString
kSCPropNetProxiesSOCKSUserSCSchemaDefinitions
Value is a CFString
kSCPropNetSMBNetBIOSNameSCSchemaDefinitions
Value is a CFString
kSCPropNetSMBNetBIOSNodeTypeSCSchemaDefinitions
Value is a CFString
kSCPropNetSMBNetBIOSScopeSCSchemaDefinitions
Value is a CFString
kSCPropNetSMBWINSAddressesSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropNetSMBWorkgroupSCSchemaDefinitions
Value is a CFString
kSCPropNetServiceOrderSCSchemaDefinitions
Value is a CFArrayCFString
kSCPropSystemComputerNameSCSchemaDefinitions
Value is a CFString
kSCPropSystemComputerNameEncodingSCSchemaDefinitions
Value is a CFNumber
kSCPropUserDefinedNameSCSchemaDefinitions
Value is a CFString
kSCPropUsersConsoleUserGIDSCSchemaDefinitions
Value is a CFNumber
kSCPropUsersConsoleUserNameSCSchemaDefinitions
Value is a CFString
kSCPropUsersConsoleUserUIDSCSchemaDefinitions
Value is a CFNumber
kSCPropVersionSCSchemaDefinitions
Value is a CFString
kSCResvInactiveSCSchemaDefinitions
Apple’s documentation
kSCResvLinkSCSchemaDefinitions
Value is a CFString
kSCValNetAirPortAuthPasswordEncryptionKeychainSCSchemaDefinitions
Apple’s documentation
kSCValNetAirPortJoinModeAutomaticSCSchemaDefinitions
Apple’s documentation
kSCValNetAirPortJoinModePreferredSCSchemaDefinitions
Apple’s documentation
kSCValNetAirPortJoinModeRankedSCSchemaDefinitions
Apple’s documentation
kSCValNetAirPortJoinModeRecentSCSchemaDefinitions
Apple’s documentation
kSCValNetAirPortJoinModeStrongestSCSchemaDefinitions
Apple’s documentation
kSCValNetIPSecAuthenticationMethodCertificateSCSchemaDefinitions
Apple’s documentation
kSCValNetIPSecAuthenticationMethodHybridSCSchemaDefinitions
Apple’s documentation
kSCValNetIPSecAuthenticationMethodSharedSecretSCSchemaDefinitions
Apple’s documentation
kSCValNetIPSecLocalIdentifierTypeKeyIDSCSchemaDefinitions
Apple’s documentation
kSCValNetIPSecSharedSecretEncryptionKeychainSCSchemaDefinitions
Apple’s documentation
kSCValNetIPSecXAuthPasswordEncryptionKeychainSCSchemaDefinitions
Apple’s documentation
kSCValNetIPSecXAuthPasswordEncryptionPromptSCSchemaDefinitions
Apple’s documentation
kSCValNetIPv4ConfigMethodAutomaticSCSchemaDefinitions
Apple’s documentation
kSCValNetIPv4ConfigMethodBOOTPSCSchemaDefinitions
Apple’s documentation
kSCValNetIPv4ConfigMethodDHCPSCSchemaDefinitions
Apple’s documentation
kSCValNetIPv4ConfigMethodINFORMSCSchemaDefinitions
Apple’s documentation
kSCValNetIPv4ConfigMethodLinkLocalSCSchemaDefinitions
Apple’s documentation
kSCValNetIPv4ConfigMethodManualSCSchemaDefinitions
Apple’s documentation
kSCValNetIPv4ConfigMethodPPPSCSchemaDefinitions
Apple’s documentation
kSCValNetIPv6ConfigMethod6to4SCSchemaDefinitions
Apple’s documentation
kSCValNetIPv6ConfigMethodAutomaticSCSchemaDefinitions
Apple’s documentation
kSCValNetIPv6ConfigMethodLinkLocalSCSchemaDefinitions
Apple’s documentation
kSCValNetIPv6ConfigMethodManualSCSchemaDefinitions
Apple’s documentation
kSCValNetIPv6ConfigMethodRouterAdvertisementSCSchemaDefinitions
Apple’s documentation
kSCValNetInterfaceSubTypeL2TPSCSchemaDefinitions
Apple’s documentation
kSCValNetInterfaceSubTypePPPSerialSCSchemaDefinitions
Apple’s documentation
kSCValNetInterfaceSubTypePPPoESCSchemaDefinitions
Apple’s documentation
kSCValNetInterfaceSubTypePPTPSCSchemaDefinitions
Apple’s documentation
kSCValNetInterfaceType6to4SCSchemaDefinitions
Apple’s documentation
kSCValNetInterfaceTypeEthernetSCSchemaDefinitions
Apple’s documentation
kSCValNetInterfaceTypeFireWireSCSchemaDefinitions
Apple’s documentation
kSCValNetInterfaceTypeIPSecSCSchemaDefinitions
Apple’s documentation
kSCValNetInterfaceTypePPPSCSchemaDefinitions
Apple’s documentation
kSCValNetL2TPIPSecSharedSecretEncryptionKeychainSCSchemaDefinitions
Apple’s documentation
kSCValNetL2TPTransportIPSCSchemaDefinitions
Apple’s documentation
kSCValNetL2TPTransportIPSecSCSchemaDefinitions
Apple’s documentation
kSCValNetModemDialModeIgnoreDialToneSCSchemaDefinitions
Apple’s documentation
kSCValNetModemDialModeManualSCSchemaDefinitions
Apple’s documentation
kSCValNetModemDialModeWaitForDialToneSCSchemaDefinitions
Apple’s documentation
kSCValNetPPPAuthPasswordEncryptionKeychainSCSchemaDefinitions
Apple’s documentation
kSCValNetPPPAuthPasswordEncryptionTokenSCSchemaDefinitions
Apple’s documentation
kSCValNetPPPAuthPromptAfterSCSchemaDefinitions
Value is a CFString
kSCValNetPPPAuthPromptBeforeSCSchemaDefinitions
Value is a CFString
kSCValNetPPPAuthProtocolCHAPSCSchemaDefinitions
Value is a CFString
kSCValNetPPPAuthProtocolEAPSCSchemaDefinitions
Value is a CFString
kSCValNetPPPAuthProtocolMSCHAP1SCSchemaDefinitions
Value is a CFString
kSCValNetPPPAuthProtocolMSCHAP2SCSchemaDefinitions
Value is a CFString
kSCValNetPPPAuthProtocolPAPSCSchemaDefinitions
Value is a CFString
kSCValNetSMBNetBIOSNodeTypeBroadcastSCSchemaDefinitions
Apple’s documentation
kSCValNetSMBNetBIOSNodeTypeHybridSCSchemaDefinitions
Apple’s documentation
kSCValNetSMBNetBIOSNodeTypeMixedSCSchemaDefinitions
Apple’s documentation
kSCValNetSMBNetBIOSNodeTypePeerSCSchemaDefinitions
Apple’s documentation

Functions§

CNCopyCurrentNetworkInfoDeprecatedCaptiveNetwork
Returns the network information for the specified interface when the requesting application meets one of following 4 requirements -.
CNCopySupportedInterfacesCaptiveNetwork
copies a list of all interfaces CaptiveNetworkSupport is monitoring.
CNMarkPortalOfflineDeprecatedCaptiveNetwork
Tells Captive Network Support that the device is not authenticated on the given network interface.
CNMarkPortalOnlineDeprecatedCaptiveNetwork
Tells Captive Network Support that your application has authenticated the device to the network. Captive Network Support will notify the rest of the system that WiFi is now a viable interface.
CNSetSupportedSSIDsDeprecatedCaptiveNetwork
Provides Captive Network Support with an updated list of SSIDs that this application will perform authentication on.
DHCPClientPreferencesCopyApplicationOptionsDHCPClientPreferences
Copies the requested DHCP options for the given application ID.
DHCPClientPreferencesSetApplicationOptionsDHCPClientPreferences
Updates the DHCP client preferences to include the given list of options for the given application ID.
DHCPInfoGetLeaseExpirationTimeSCDynamicStoreCopyDHCPInfo
Returns a CFDateRef corresponding to the lease expiration time, if present.
DHCPInfoGetLeaseStartTimeSCDynamicStoreCopyDHCPInfo
Returns a CFDateRef corresponding to the lease start time, if present.
DHCPInfoGetOptionDataSCDynamicStoreCopyDHCPInfo
Returns a non-NULL CFDataRef containing the DHCP option data, if present.
SCBondInterfaceCopyAllSCNetworkConfiguration and SCPreferences
Returns all Ethernet Bond interfaces on the system.
SCBondInterfaceCopyAvailableMemberInterfacesSCNetworkConfiguration and SCPreferences
Returns all network capable devices on the system that can be added to an Ethernet Bond interface.
SCBondInterfaceCopyStatusSCNetworkConfiguration
Returns the status of the specified Ethernet Bond interface.
SCBondInterfaceCreateSCNetworkConfiguration and SCPreferences
Create a new SCBondInterface interface.
SCBondInterfaceGetMemberInterfacesSCNetworkConfiguration
Returns the member interfaces for the specified Ethernet Bond interface.
SCBondInterfaceGetOptionsSCNetworkConfiguration
Returns the configuration settings associated with a Ethernet Bond interface.
SCBondInterfaceRemoveSCNetworkConfiguration
Removes the SCBondInterface from the configuration.
SCBondInterfaceSetLocalizedDisplayNameSCNetworkConfiguration
Sets the localized display name for the specified Ethernet Bond interface.
SCBondInterfaceSetMemberInterfacesSCNetworkConfiguration
Sets the member interfaces for the specified Ethernet Bond interface.
SCBondInterfaceSetOptionsSCNetworkConfiguration
Sets the configuration settings for the specified Ethernet Bond interface.
SCBondStatusGetInterfaceStatusSCNetworkConfiguration
Returns the status of a specific member interface of an Ethernet Bond or the status of the bond as a whole.
SCBondStatusGetMemberInterfacesSCNetworkConfiguration
Returns the member interfaces that are represented with the Ethernet Bond interface.
SCCopyLastError
Returns the most recent status or error code generated as the result of calling a System Configuration framework API.
SCDynamicStoreAddTemporaryValueSCDynamicStore
Temporarily adds the key-value pair to the dynamic store if no such key already exists. Unless the key is updated by another session, the key-value pair will be removed automatically when the session is closed.
SCDynamicStoreAddValueSCDynamicStore
Adds the key-value pair to the dynamic store if no such key already exists.
SCDynamicStoreCopyComputerNameSCDynamicStore and SCDynamicStoreCopySpecific
Gets the current computer name.
SCDynamicStoreCopyConsoleUserSCDynamicStore and SCDynamicStoreCopySpecific and libc
Gets the name, user ID, and group ID of the currently logged-in user.
SCDynamicStoreCopyDHCPInfoSCDynamicStore and SCDynamicStoreCopyDHCPInfo
Copies the DHCP information for the requested serviceID, or the primary service if serviceID == NULL.
SCDynamicStoreCopyKeyListSCDynamicStore
Returns an array of CFString keys representing the current dynamic store entries that match a specified pattern.
SCDynamicStoreCopyLocalHostNameSCDynamicStore and SCDynamicStoreCopySpecific
Gets the current local host name.
SCDynamicStoreCopyLocationSCDynamicStore and SCDynamicStoreCopySpecific
Gets the current location identifier.
SCDynamicStoreCopyMultipleSCDynamicStore
Gets the values of multiple keys in the dynamic store.
SCDynamicStoreCopyNotifiedKeysSCDynamicStore
Returns an array of CFString keys representing the dynamic store entries that have changed since this function was last called. If possible, your application should use the notification functions instead of polling for the list of changed keys returned by this function.
SCDynamicStoreCopyProxiesSCDynamicStore and SCDynamicStoreCopySpecific
Gets the current internet proxy settings. The returned proxy settings dictionary includes:
SCDynamicStoreCopyValueSCDynamicStore
Gets the value of the specified key from the dynamic store.
SCDynamicStoreCreateSCDynamicStore
Creates a new session used to interact with the dynamic store maintained by the System Configuration server.
SCDynamicStoreCreateRunLoopSourceSCDynamicStore
Creates a CFRunLoopSource object that can be added to the application’s run loop. All dynamic store notifications are delivered using this run loop source.
SCDynamicStoreCreateWithOptionsSCDynamicStore
Creates a new session used to interact with the dynamic store maintained by the System Configuration server.
SCDynamicStoreKeyCreateComputerNameSCDynamicStoreKey
Creates a key that can be used in conjuntion with SCDynamicStoreSetNotificationKeys function to receive notifications when the current computer name changes.
SCDynamicStoreKeyCreateConsoleUserSCDynamicStoreKey
Creates a key that can be used in conjunction with SCDynamicStoreSetNotificationKeys function to receive notifications when the current console user changes.
SCDynamicStoreKeyCreateHostNamesSCDynamicStoreKey
Creates a key that can be used in conjunction with the SCDynamicStoreSetNotificationKeys function to receive notifications when the HostNames entity changes. The HostNames entity includes the local host name.
SCDynamicStoreKeyCreateLocationSCDynamicStoreKey
Creates a key that can be used in conjunction with the SCDynamicStoreSetNotificationKeys function to receive notifications when the location identifier changes.
SCDynamicStoreKeyCreateNetworkGlobalEntitySCDynamicStoreKey
Creates a dynamic store key that can be used to access a specific global (as opposed to a per-service or per-interface) network configuration entity.
SCDynamicStoreKeyCreateNetworkInterfaceSCDynamicStoreKey
Creates a dynamic store key that can be used to access the network interface configuration information stored in the dynamic store.
SCDynamicStoreKeyCreateNetworkInterfaceEntitySCDynamicStoreKey
Creates a dynamic store key that can be used to access the per-interface network configuration information stored in the dynamic store.
SCDynamicStoreKeyCreateNetworkServiceEntitySCDynamicStoreKey
Creates a dynamic store key that can be used to access the per-service network configuration information stored in the dynamic store.
SCDynamicStoreKeyCreateProxiesSCDynamicStoreKey
Creates a key that can be used in conjunction with the SCDynamicStoreSetNotificationKeys function to receive notifications when the current network proxy settings (such as HTTP or FTP) are changed.
SCDynamicStoreNotifyValueSCDynamicStore
Triggers a notification to be delivered for the specified key in the dynamic store.
SCDynamicStoreRemoveValueSCDynamicStore
Removes the value of the specified key from the dynamic store.
SCDynamicStoreSetMultipleSCDynamicStore
Updates multiple values in the dynamic store.
SCDynamicStoreSetNotificationKeysSCDynamicStore
Specifies a set of specific keys and key patterns that should be monitored for changes.
SCDynamicStoreSetValueSCDynamicStore
Adds or replaces a value in the dynamic store for the specified key.
SCError
Returns the most recent status or error code generated as the result of calling a System Configuration framework API.
SCErrorString
Returns a pointer to the message string associated with the specified status or error number.
SCNetworkCheckReachabilityByAddressDeprecatedSCNetwork and libc
Determines if the given network address is reachable using the current network configuration.
SCNetworkCheckReachabilityByNameDeprecatedSCNetwork
Determines if the given network host or node name is reachable using the current network configuration.
SCNetworkConnectionCopyExtendedStatusSCNetworkConnection
Returns the extended status of the connection. An extended status dictionary contains specific dictionaries describing the status for each subcomponent of the service.
SCNetworkConnectionCopyServiceIDSCNetworkConnection
Returns the service ID associated with the SCNetworkConnection.
SCNetworkConnectionCopyStatisticsSCNetworkConnection
Returns the statistics of the SCNetworkConnection. A statistic dictionary contains specific dictionaries with statistics for each subcomponent of the service.
SCNetworkConnectionCopyUserOptionsSCNetworkConnection
Copies the user options used to start the connection. This is a mechanism a client can use to retrieve the user options previously passed to the SCNetworkConnectionStart function.
SCNetworkConnectionCopyUserPreferencesSCNetworkConnection
Provides the default service ID and a dictionary of user options for the connection. Applications can use the returned serviceID and userOptions values to open a connection on the fly.
SCNetworkConnectionCreateWithServiceIDSCNetworkConnection
Creates a new connection reference to use for getting the status or for connecting or disconnecting the associated service.
SCNetworkConnectionGetStatusSCNetworkConnection
Returns the status of the SCNetworkConnection. A status is one of the following values:
SCNetworkConnectionScheduleWithRunLoopSCNetworkConnection
Schedules a connection with the run loop.
SCNetworkConnectionStartSCNetworkConnection
Starts the connection for the SCNetworkConnection. The connection process is asynchronous and the function will return immediately. The connection status can be obtained by polling or by callback. The connection is made with the default settings from the administrator. Some of the settings can be overridden for the duration of the connection. These are specified in an options dictionary. The options dictionary uses the same format as a network service defined in the system configuration preferences schema.
SCNetworkConnectionStopSCNetworkConnection
Stops the connection for the SCNetworkConnection. The disconnection process is asynchronous and the function will return immediately. The connection status can be obtained by polling or by callback. This function performs an arbitrated stop of the connection. If several applications have marked their interest in the connection, by calling SCNetworkConnectionStart, the call will succeed but the actual connection will be maintained until the last interested application calls SCNetworkConnectionStop.
SCNetworkConnectionUnscheduleFromRunLoopSCNetworkConnection
Unschedules a connection from the run loop.
SCNetworkInterfaceCopyAllSCNetworkConfiguration
Returns all network capable interfaces on the system.
SCNetworkInterfaceCopyMTUSCNetworkConfiguration
For the specified network interface, returns information about the currently MTU setting and the range of allowable values.
SCNetworkInterfaceCopyMediaOptionsSCNetworkConfiguration
For the specified network interface, returns information about the currently requested media options, the active media options, and the media options which are available.
SCNetworkInterfaceCopyMediaSubTypeOptionsSCNetworkConfiguration
For the provided interface configuration options and specific subtype, return a list of available media options.
SCNetworkInterfaceCopyMediaSubTypesSCNetworkConfiguration
For the provided interface configuration options, return a list of available media subtypes.
SCNetworkInterfaceCreateWithInterfaceSCNetworkConfiguration
Create a new network interface layered on top of another. For example, this function would be used to create a “PPP” interface on top of a “modem”.
SCNetworkInterfaceForceConfigurationRefreshSCNetworkConfiguration
Sends a notification to interested network configuration agents to immediately retry their configuration. For example, calling this function will cause the DHCP client to contact the DHCP server immediately rather than waiting until its timeout has expired. The utility of this function is to allow the caller to give a hint to the system that the network infrastructure or configuration has changed.
SCNetworkInterfaceGetBSDNameSCNetworkConfiguration
Returns the BSD interface (en0) or device name (modem) for the interface.
SCNetworkInterfaceGetConfigurationSCNetworkConfiguration
Returns the configuration settings associated with a interface.
SCNetworkInterfaceGetExtendedConfigurationSCNetworkConfiguration
Returns the configuration settings associated with a interface.
SCNetworkInterfaceGetHardwareAddressStringSCNetworkConfiguration
Returns a displayable link layer address for the interface.
SCNetworkInterfaceGetInterfaceSCNetworkConfiguration
For layered network interfaces, return the underlying interface.
SCNetworkInterfaceGetInterfaceTypeSCNetworkConfiguration
Returns the associated network interface type.
SCNetworkInterfaceGetLocalizedDisplayNameSCNetworkConfiguration
Returns the localized name (e.g. “Ethernet”, “FireWire”) for the interface.
SCNetworkInterfaceGetSupportedInterfaceTypesSCNetworkConfiguration
Identify all of the network interface types (e.g. PPP) that can be layered on top of this interface.
SCNetworkInterfaceGetSupportedProtocolTypesSCNetworkConfiguration
Identify all of the network protocol types (e.g. IPv4, IPv6) that can be layered on top of this interface.
SCNetworkInterfaceRefreshConfigurationDeprecatedSCNetwork
Sends a notification to interested configuration agents to have them immediately retry their configuration over a particular network interface.
SCNetworkInterfaceSetConfigurationSCNetworkConfiguration
Stores the configuration settings for the interface.
SCNetworkInterfaceSetExtendedConfigurationSCNetworkConfiguration
Stores the configuration settings for the interface.
SCNetworkInterfaceSetMTUSCNetworkConfiguration
For the specified network interface, sets the requested MTU setting.
SCNetworkInterfaceSetMediaOptionsSCNetworkConfiguration
For the specified network interface, sets the requested media subtype and options.
SCNetworkProtocolGetConfigurationSCNetworkConfiguration
Returns the configuration settings associated with the protocol.
SCNetworkProtocolGetEnabledSCNetworkConfiguration
Returns whether this protocol has been enabled.
SCNetworkProtocolGetProtocolTypeSCNetworkConfiguration
Returns the associated network protocol type.
SCNetworkProtocolSetConfigurationSCNetworkConfiguration
Stores the configuration settings for the protocol.
SCNetworkProtocolSetEnabledSCNetworkConfiguration
Enables or disables the protocol.
SCNetworkReachabilityCreateWithAddressDeprecatedSCNetworkReachability and libc
Creates a reference to the specified network address. This reference can be used later to monitor the reachability of the target host.
SCNetworkReachabilityCreateWithAddressPairDeprecatedSCNetworkReachability and libc
Creates a reference to the specified network address. This reference can be used later to monitor the reachability of the target host.
SCNetworkReachabilityCreateWithNameDeprecatedSCNetworkReachability
Creates a reference to the specified network host or node name. This reference can be used later to monitor the reachability of the target host.
SCNetworkReachabilityGetFlagsDeprecatedSCNetworkReachability
Determines if the given target is reachable using the current network configuration.
SCNetworkReachabilityScheduleWithRunLoopDeprecatedSCNetworkReachability
Schedules the given target with the given run loop and mode.
SCNetworkReachabilitySetCallbackDeprecatedSCNetworkReachability
Assigns a client to a target, which receives callbacks when the reachability of the target changes.
SCNetworkReachabilityUnscheduleFromRunLoopDeprecatedSCNetworkReachability
Unschedules the given target from the given run loop and mode.
SCNetworkServiceAddProtocolTypeSCNetworkConfiguration
Adds a network protocol of the specified type to the service. The protocol configuration is set to default values that are appropriate for the interface associated with the service.
SCNetworkServiceCopySCNetworkConfiguration and SCPreferences
Returns the network service with the specified identifier.
SCNetworkServiceCopyAllSCNetworkConfiguration and SCPreferences
Returns all available network services for the specified preferences.
SCNetworkServiceCopyProtocolSCNetworkConfiguration
Returns the network protocol of the specified type for the service.
SCNetworkServiceCopyProtocolsSCNetworkConfiguration
Returns all network protocols associated with the service.
SCNetworkServiceCreateSCNetworkConfiguration and SCPreferences
Create a new network service for the specified interface in the configuration.
SCNetworkServiceEstablishDefaultConfigurationSCNetworkConfiguration
Establishes the “default” configuration for a network service. This configuration includes the addition of network protocols for the service (with “default” configuration options).
SCNetworkServiceGetEnabledSCNetworkConfiguration
Returns whether this service has been enabled.
SCNetworkServiceGetInterfaceSCNetworkConfiguration
Returns the network interface associated with the service.
SCNetworkServiceGetNameSCNetworkConfiguration
Returns the [user specified] name associated with the service.
SCNetworkServiceGetServiceIDSCNetworkConfiguration
Returns the identifier for the service.
SCNetworkServiceRemoveSCNetworkConfiguration
Removes the network service from the configuration.
SCNetworkServiceRemoveProtocolTypeSCNetworkConfiguration
Removes the network protocol of the specified type from the service.
SCNetworkServiceSetEnabledSCNetworkConfiguration
Enables or disables the service.
SCNetworkServiceSetNameSCNetworkConfiguration
Stores the [user specified] name for the service.
SCNetworkSetAddServiceSCNetworkConfiguration
Adds the network service to the set.
SCNetworkSetContainsInterfaceSCNetworkConfiguration
Checks if an interface is represented by at least one network service in the specified set.
SCNetworkSetCopySCNetworkConfiguration and SCPreferences
Returns the set with the specified identifier.
SCNetworkSetCopyAllSCNetworkConfiguration and SCPreferences
Returns all available sets for the specified preferences.
SCNetworkSetCopyCurrentSCNetworkConfiguration and SCPreferences
Returns the “current” set.
SCNetworkSetCopyServicesSCNetworkConfiguration
Returns all network services associated with the set.
SCNetworkSetCreateSCNetworkConfiguration and SCPreferences
Create a new set in the configuration.
SCNetworkSetGetNameSCNetworkConfiguration
Returns the [user specified] name associated with the set.
SCNetworkSetGetServiceOrderSCNetworkConfiguration
Returns the [user specified] ordering of network services within the set.
SCNetworkSetGetSetIDSCNetworkConfiguration
Returns the identifier for the set.
SCNetworkSetRemoveSCNetworkConfiguration
Removes the set from the configuration.
SCNetworkSetRemoveServiceSCNetworkConfiguration
Removes the network service from the set.
SCNetworkSetSetCurrentSCNetworkConfiguration
Specifies the set that should be the “current” set.
SCNetworkSetSetNameSCNetworkConfiguration
Stores the [user specified] name for the set.
SCNetworkSetSetServiceOrderSCNetworkConfiguration
Stores the [user specified] ordering of network services for the set.
SCPreferencesAddValueSCPreferences
Adds data for a preference key.
SCPreferencesApplyChangesSCPreferences
Requests that the currently stored configuration preferences be applied to the active configuration.
SCPreferencesCommitChangesSCPreferences
Commits changes made to the configuration preferences to persistent storage.
SCPreferencesCopyKeyListSCPreferences
Returns an array of currently defined preference keys.
SCPreferencesCreateSCPreferences
Initiates access to the per-system set of configuration preferences.
SCPreferencesCreateWithAuthorizationSCPreferences and objc2-security
Initiates access to the per-system set of configuration preferences.
SCPreferencesGetSignatureSCPreferences
Returns a sequence of bytes that can be used to determine if the saved configuration preferences have changed.
SCPreferencesGetValueSCPreferences
Returns the data associated with a preference key.
SCPreferencesLockSCPreferences
Locks access to the configuration preferences.
SCPreferencesPathCreateUniqueChildSCPreferences and SCPreferencesPath
Creates a new path component within the dictionary hierarchy.
SCPreferencesPathGetLinkSCPreferences and SCPreferencesPath
Returns the link (if one exists) associated with the specified path.
SCPreferencesPathGetValueSCPreferences and SCPreferencesPath
Returns the dictionary associated with the specified path.
SCPreferencesPathRemoveValueSCPreferences and SCPreferencesPath
Removes the data associated with the specified path.
SCPreferencesPathSetLinkSCPreferences and SCPreferencesPath
Associates a link to a second dictionary at the specified path.
SCPreferencesPathSetValueSCPreferences and SCPreferencesPath
Associates a dictionary with the specified path.
SCPreferencesRemoveValueSCPreferences
Removes the data associated with a preference key.
SCPreferencesScheduleWithRunLoopSCPreferences
Schedule commit and apply notifications for the specified preferences session using the specified run loop and mode.
SCPreferencesSetCallbackSCPreferences
Assigns a callback to a preferences session. The function is called when the changes to the preferences have been committed or applied.
SCPreferencesSetComputerNameSCPreferences and SCPreferencesSetSpecific
Updates the computer name preference.
SCPreferencesSetLocalHostNameSCPreferences and SCPreferencesSetSpecific
Updates the local host name.
SCPreferencesSetValueSCPreferences
Updates the data associated with a preference key.
SCPreferencesSynchronizeSCPreferences
Synchronizes accessed preferences with committed changes.
SCPreferencesUnlockSCPreferences
Releases exclusive access to the configuration preferences.
SCPreferencesUnscheduleFromRunLoopSCPreferences
Unschedule commit and apply notifications for the specified preferences session from the specified run loop and mode.
SCVLANInterfaceCopyAllSCNetworkConfiguration and SCPreferences
Returns all VLAN interfaces on the system.
SCVLANInterfaceCopyAvailablePhysicalInterfacesSCNetworkConfiguration
Returns the network capable devices on the system that can be associated with a VLAN interface.
SCVLANInterfaceCreateSCNetworkConfiguration and SCPreferences
Create a new SCVLANInterface interface.
SCVLANInterfaceGetOptionsSCNetworkConfiguration
Returns the configuration settings associated with the VLAN interface.
SCVLANInterfaceGetPhysicalInterfaceSCNetworkConfiguration
Returns the physical interface for the specified VLAN interface.
SCVLANInterfaceGetTagSCNetworkConfiguration
Returns the tag for the specified VLAN interface.
SCVLANInterfaceRemoveSCNetworkConfiguration
Removes the SCVLANInterface from the configuration.
SCVLANInterfaceSetLocalizedDisplayNameSCNetworkConfiguration
Sets the localized display name for the specified VLAN interface.
SCVLANInterfaceSetOptionsSCNetworkConfiguration
Sets the configuration settings for the specified VLAN interface.
SCVLANInterfaceSetPhysicalInterfaceAndTagSCNetworkConfiguration
Updates the specified VLAN interface.

Type Aliases§

SCBondInterfaceSCNetworkConfiguration
This is the type of a reference to an object that represents an Ethernet Bond interface.
SCDynamicStoreCallBackSCDynamicStore
Type of callback function used when notification of changes to the dynamic store is delivered.
SCNetworkConnectionCallBackSCNetworkConnection
Type of the callback function used when a status event is delivered.
SCNetworkConnectionFlagsSCNetwork
Apple’s documentation
SCNetworkReachabilityCallBackSCNetworkReachability
Type of the callback function used when the reachability of a network address or name changes.
SCPreferencesCallBackSCPreferences
Type of the callback function used when the preferences have been updated and/or applied.
SCVLANInterfaceSCNetworkConfiguration
This is the type of a reference to an object that represents a Virtual LAN (VLAN) interface.