Documentation Archive Developer
Search

SystemConfiguration Changes for Objective-C

SystemConfiguration

CaptiveNetwork.h

Added #def CN_DEPRECATION_NOTICE
Declaration
From
CFArrayRef CNCopySupportedInterfaces (
    void
);
To
CFArrayRef _Nullable CNCopySupportedInterfaces (
    void
);

Declaration
From
Boolean CNMarkPortalOffline (
    CFStringRef interfaceName
);
To
Boolean CNMarkPortalOffline (
    CFStringRef _Nonnull interfaceName
);

Declaration
From
Boolean CNMarkPortalOnline (
    CFStringRef interfaceName
);
To
Boolean CNMarkPortalOnline (
    CFStringRef _Nonnull interfaceName
);

Declaration
From
Boolean CNSetSupportedSSIDs (
    CFArrayRef ssidArray
);
To
Boolean CNSetSupportedSSIDs (
    CFArrayRef _Nonnull ssidArray
);

DHCPClientPreferences.h

Declaration
From
UInt8 * DHCPClientPreferencesCopyApplicationOptions (
    CFStringRef applicationID,
    CFIndex *count
);
To
UInt8 * _Nullable DHCPClientPreferencesCopyApplicationOptions (
    CFStringRef _Nonnull applicationID,
    CFIndex * _Nonnull count
);

Declaration
From
Boolean DHCPClientPreferencesSetApplicationOptions (
    CFStringRef applicationID,
    UInt8 *options,
    CFIndex count
);
To
Boolean DHCPClientPreferencesSetApplicationOptions (
    CFStringRef _Nonnull applicationID,
    UInt8 * _Nullable options,
    CFIndex count
);

SCDynamicStore.h

Declaration
From
Boolean SCDynamicStoreAddTemporaryValue (
    SCDynamicStoreRef store,
    CFStringRef key,
    CFPropertyListRef value
);
To
Boolean SCDynamicStoreAddTemporaryValue (
    SCDynamicStoreRef _Nonnull store,
    CFStringRef _Nonnull key,
    CFPropertyListRef _Nonnull value
);

Declaration
From
Boolean SCDynamicStoreAddValue (
    SCDynamicStoreRef store,
    CFStringRef key,
    CFPropertyListRef value
);
To
Boolean SCDynamicStoreAddValue (
    SCDynamicStoreRef _Nullable store,
    CFStringRef _Nonnull key,
    CFPropertyListRef _Nonnull value
);

Declaration
From
CFArrayRef SCDynamicStoreCopyKeyList (
    SCDynamicStoreRef store,
    CFStringRef pattern
);
To
CFArrayRef _Nullable SCDynamicStoreCopyKeyList (
    SCDynamicStoreRef _Nullable store,
    CFStringRef _Nonnull pattern
);

Declaration
From
CFDictionaryRef SCDynamicStoreCopyMultiple (
    SCDynamicStoreRef store,
    CFArrayRef keys,
    CFArrayRef patterns
);
To
CFDictionaryRef _Nullable SCDynamicStoreCopyMultiple (
    SCDynamicStoreRef _Nullable store,
    CFArrayRef _Nullable keys,
    CFArrayRef _Nullable patterns
);

Declaration
From
CFArrayRef SCDynamicStoreCopyNotifiedKeys (
    SCDynamicStoreRef store
);
To
CFArrayRef _Nullable SCDynamicStoreCopyNotifiedKeys (
    SCDynamicStoreRef _Nonnull store
);

Declaration
From
CFPropertyListRef SCDynamicStoreCopyValue (
    SCDynamicStoreRef store,
    CFStringRef key
);
To
CFPropertyListRef _Nullable SCDynamicStoreCopyValue (
    SCDynamicStoreRef _Nullable store,
    CFStringRef _Nonnull key
);

Declaration
From
SCDynamicStoreRef SCDynamicStoreCreate (
    CFAllocatorRef allocator,
    CFStringRef name,
    SCDynamicStoreCallBack callout,
    SCDynamicStoreContext *context
);
To
SCDynamicStoreRef _Nullable SCDynamicStoreCreate (
    CFAllocatorRef _Nullable allocator,
    CFStringRef _Nonnull name,
    SCDynamicStoreCallBack _Nullable callout,
    SCDynamicStoreContext * _Nullable context
);

Declaration
From
CFRunLoopSourceRef SCDynamicStoreCreateRunLoopSource (
    CFAllocatorRef allocator,
    SCDynamicStoreRef store,
    CFIndex order
);
To
CFRunLoopSourceRef _Nullable SCDynamicStoreCreateRunLoopSource (
    CFAllocatorRef _Nullable allocator,
    SCDynamicStoreRef _Nonnull store,
    CFIndex order
);

Declaration
From
SCDynamicStoreRef SCDynamicStoreCreateWithOptions (
    CFAllocatorRef allocator,
    CFStringRef name,
    CFDictionaryRef storeOptions,
    SCDynamicStoreCallBack callout,
    SCDynamicStoreContext *context
);
To
SCDynamicStoreRef _Nullable SCDynamicStoreCreateWithOptions (
    CFAllocatorRef _Nullable allocator,
    CFStringRef _Nonnull name,
    CFDictionaryRef _Nullable storeOptions,
    SCDynamicStoreCallBack _Nullable callout,
    SCDynamicStoreContext * _Nullable context
);

Declaration
From
Boolean SCDynamicStoreNotifyValue (
    SCDynamicStoreRef store,
    CFStringRef key
);
To
Boolean SCDynamicStoreNotifyValue (
    SCDynamicStoreRef _Nullable store,
    CFStringRef _Nonnull key
);

Declaration
From
Boolean SCDynamicStoreRemoveValue (
    SCDynamicStoreRef store,
    CFStringRef key
);
To
Boolean SCDynamicStoreRemoveValue (
    SCDynamicStoreRef _Nullable store,
    CFStringRef _Nonnull key
);

Declaration
From
Boolean SCDynamicStoreSetDispatchQueue (
    SCDynamicStoreRef store,
    dispatch_queue_t queue
);
To
Boolean SCDynamicStoreSetDispatchQueue (
    SCDynamicStoreRef _Nonnull store,
    dispatch_queue_t _Nullable queue
);

Declaration
From
Boolean SCDynamicStoreSetMultiple (
    SCDynamicStoreRef store,
    CFDictionaryRef keysToSet,
    CFArrayRef keysToRemove,
    CFArrayRef keysToNotify
);
To
Boolean SCDynamicStoreSetMultiple (
    SCDynamicStoreRef _Nullable store,
    CFDictionaryRef _Nullable keysToSet,
    CFArrayRef _Nullable keysToRemove,
    CFArrayRef _Nullable keysToNotify
);

Declaration
From
Boolean SCDynamicStoreSetNotificationKeys (
    SCDynamicStoreRef store,
    CFArrayRef keys,
    CFArrayRef patterns
);
To
Boolean SCDynamicStoreSetNotificationKeys (
    SCDynamicStoreRef _Nonnull store,
    CFArrayRef _Nullable keys,
    CFArrayRef _Nullable patterns
);

Declaration
From
Boolean SCDynamicStoreSetValue (
    SCDynamicStoreRef store,
    CFStringRef key,
    CFPropertyListRef value
);
To
Boolean SCDynamicStoreSetValue (
    SCDynamicStoreRef _Nullable store,
    CFStringRef _Nonnull key,
    CFPropertyListRef _Nonnull value
);

SCDynamicStoreCopyDHCPInfo.h

Declaration
From
CFDateRef DHCPInfoGetLeaseExpirationTime (
    CFDictionaryRef info
);
To
CFDateRef _Nullable DHCPInfoGetLeaseExpirationTime (
    CFDictionaryRef _Nonnull info
);

Declaration
From
CFDateRef DHCPInfoGetLeaseStartTime (
    CFDictionaryRef info
);
To
CFDateRef _Nullable DHCPInfoGetLeaseStartTime (
    CFDictionaryRef _Nonnull info
);

Declaration
From
CFDataRef DHCPInfoGetOptionData (
    CFDictionaryRef info,
    UInt8 code
);
To
CFDataRef _Nullable DHCPInfoGetOptionData (
    CFDictionaryRef _Nonnull info,
    UInt8 code
);

Declaration
From
CFDictionaryRef SCDynamicStoreCopyDHCPInfo (
    SCDynamicStoreRef store,
    CFStringRef serviceID
);
To
CFDictionaryRef _Nullable SCDynamicStoreCopyDHCPInfo (
    SCDynamicStoreRef _Nullable store,
    CFStringRef _Nullable serviceID
);

SCDynamicStoreCopySpecific.h

Declaration
From
CFStringRef SCDynamicStoreCopyComputerName (
    SCDynamicStoreRef store,
    CFStringEncoding *nameEncoding
);
To
CFStringRef _Nullable SCDynamicStoreCopyComputerName (
    SCDynamicStoreRef _Nullable store,
    CFStringEncoding * _Nullable nameEncoding
);

Declaration
From
CFStringRef SCDynamicStoreCopyConsoleUser (
    SCDynamicStoreRef store,
    uid_t *uid,
    gid_t *gid
);
To
CFStringRef _Nullable SCDynamicStoreCopyConsoleUser (
    SCDynamicStoreRef _Nullable store,
    uid_t * _Nullable uid,
    gid_t * _Nullable gid
);

Declaration
From
CFStringRef SCDynamicStoreCopyLocalHostName (
    SCDynamicStoreRef store
);
To
CFStringRef _Nullable SCDynamicStoreCopyLocalHostName (
    SCDynamicStoreRef _Nullable store
);

Declaration
From
CFStringRef SCDynamicStoreCopyLocation (
    SCDynamicStoreRef store
);
To
CFStringRef _Nullable SCDynamicStoreCopyLocation (
    SCDynamicStoreRef _Nullable store
);

Declaration
From
CFDictionaryRef SCDynamicStoreCopyProxies (
    SCDynamicStoreRef store
);
To
CFDictionaryRef _Nullable SCDynamicStoreCopyProxies (
    SCDynamicStoreRef _Nullable store
);

SCDynamicStoreKey.h

Declaration
From
CFStringRef SCDynamicStoreKeyCreate (
    CFAllocatorRef allocator,
    CFStringRef fmt,
    ...
);
To
CFStringRef _Nonnull SCDynamicStoreKeyCreate (
    CFAllocatorRef _Nullable allocator,
    CFStringRef _Nonnull fmt,
    ...
);

Declaration
From
CFStringRef SCDynamicStoreKeyCreateComputerName (
    CFAllocatorRef allocator
);
To
CFStringRef _Nonnull SCDynamicStoreKeyCreateComputerName (
    CFAllocatorRef _Nullable allocator
);

Declaration
From
CFStringRef SCDynamicStoreKeyCreateConsoleUser (
    CFAllocatorRef allocator
);
To
CFStringRef _Nonnull SCDynamicStoreKeyCreateConsoleUser (
    CFAllocatorRef _Nullable allocator
);

Declaration
From
CFStringRef SCDynamicStoreKeyCreateHostNames (
    CFAllocatorRef allocator
);
To
CFStringRef _Nonnull SCDynamicStoreKeyCreateHostNames (
    CFAllocatorRef _Nullable allocator
);

Declaration
From
CFStringRef SCDynamicStoreKeyCreateLocation (
    CFAllocatorRef allocator
);
To
CFStringRef _Nonnull SCDynamicStoreKeyCreateLocation (
    CFAllocatorRef _Nullable allocator
);

Declaration
From
CFStringRef SCDynamicStoreKeyCreateNetworkGlobalEntity (
    CFAllocatorRef allocator,
    CFStringRef domain,
    CFStringRef entity
);
To
CFStringRef _Nonnull SCDynamicStoreKeyCreateNetworkGlobalEntity (
    CFAllocatorRef _Nullable allocator,
    CFStringRef _Nonnull domain,
    CFStringRef _Nonnull entity
);

Declaration
From
CFStringRef SCDynamicStoreKeyCreateNetworkInterface (
    CFAllocatorRef allocator,
    CFStringRef domain
);
To
CFStringRef _Nonnull SCDynamicStoreKeyCreateNetworkInterface (
    CFAllocatorRef _Nullable allocator,
    CFStringRef _Nonnull domain
);

Declaration
From
CFStringRef SCDynamicStoreKeyCreateNetworkInterfaceEntity (
    CFAllocatorRef allocator,
    CFStringRef domain,
    CFStringRef ifname,
    CFStringRef entity
);
To
CFStringRef _Nonnull SCDynamicStoreKeyCreateNetworkInterfaceEntity (
    CFAllocatorRef _Nullable allocator,
    CFStringRef _Nonnull domain,
    CFStringRef _Nonnull ifname,
    CFStringRef _Nullable entity
);

Declaration
From
CFStringRef SCDynamicStoreKeyCreateNetworkServiceEntity (
    CFAllocatorRef allocator,
    CFStringRef domain,
    CFStringRef serviceID,
    CFStringRef entity
);
To
CFStringRef _Nonnull SCDynamicStoreKeyCreateNetworkServiceEntity (
    CFAllocatorRef _Nullable allocator,
    CFStringRef _Nonnull domain,
    CFStringRef _Nonnull serviceID,
    CFStringRef _Nullable entity
);

Declaration
From
CFStringRef SCDynamicStoreKeyCreateProxies (
    CFAllocatorRef allocator
);
To
CFStringRef _Nonnull SCDynamicStoreKeyCreateProxies (
    CFAllocatorRef _Nullable allocator
);

SCNetwork.h

Declaration
From
Boolean SCNetworkCheckReachabilityByAddress (
    const struct sockaddr *address,
    socklen_t addrlen,
    SCNetworkConnectionFlags *flags
);
To
Boolean SCNetworkCheckReachabilityByAddress (
    const struct sockaddr * _Nonnull address,
    socklen_t addrlen,
    SCNetworkConnectionFlags * _Nonnull flags
);

Declaration
From
Boolean SCNetworkCheckReachabilityByName (
    const char *nodename,
    SCNetworkConnectionFlags *flags
);
To
Boolean SCNetworkCheckReachabilityByName (
    const char * _Nonnull nodename,
    SCNetworkConnectionFlags * _Nonnull flags
);

Declaration
From
Boolean SCNetworkInterfaceRefreshConfiguration (
    CFStringRef ifName
);
To
Boolean SCNetworkInterfaceRefreshConfiguration (
    CFStringRef _Nonnull ifName
);

SCNetworkConfiguration.h

Declaration
From
CFArrayRef SCBondInterfaceCopyAll (
    SCPreferencesRef prefs
);
To
CFArrayRef _Nonnull SCBondInterfaceCopyAll (
    SCPreferencesRef _Nonnull prefs
);

Declaration
From
CFArrayRef SCBondInterfaceCopyAvailableMemberInterfaces (
    SCPreferencesRef prefs
);
To
CFArrayRef _Nonnull SCBondInterfaceCopyAvailableMemberInterfaces (
    SCPreferencesRef _Nonnull prefs
);

Declaration
From
SCBondStatusRef SCBondInterfaceCopyStatus (
    SCBondInterfaceRef bond
);
To
SCBondStatusRef _Nullable SCBondInterfaceCopyStatus (
    SCBondInterfaceRef _Nonnull bond
);

Declaration
From
SCBondInterfaceRef SCBondInterfaceCreate (
    SCPreferencesRef prefs
);
To
SCBondInterfaceRef _Nullable SCBondInterfaceCreate (
    SCPreferencesRef _Nonnull prefs
);

Declaration
From
CFArrayRef SCBondInterfaceGetMemberInterfaces (
    SCBondInterfaceRef bond
);
To
CFArrayRef _Nullable SCBondInterfaceGetMemberInterfaces (
    SCBondInterfaceRef _Nonnull bond
);

Declaration
From
CFDictionaryRef SCBondInterfaceGetOptions (
    SCBondInterfaceRef bond
);
To
CFDictionaryRef _Nullable SCBondInterfaceGetOptions (
    SCBondInterfaceRef _Nonnull bond
);

Declaration
From
Boolean SCBondInterfaceRemove (
    SCBondInterfaceRef bond
);
To
Boolean SCBondInterfaceRemove (
    SCBondInterfaceRef _Nonnull bond
);

Declaration
From
Boolean SCBondInterfaceSetLocalizedDisplayName (
    SCBondInterfaceRef bond,
    CFStringRef newName
);
To
Boolean SCBondInterfaceSetLocalizedDisplayName (
    SCBondInterfaceRef _Nonnull bond,
    CFStringRef _Nonnull newName
);

Declaration
From
Boolean SCBondInterfaceSetMemberInterfaces (
    SCBondInterfaceRef bond,
    CFArrayRef members
);
To
Boolean SCBondInterfaceSetMemberInterfaces (
    SCBondInterfaceRef _Nonnull bond,
    CFArrayRef _Nonnull members
);

Declaration
From
Boolean SCBondInterfaceSetOptions (
    SCBondInterfaceRef bond,
    CFDictionaryRef newOptions
);
To
Boolean SCBondInterfaceSetOptions (
    SCBondInterfaceRef _Nonnull bond,
    CFDictionaryRef _Nonnull newOptions
);

Declaration
From
CFDictionaryRef SCBondStatusGetInterfaceStatus (
    SCBondStatusRef bondStatus,
    SCNetworkInterfaceRef interface
);
To
CFDictionaryRef _Nullable SCBondStatusGetInterfaceStatus (
    SCBondStatusRef _Nonnull bondStatus,
    SCNetworkInterfaceRef _Nullable interface
);

Declaration
From
CFArrayRef SCBondStatusGetMemberInterfaces (
    SCBondStatusRef bondStatus
);
To
CFArrayRef _Nullable SCBondStatusGetMemberInterfaces (
    SCBondStatusRef _Nonnull bondStatus
);

Declaration
From
CFArrayRef SCNetworkInterfaceCopyAll (
    void
);
To
CFArrayRef _Nonnull SCNetworkInterfaceCopyAll (
    void
);

Declaration
From
Boolean SCNetworkInterfaceCopyMediaOptions (
    SCNetworkInterfaceRef interface,
    CFDictionaryRef *current,
    CFDictionaryRef *active,
    CFArrayRef *available,
    Boolean filter
);
To
Boolean SCNetworkInterfaceCopyMediaOptions (
    SCNetworkInterfaceRef _Nonnull interface,
    CFDictionaryRef  _Nullable * _Nullable current,
    CFDictionaryRef  _Nullable * _Nullable active,
    CFArrayRef  _Nullable * _Nullable available,
    Boolean filter
);

Declaration
From
CFArrayRef SCNetworkInterfaceCopyMediaSubTypeOptions (
    CFArrayRef available,
    CFStringRef subType
);
To
CFArrayRef _Nullable SCNetworkInterfaceCopyMediaSubTypeOptions (
    CFArrayRef _Nonnull available,
    CFStringRef _Nonnull subType
);

Declaration
From
CFArrayRef SCNetworkInterfaceCopyMediaSubTypes (
    CFArrayRef available
);
To
CFArrayRef _Nullable SCNetworkInterfaceCopyMediaSubTypes (
    CFArrayRef _Nonnull available
);

Declaration
From
Boolean SCNetworkInterfaceCopyMTU (
    SCNetworkInterfaceRef interface,
    int *mtu_cur,
    int *mtu_min,
    int *mtu_max
);
To
Boolean SCNetworkInterfaceCopyMTU (
    SCNetworkInterfaceRef _Nonnull interface,
    int * _Nullable mtu_cur,
    int * _Nullable mtu_min,
    int * _Nullable mtu_max
);

Declaration
From
SCNetworkInterfaceRef SCNetworkInterfaceCreateWithInterface (
    SCNetworkInterfaceRef interface,
    CFStringRef interfaceType
);
To
SCNetworkInterfaceRef _Nullable SCNetworkInterfaceCreateWithInterface (
    SCNetworkInterfaceRef _Nonnull interface,
    CFStringRef _Nonnull interfaceType
);

Declaration
From
Boolean SCNetworkInterfaceForceConfigurationRefresh (
    SCNetworkInterfaceRef interface
);
To
Boolean SCNetworkInterfaceForceConfigurationRefresh (
    SCNetworkInterfaceRef _Nonnull interface
);

Declaration
From
CFStringRef SCNetworkInterfaceGetBSDName (
    SCNetworkInterfaceRef interface
);
To
CFStringRef _Nullable SCNetworkInterfaceGetBSDName (
    SCNetworkInterfaceRef _Nonnull interface
);

Declaration
From
CFDictionaryRef SCNetworkInterfaceGetConfiguration (
    SCNetworkInterfaceRef interface
);
To
CFDictionaryRef _Nullable SCNetworkInterfaceGetConfiguration (
    SCNetworkInterfaceRef _Nonnull interface
);

Declaration
From
CFDictionaryRef SCNetworkInterfaceGetExtendedConfiguration (
    SCNetworkInterfaceRef interface,
    CFStringRef extendedType
);
To
CFDictionaryRef _Nullable SCNetworkInterfaceGetExtendedConfiguration (
    SCNetworkInterfaceRef _Nonnull interface,
    CFStringRef _Nonnull extendedType
);

Declaration
From
CFStringRef SCNetworkInterfaceGetHardwareAddressString (
    SCNetworkInterfaceRef interface
);
To
CFStringRef _Nullable SCNetworkInterfaceGetHardwareAddressString (
    SCNetworkInterfaceRef _Nonnull interface
);

Declaration
From
SCNetworkInterfaceRef SCNetworkInterfaceGetInterface (
    SCNetworkInterfaceRef interface
);
To
SCNetworkInterfaceRef _Nullable SCNetworkInterfaceGetInterface (
    SCNetworkInterfaceRef _Nonnull interface
);

Declaration
From
CFStringRef SCNetworkInterfaceGetInterfaceType (
    SCNetworkInterfaceRef interface
);
To
CFStringRef _Nullable SCNetworkInterfaceGetInterfaceType (
    SCNetworkInterfaceRef _Nonnull interface
);

Declaration
From
CFStringRef SCNetworkInterfaceGetLocalizedDisplayName (
    SCNetworkInterfaceRef interface
);
To
CFStringRef _Nullable SCNetworkInterfaceGetLocalizedDisplayName (
    SCNetworkInterfaceRef _Nonnull interface
);

Declaration
From
CFArrayRef SCNetworkInterfaceGetSupportedInterfaceTypes (
    SCNetworkInterfaceRef interface
);
To
CFArrayRef _Nullable SCNetworkInterfaceGetSupportedInterfaceTypes (
    SCNetworkInterfaceRef _Nonnull interface
);

Declaration
From
CFArrayRef SCNetworkInterfaceGetSupportedProtocolTypes (
    SCNetworkInterfaceRef interface
);
To
CFArrayRef _Nullable SCNetworkInterfaceGetSupportedProtocolTypes (
    SCNetworkInterfaceRef _Nonnull interface
);

Declaration
From
Boolean SCNetworkInterfaceSetConfiguration (
    SCNetworkInterfaceRef interface,
    CFDictionaryRef config
);
To
Boolean SCNetworkInterfaceSetConfiguration (
    SCNetworkInterfaceRef _Nonnull interface,
    CFDictionaryRef _Nonnull config
);

Declaration
From
Boolean SCNetworkInterfaceSetExtendedConfiguration (
    SCNetworkInterfaceRef interface,
    CFStringRef extendedType,
    CFDictionaryRef config
);
To
Boolean SCNetworkInterfaceSetExtendedConfiguration (
    SCNetworkInterfaceRef _Nonnull interface,
    CFStringRef _Nonnull extendedType,
    CFDictionaryRef _Nonnull config
);

Declaration
From
Boolean SCNetworkInterfaceSetMediaOptions (
    SCNetworkInterfaceRef interface,
    CFStringRef subtype,
    CFArrayRef options
);
To
Boolean SCNetworkInterfaceSetMediaOptions (
    SCNetworkInterfaceRef _Nonnull interface,
    CFStringRef _Nonnull subtype,
    CFArrayRef _Nonnull options
);

Declaration
From
Boolean SCNetworkInterfaceSetMTU (
    SCNetworkInterfaceRef interface,
    int mtu
);
To
Boolean SCNetworkInterfaceSetMTU (
    SCNetworkInterfaceRef _Nonnull interface,
    int mtu
);

Declaration
From
CFDictionaryRef SCNetworkProtocolGetConfiguration (
    SCNetworkProtocolRef protocol
);
To
CFDictionaryRef _Nullable SCNetworkProtocolGetConfiguration (
    SCNetworkProtocolRef _Nonnull protocol
);

Declaration
From
Boolean SCNetworkProtocolGetEnabled (
    SCNetworkProtocolRef protocol
);
To
Boolean SCNetworkProtocolGetEnabled (
    SCNetworkProtocolRef _Nonnull protocol
);

Declaration
From
CFStringRef SCNetworkProtocolGetProtocolType (
    SCNetworkProtocolRef protocol
);
To
CFStringRef _Nullable SCNetworkProtocolGetProtocolType (
    SCNetworkProtocolRef _Nonnull protocol
);

Declaration
From
Boolean SCNetworkProtocolSetConfiguration (
    SCNetworkProtocolRef protocol,
    CFDictionaryRef config
);
To
Boolean SCNetworkProtocolSetConfiguration (
    SCNetworkProtocolRef _Nonnull protocol,
    CFDictionaryRef _Nonnull config
);

Declaration
From
Boolean SCNetworkProtocolSetEnabled (
    SCNetworkProtocolRef protocol,
    Boolean enabled
);
To
Boolean SCNetworkProtocolSetEnabled (
    SCNetworkProtocolRef _Nonnull protocol,
    Boolean enabled
);

Declaration
From
Boolean SCNetworkServiceAddProtocolType (
    SCNetworkServiceRef service,
    CFStringRef protocolType
);
To
Boolean SCNetworkServiceAddProtocolType (
    SCNetworkServiceRef _Nonnull service,
    CFStringRef _Nonnull protocolType
);

Declaration
From
SCNetworkServiceRef SCNetworkServiceCopy (
    SCPreferencesRef prefs,
    CFStringRef serviceID
);
To
SCNetworkServiceRef _Nullable SCNetworkServiceCopy (
    SCPreferencesRef _Nonnull prefs,
    CFStringRef _Nonnull serviceID
);

Declaration
From
CFArrayRef SCNetworkServiceCopyAll (
    SCPreferencesRef prefs
);
To
CFArrayRef _Nullable SCNetworkServiceCopyAll (
    SCPreferencesRef _Nonnull prefs
);

Declaration
From
SCNetworkProtocolRef SCNetworkServiceCopyProtocol (
    SCNetworkServiceRef service,
    CFStringRef protocolType
);
To
SCNetworkProtocolRef _Nullable SCNetworkServiceCopyProtocol (
    SCNetworkServiceRef _Nonnull service,
    CFStringRef _Nonnull protocolType
);

Declaration
From
CFArrayRef SCNetworkServiceCopyProtocols (
    SCNetworkServiceRef service
);
To
CFArrayRef _Nullable SCNetworkServiceCopyProtocols (
    SCNetworkServiceRef _Nonnull service
);

Declaration
From
SCNetworkServiceRef SCNetworkServiceCreate (
    SCPreferencesRef prefs,
    SCNetworkInterfaceRef interface
);
To
SCNetworkServiceRef _Nullable SCNetworkServiceCreate (
    SCPreferencesRef _Nonnull prefs,
    SCNetworkInterfaceRef _Nonnull interface
);

Declaration
From
Boolean SCNetworkServiceEstablishDefaultConfiguration (
    SCNetworkServiceRef service
);
To
Boolean SCNetworkServiceEstablishDefaultConfiguration (
    SCNetworkServiceRef _Nonnull service
);

Declaration
From
Boolean SCNetworkServiceGetEnabled (
    SCNetworkServiceRef service
);
To
Boolean SCNetworkServiceGetEnabled (
    SCNetworkServiceRef _Nonnull service
);

Declaration
From
SCNetworkInterfaceRef SCNetworkServiceGetInterface (
    SCNetworkServiceRef service
);
To
SCNetworkInterfaceRef _Nullable SCNetworkServiceGetInterface (
    SCNetworkServiceRef _Nonnull service
);

Declaration
From
CFStringRef SCNetworkServiceGetName (
    SCNetworkServiceRef service
);
To
CFStringRef _Nullable SCNetworkServiceGetName (
    SCNetworkServiceRef _Nonnull service
);

Declaration
From
CFStringRef SCNetworkServiceGetServiceID (
    SCNetworkServiceRef service
);
To
CFStringRef _Nullable SCNetworkServiceGetServiceID (
    SCNetworkServiceRef _Nonnull service
);

Declaration
From
Boolean SCNetworkServiceRemove (
    SCNetworkServiceRef service
);
To
Boolean SCNetworkServiceRemove (
    SCNetworkServiceRef _Nonnull service
);

Declaration
From
Boolean SCNetworkServiceRemoveProtocolType (
    SCNetworkServiceRef service,
    CFStringRef protocolType
);
To
Boolean SCNetworkServiceRemoveProtocolType (
    SCNetworkServiceRef _Nonnull service,
    CFStringRef _Nonnull protocolType
);

Declaration
From
Boolean SCNetworkServiceSetEnabled (
    SCNetworkServiceRef service,
    Boolean enabled
);
To
Boolean SCNetworkServiceSetEnabled (
    SCNetworkServiceRef _Nonnull service,
    Boolean enabled
);

Declaration
From
Boolean SCNetworkServiceSetName (
    SCNetworkServiceRef service,
    CFStringRef name
);
To
Boolean SCNetworkServiceSetName (
    SCNetworkServiceRef _Nonnull service,
    CFStringRef _Nonnull name
);

Declaration
From
Boolean SCNetworkSetAddService (
    SCNetworkSetRef set,
    SCNetworkServiceRef service
);
To
Boolean SCNetworkSetAddService (
    SCNetworkSetRef _Nonnull set,
    SCNetworkServiceRef _Nonnull service
);

Declaration
From
Boolean SCNetworkSetContainsInterface (
    SCNetworkSetRef set,
    SCNetworkInterfaceRef interface
);
To
Boolean SCNetworkSetContainsInterface (
    SCNetworkSetRef _Nonnull set,
    SCNetworkInterfaceRef _Nonnull interface
);

Declaration
From
SCNetworkSetRef SCNetworkSetCopy (
    SCPreferencesRef prefs,
    CFStringRef setID
);
To
SCNetworkSetRef _Nullable SCNetworkSetCopy (
    SCPreferencesRef _Nonnull prefs,
    CFStringRef _Nonnull setID
);

Declaration
From
CFArrayRef SCNetworkSetCopyAll (
    SCPreferencesRef prefs
);
To
CFArrayRef _Nullable SCNetworkSetCopyAll (
    SCPreferencesRef _Nonnull prefs
);

Declaration
From
SCNetworkSetRef SCNetworkSetCopyCurrent (
    SCPreferencesRef prefs
);
To
SCNetworkSetRef _Nullable SCNetworkSetCopyCurrent (
    SCPreferencesRef _Nonnull prefs
);

Declaration
From
CFArrayRef SCNetworkSetCopyServices (
    SCNetworkSetRef set
);
To
CFArrayRef _Nullable SCNetworkSetCopyServices (
    SCNetworkSetRef _Nonnull set
);

Declaration
From
SCNetworkSetRef SCNetworkSetCreate (
    SCPreferencesRef prefs
);
To
SCNetworkSetRef _Nullable SCNetworkSetCreate (
    SCPreferencesRef _Nonnull prefs
);

Declaration
From
CFStringRef SCNetworkSetGetName (
    SCNetworkSetRef set
);
To
CFStringRef _Nullable SCNetworkSetGetName (
    SCNetworkSetRef _Nonnull set
);

Declaration
From
CFArrayRef SCNetworkSetGetServiceOrder (
    SCNetworkSetRef set
);
To
CFArrayRef _Nullable SCNetworkSetGetServiceOrder (
    SCNetworkSetRef _Nonnull set
);

Declaration
From
CFStringRef SCNetworkSetGetSetID (
    SCNetworkSetRef set
);
To
CFStringRef _Nullable SCNetworkSetGetSetID (
    SCNetworkSetRef _Nonnull set
);

Declaration
From
Boolean SCNetworkSetRemove (
    SCNetworkSetRef set
);
To
Boolean SCNetworkSetRemove (
    SCNetworkSetRef _Nonnull set
);

Declaration
From
Boolean SCNetworkSetRemoveService (
    SCNetworkSetRef set,
    SCNetworkServiceRef service
);
To
Boolean SCNetworkSetRemoveService (
    SCNetworkSetRef _Nonnull set,
    SCNetworkServiceRef _Nonnull service
);

Declaration
From
Boolean SCNetworkSetSetCurrent (
    SCNetworkSetRef set
);
To
Boolean SCNetworkSetSetCurrent (
    SCNetworkSetRef _Nonnull set
);

Declaration
From
Boolean SCNetworkSetSetName (
    SCNetworkSetRef set,
    CFStringRef name
);
To
Boolean SCNetworkSetSetName (
    SCNetworkSetRef _Nonnull set,
    CFStringRef _Nonnull name
);

Declaration
From
Boolean SCNetworkSetSetServiceOrder (
    SCNetworkSetRef set,
    CFArrayRef newOrder
);
To
Boolean SCNetworkSetSetServiceOrder (
    SCNetworkSetRef _Nonnull set,
    CFArrayRef _Nonnull newOrder
);

Declaration
From
CFArrayRef SCVLANInterfaceCopyAll (
    SCPreferencesRef prefs
);
To
CFArrayRef _Nonnull SCVLANInterfaceCopyAll (
    SCPreferencesRef _Nonnull prefs
);

Declaration
From
CFArrayRef SCVLANInterfaceCopyAvailablePhysicalInterfaces (
    void
);
To
CFArrayRef _Nonnull SCVLANInterfaceCopyAvailablePhysicalInterfaces (
    void
);

Declaration
From
SCVLANInterfaceRef SCVLANInterfaceCreate (
    SCPreferencesRef prefs,
    SCNetworkInterfaceRef physical,
    CFNumberRef tag
);
To
SCVLANInterfaceRef _Nullable SCVLANInterfaceCreate (
    SCPreferencesRef _Nonnull prefs,
    SCNetworkInterfaceRef _Nonnull physical,
    CFNumberRef _Nonnull tag
);

Declaration
From
CFDictionaryRef SCVLANInterfaceGetOptions (
    SCVLANInterfaceRef vlan
);
To
CFDictionaryRef _Nullable SCVLANInterfaceGetOptions (
    SCVLANInterfaceRef _Nonnull vlan
);

Declaration
From
SCNetworkInterfaceRef SCVLANInterfaceGetPhysicalInterface (
    SCVLANInterfaceRef vlan
);
To
SCNetworkInterfaceRef _Nullable SCVLANInterfaceGetPhysicalInterface (
    SCVLANInterfaceRef _Nonnull vlan
);

Declaration
From
CFNumberRef SCVLANInterfaceGetTag (
    SCVLANInterfaceRef vlan
);
To
CFNumberRef _Nullable SCVLANInterfaceGetTag (
    SCVLANInterfaceRef _Nonnull vlan
);

Declaration
From
Boolean SCVLANInterfaceRemove (
    SCVLANInterfaceRef vlan
);
To
Boolean SCVLANInterfaceRemove (
    SCVLANInterfaceRef _Nonnull vlan
);

Declaration
From
Boolean SCVLANInterfaceSetLocalizedDisplayName (
    SCVLANInterfaceRef vlan,
    CFStringRef newName
);
To
Boolean SCVLANInterfaceSetLocalizedDisplayName (
    SCVLANInterfaceRef _Nonnull vlan,
    CFStringRef _Nonnull newName
);

Declaration
From
Boolean SCVLANInterfaceSetOptions (
    SCVLANInterfaceRef vlan,
    CFDictionaryRef newOptions
);
To
Boolean SCVLANInterfaceSetOptions (
    SCVLANInterfaceRef _Nonnull vlan,
    CFDictionaryRef _Nonnull newOptions
);

Declaration
From
Boolean SCVLANInterfaceSetPhysicalInterfaceAndTag (
    SCVLANInterfaceRef vlan,
    SCNetworkInterfaceRef physical,
    CFNumberRef tag
);
To
Boolean SCVLANInterfaceSetPhysicalInterfaceAndTag (
    SCVLANInterfaceRef _Nonnull vlan,
    SCNetworkInterfaceRef _Nonnull physical,
    CFNumberRef _Nonnull tag
);

SCNetworkConnection.h

Declaration
From
CFDictionaryRef SCNetworkConnectionCopyExtendedStatus (
    SCNetworkConnectionRef connection
);
To
CFDictionaryRef _Nullable SCNetworkConnectionCopyExtendedStatus (
    SCNetworkConnectionRef _Nonnull connection
);

Declaration
From
CFStringRef SCNetworkConnectionCopyServiceID (
    SCNetworkConnectionRef connection
);
To
CFStringRef _Nullable SCNetworkConnectionCopyServiceID (
    SCNetworkConnectionRef _Nonnull connection
);

Declaration
From
CFDictionaryRef SCNetworkConnectionCopyStatistics (
    SCNetworkConnectionRef connection
);
To
CFDictionaryRef _Nullable SCNetworkConnectionCopyStatistics (
    SCNetworkConnectionRef _Nonnull connection
);

Declaration
From
CFDictionaryRef SCNetworkConnectionCopyUserOptions (
    SCNetworkConnectionRef connection
);
To
CFDictionaryRef _Nullable SCNetworkConnectionCopyUserOptions (
    SCNetworkConnectionRef _Nonnull connection
);

Declaration
From
Boolean SCNetworkConnectionCopyUserPreferences (
    CFDictionaryRef selectionOptions,
    CFStringRef *serviceID,
    CFDictionaryRef *userOptions
);
To
Boolean SCNetworkConnectionCopyUserPreferences (
    CFDictionaryRef _Nullable selectionOptions,
    CFStringRef  _Nonnull * _Nullable serviceID,
    CFDictionaryRef  _Nonnull * _Nullable userOptions
);

Declaration
From
SCNetworkConnectionRef SCNetworkConnectionCreateWithServiceID (
    CFAllocatorRef allocator,
    CFStringRef serviceID,
    SCNetworkConnectionCallBack callout,
    SCNetworkConnectionContext *context
);
To
SCNetworkConnectionRef _Nullable SCNetworkConnectionCreateWithServiceID (
    CFAllocatorRef _Nullable allocator,
    CFStringRef _Nonnull serviceID,
    SCNetworkConnectionCallBack _Nullable callout,
    SCNetworkConnectionContext * _Nullable context
);

Declaration
From
SCNetworkConnectionStatus SCNetworkConnectionGetStatus (
    SCNetworkConnectionRef connection
);
To
SCNetworkConnectionStatus SCNetworkConnectionGetStatus (
    SCNetworkConnectionRef _Nonnull connection
);

Declaration
From
Boolean SCNetworkConnectionScheduleWithRunLoop (
    SCNetworkConnectionRef connection,
    CFRunLoopRef runLoop,
    CFStringRef runLoopMode
);
To
Boolean SCNetworkConnectionScheduleWithRunLoop (
    SCNetworkConnectionRef _Nonnull connection,
    CFRunLoopRef _Nonnull runLoop,
    CFStringRef _Nonnull runLoopMode
);

Declaration
From
Boolean SCNetworkConnectionSetDispatchQueue (
    SCNetworkConnectionRef connection,
    dispatch_queue_t queue
);
To
Boolean SCNetworkConnectionSetDispatchQueue (
    SCNetworkConnectionRef _Nonnull connection,
    dispatch_queue_t _Nullable queue
);

Declaration
From
Boolean SCNetworkConnectionStart (
    SCNetworkConnectionRef connection,
    CFDictionaryRef userOptions,
    Boolean linger
);
To
Boolean SCNetworkConnectionStart (
    SCNetworkConnectionRef _Nonnull connection,
    CFDictionaryRef _Nullable userOptions,
    Boolean linger
);

Declaration
From
Boolean SCNetworkConnectionStop (
    SCNetworkConnectionRef connection,
    Boolean forceDisconnect
);
To
Boolean SCNetworkConnectionStop (
    SCNetworkConnectionRef _Nonnull connection,
    Boolean forceDisconnect
);

Declaration
From
Boolean SCNetworkConnectionUnscheduleFromRunLoop (
    SCNetworkConnectionRef connection,
    CFRunLoopRef runLoop,
    CFStringRef runLoopMode
);
To
Boolean SCNetworkConnectionUnscheduleFromRunLoop (
    SCNetworkConnectionRef _Nonnull connection,
    CFRunLoopRef _Nonnull runLoop,
    CFStringRef _Nonnull runLoopMode
);

SCNetworkReachability.h

Declaration
From
SCNetworkReachabilityRef SCNetworkReachabilityCreateWithAddress (
    CFAllocatorRef allocator,
    const struct sockaddr *address
);
To
SCNetworkReachabilityRef _Nullable SCNetworkReachabilityCreateWithAddress (
    CFAllocatorRef _Nullable allocator,
    const struct sockaddr * _Nonnull address
);

Declaration
From
SCNetworkReachabilityRef SCNetworkReachabilityCreateWithAddressPair (
    CFAllocatorRef allocator,
    const struct sockaddr *localAddress,
    const struct sockaddr *remoteAddress
);
To
SCNetworkReachabilityRef _Nullable SCNetworkReachabilityCreateWithAddressPair (
    CFAllocatorRef _Nullable allocator,
    const struct sockaddr * _Nullable localAddress,
    const struct sockaddr * _Nullable remoteAddress
);

Declaration
From
SCNetworkReachabilityRef SCNetworkReachabilityCreateWithName (
    CFAllocatorRef allocator,
    const char *nodename
);
To
SCNetworkReachabilityRef _Nullable SCNetworkReachabilityCreateWithName (
    CFAllocatorRef _Nullable allocator,
    const char * _Nonnull nodename
);

Declaration
From
Boolean SCNetworkReachabilityGetFlags (
    SCNetworkReachabilityRef target,
    SCNetworkReachabilityFlags *flags
);
To
Boolean SCNetworkReachabilityGetFlags (
    SCNetworkReachabilityRef _Nonnull target,
    SCNetworkReachabilityFlags * _Nonnull flags
);

Declaration
From
Boolean SCNetworkReachabilityScheduleWithRunLoop (
    SCNetworkReachabilityRef target,
    CFRunLoopRef runLoop,
    CFStringRef runLoopMode
);
To
Boolean SCNetworkReachabilityScheduleWithRunLoop (
    SCNetworkReachabilityRef _Nonnull target,
    CFRunLoopRef _Nonnull runLoop,
    CFStringRef _Nonnull runLoopMode
);

Declaration
From
Boolean SCNetworkReachabilitySetCallback (
    SCNetworkReachabilityRef target,
    SCNetworkReachabilityCallBack callout,
    SCNetworkReachabilityContext *context
);
To
Boolean SCNetworkReachabilitySetCallback (
    SCNetworkReachabilityRef _Nonnull target,
    SCNetworkReachabilityCallBack _Nullable callout,
    SCNetworkReachabilityContext * _Nullable context
);

Declaration
From
Boolean SCNetworkReachabilitySetDispatchQueue (
    SCNetworkReachabilityRef target,
    dispatch_queue_t queue
);
To
Boolean SCNetworkReachabilitySetDispatchQueue (
    SCNetworkReachabilityRef _Nonnull target,
    dispatch_queue_t _Nullable queue
);

Declaration
From
Boolean SCNetworkReachabilityUnscheduleFromRunLoop (
    SCNetworkReachabilityRef target,
    CFRunLoopRef runLoop,
    CFStringRef runLoopMode
);
To
Boolean SCNetworkReachabilityUnscheduleFromRunLoop (
    SCNetworkReachabilityRef _Nonnull target,
    CFRunLoopRef _Nonnull runLoop,
    CFStringRef _Nonnull runLoopMode
);

SCPreferences.h

Declaration
From
Boolean SCPreferencesAddValue (
    SCPreferencesRef prefs,
    CFStringRef key,
    CFPropertyListRef value
);
To
Boolean SCPreferencesAddValue (
    SCPreferencesRef _Nonnull prefs,
    CFStringRef _Nonnull key,
    CFPropertyListRef _Nonnull value
);

Declaration
From
Boolean SCPreferencesApplyChanges (
    SCPreferencesRef prefs
);
To
Boolean SCPreferencesApplyChanges (
    SCPreferencesRef _Nonnull prefs
);

Declaration
From
Boolean SCPreferencesCommitChanges (
    SCPreferencesRef prefs
);
To
Boolean SCPreferencesCommitChanges (
    SCPreferencesRef _Nonnull prefs
);

Declaration
From
CFArrayRef SCPreferencesCopyKeyList (
    SCPreferencesRef prefs
);
To
CFArrayRef _Nullable SCPreferencesCopyKeyList (
    SCPreferencesRef _Nonnull prefs
);

Declaration
From
SCPreferencesRef SCPreferencesCreate (
    CFAllocatorRef allocator,
    CFStringRef name,
    CFStringRef prefsID
);
To
SCPreferencesRef _Nullable SCPreferencesCreate (
    CFAllocatorRef _Nullable allocator,
    CFStringRef _Nonnull name,
    CFStringRef _Nullable prefsID
);

Declaration
From
SCPreferencesRef SCPreferencesCreateWithAuthorization (
    CFAllocatorRef allocator,
    CFStringRef name,
    CFStringRef prefsID,
    AuthorizationRef authorization
);
To
SCPreferencesRef _Nullable SCPreferencesCreateWithAuthorization (
    CFAllocatorRef _Nullable allocator,
    CFStringRef _Nonnull name,
    CFStringRef _Nullable prefsID,
    AuthorizationRef _Nullable authorization
);

Declaration
From
CFDataRef SCPreferencesGetSignature (
    SCPreferencesRef prefs
);
To
CFDataRef _Nullable SCPreferencesGetSignature (
    SCPreferencesRef _Nonnull prefs
);

Declaration
From
CFPropertyListRef SCPreferencesGetValue (
    SCPreferencesRef prefs,
    CFStringRef key
);
To
CFPropertyListRef _Nullable SCPreferencesGetValue (
    SCPreferencesRef _Nonnull prefs,
    CFStringRef _Nonnull key
);

Declaration
From
Boolean SCPreferencesLock (
    SCPreferencesRef prefs,
    Boolean wait
);
To
Boolean SCPreferencesLock (
    SCPreferencesRef _Nonnull prefs,
    Boolean wait
);

Declaration
From
Boolean SCPreferencesRemoveValue (
    SCPreferencesRef prefs,
    CFStringRef key
);
To
Boolean SCPreferencesRemoveValue (
    SCPreferencesRef _Nonnull prefs,
    CFStringRef _Nonnull key
);

Declaration
From
Boolean SCPreferencesScheduleWithRunLoop (
    SCPreferencesRef prefs,
    CFRunLoopRef runLoop,
    CFStringRef runLoopMode
);
To
Boolean SCPreferencesScheduleWithRunLoop (
    SCPreferencesRef _Nonnull prefs,
    CFRunLoopRef _Nonnull runLoop,
    CFStringRef _Nonnull runLoopMode
);

Declaration
From
Boolean SCPreferencesSetCallback (
    SCPreferencesRef prefs,
    SCPreferencesCallBack callout,
    SCPreferencesContext *context
);
To
Boolean SCPreferencesSetCallback (
    SCPreferencesRef _Nonnull prefs,
    SCPreferencesCallBack _Nullable callout,
    SCPreferencesContext * _Nullable context
);

Declaration
From
Boolean SCPreferencesSetDispatchQueue (
    SCPreferencesRef prefs,
    dispatch_queue_t queue
);
To
Boolean SCPreferencesSetDispatchQueue (
    SCPreferencesRef _Nonnull prefs,
    dispatch_queue_t _Nullable queue
);

Declaration
From
Boolean SCPreferencesSetValue (
    SCPreferencesRef prefs,
    CFStringRef key,
    CFPropertyListRef value
);
To
Boolean SCPreferencesSetValue (
    SCPreferencesRef _Nonnull prefs,
    CFStringRef _Nonnull key,
    CFPropertyListRef _Nonnull value
);

Declaration
From
void SCPreferencesSynchronize (
    SCPreferencesRef prefs
);
To
void SCPreferencesSynchronize (
    SCPreferencesRef _Nonnull prefs
);

Declaration
From
Boolean SCPreferencesUnlock (
    SCPreferencesRef prefs
);
To
Boolean SCPreferencesUnlock (
    SCPreferencesRef _Nonnull prefs
);

Declaration
From
Boolean SCPreferencesUnscheduleFromRunLoop (
    SCPreferencesRef prefs,
    CFRunLoopRef runLoop,
    CFStringRef runLoopMode
);
To
Boolean SCPreferencesUnscheduleFromRunLoop (
    SCPreferencesRef _Nonnull prefs,
    CFRunLoopRef _Nonnull runLoop,
    CFStringRef _Nonnull runLoopMode
);

SCPreferencesPath.h

Declaration
From
CFStringRef SCPreferencesPathCreateUniqueChild (
    SCPreferencesRef prefs,
    CFStringRef prefix
);
To
CFStringRef _Nullable SCPreferencesPathCreateUniqueChild (
    SCPreferencesRef _Nonnull prefs,
    CFStringRef _Nonnull prefix
);

Declaration
From
CFStringRef SCPreferencesPathGetLink (
    SCPreferencesRef prefs,
    CFStringRef path
);
To
CFStringRef _Nullable SCPreferencesPathGetLink (
    SCPreferencesRef _Nonnull prefs,
    CFStringRef _Nonnull path
);

Declaration
From
CFDictionaryRef SCPreferencesPathGetValue (
    SCPreferencesRef prefs,
    CFStringRef path
);
To
CFDictionaryRef _Nullable SCPreferencesPathGetValue (
    SCPreferencesRef _Nonnull prefs,
    CFStringRef _Nonnull path
);

Declaration
From
Boolean SCPreferencesPathRemoveValue (
    SCPreferencesRef prefs,
    CFStringRef path
);
To
Boolean SCPreferencesPathRemoveValue (
    SCPreferencesRef _Nonnull prefs,
    CFStringRef _Nonnull path
);

Declaration
From
Boolean SCPreferencesPathSetLink (
    SCPreferencesRef prefs,
    CFStringRef path,
    CFStringRef link
);
To
Boolean SCPreferencesPathSetLink (
    SCPreferencesRef _Nonnull prefs,
    CFStringRef _Nonnull path,
    CFStringRef _Nonnull link
);

Declaration
From
Boolean SCPreferencesPathSetValue (
    SCPreferencesRef prefs,
    CFStringRef path,
    CFDictionaryRef value
);
To
Boolean SCPreferencesPathSetValue (
    SCPreferencesRef _Nonnull prefs,
    CFStringRef _Nonnull path,
    CFDictionaryRef _Nonnull value
);

SCPreferencesSetSpecific.h

Declaration
From
Boolean SCPreferencesSetComputerName (
    SCPreferencesRef prefs,
    CFStringRef name,
    CFStringEncoding nameEncoding
);
To
Boolean SCPreferencesSetComputerName (
    SCPreferencesRef _Nonnull prefs,
    CFStringRef _Nonnull name,
    CFStringEncoding nameEncoding
);

Declaration
From
Boolean SCPreferencesSetLocalHostName (
    SCPreferencesRef prefs,
    CFStringRef name
);
To
Boolean SCPreferencesSetLocalHostName (
    SCPreferencesRef _Nonnull prefs,
    CFStringRef _Nonnull name
);

SystemConfiguration.h

Declaration
From
CFErrorRef SCCopyLastError (
    void
);
To
CFErrorRef _Nonnull SCCopyLastError (
    void
);

Declaration
From
const char * SCErrorString (
    int status
);
To
const char * _Nonnull SCErrorString (
    int status
);