Documentation Archive Developer
Search

SystemConfiguration Changes for Swift

SystemConfiguration

Declaration
From
struct SCDynamicStoreContext {
    var version: CFIndex
    var info: UnsafeMutablePointer<Void>
    var retain: ((UnsafePointer<Void>) -> UnsafePointer<Void>)?
    var release: ((UnsafePointer<Void>) -> Void)?
    var copyDescription: ((UnsafePointer<Void>) -> Unmanaged<CFString>)?
    init()
    init(version version: CFIndex, info info: UnsafeMutablePointer<Void>, retain retain: ((UnsafePointer<Void>) -> UnsafePointer<Void>)?, release release: ((UnsafePointer<Void>) -> Void)?, copyDescription copyDescription: ((UnsafePointer<Void>) -> Unmanaged<CFString>)?)
}
To
struct SCDynamicStoreContext {
    var version: CFIndex
    var info: UnsafeMutableRawPointer?
    var retain: ((UnsafeRawPointer) -> UnsafeRawPointer)?
    var release: ((UnsafeRawPointer) -> Swift.Void)?
    var copyDescription: ((UnsafeRawPointer) -> Unmanaged<CFString>)?
    init()
    init(version version: CFIndex, info info: UnsafeMutableRawPointer?, retain retain: (@escaping (UnsafeRawPointer) -> UnsafeRawPointer)?, release release: (@escaping (UnsafeRawPointer) -> Swift.Void)?, copyDescription copyDescription: (@escaping (UnsafeRawPointer) -> Unmanaged<CFString>)?)
}

Declaration
From
var copyDescription: ((UnsafePointer<Void>) -> Unmanaged<CFString>)?
To
var copyDescription: ((UnsafeRawPointer) -> Unmanaged<CFString>)?

Declaration
From
var info: UnsafeMutablePointer<Void>
To
var info: UnsafeMutableRawPointer?

Declaration
From
var release: ((UnsafePointer<Void>) -> Void)?
To
var release: ((UnsafeRawPointer) -> Swift.Void)?

Declaration
From
var retain: ((UnsafePointer<Void>) -> UnsafePointer<Void>)?
To
var retain: ((UnsafeRawPointer) -> UnsafeRawPointer)?

Declaration
From
struct SCNetworkConnectionContext {
    var version: CFIndex
    var info: UnsafeMutablePointer<Void>
    var retain: ((UnsafePointer<Void>) -> UnsafePointer<Void>)?
    var release: ((UnsafePointer<Void>) -> Void)?
    var copyDescription: ((UnsafePointer<Void>) -> Unmanaged<CFString>)?
    init()
    init(version version: CFIndex, info info: UnsafeMutablePointer<Void>, retain retain: ((UnsafePointer<Void>) -> UnsafePointer<Void>)?, release release: ((UnsafePointer<Void>) -> Void)?, copyDescription copyDescription: ((UnsafePointer<Void>) -> Unmanaged<CFString>)?)
}
To
struct SCNetworkConnectionContext {
    var version: CFIndex
    var info: UnsafeMutableRawPointer?
    var retain: ((UnsafeRawPointer) -> UnsafeRawPointer)?
    var release: ((UnsafeRawPointer) -> Swift.Void)?
    var copyDescription: ((UnsafeRawPointer) -> Unmanaged<CFString>)?
    init()
    init(version version: CFIndex, info info: UnsafeMutableRawPointer?, retain retain: (@escaping (UnsafeRawPointer) -> UnsafeRawPointer)?, release release: (@escaping (UnsafeRawPointer) -> Swift.Void)?, copyDescription copyDescription: (@escaping (UnsafeRawPointer) -> Unmanaged<CFString>)?)
}

Declaration
From
var copyDescription: ((UnsafePointer<Void>) -> Unmanaged<CFString>)?
To
var copyDescription: ((UnsafeRawPointer) -> Unmanaged<CFString>)?

Declaration
From
var info: UnsafeMutablePointer<Void>
To
var info: UnsafeMutableRawPointer?

Declaration
From
var release: ((UnsafePointer<Void>) -> Void)?
To
var release: ((UnsafeRawPointer) -> Swift.Void)?

Declaration
From
var retain: ((UnsafePointer<Void>) -> UnsafePointer<Void>)?
To
var retain: ((UnsafeRawPointer) -> UnsafeRawPointer)?

Declaration
From
enum SCNetworkConnectionPPPStatus : Int32 {
    case Disconnected
    case Initializing
    case ConnectingLink
    case DialOnTraffic
    case NegotiatingLink
    case Authenticating
    case WaitingForCallBack
    case NegotiatingNetwork
    case Connected
    case Terminating
    case DisconnectingLink
    case HoldingLinkOff
    case Suspended
    case WaitingForRedial
}
To
enum SCNetworkConnectionPPPStatus : Int32 {
    case disconnected
    case initializing
    case connectingLink
    case dialOnTraffic
    case negotiatingLink
    case authenticating
    case waitingForCallBack
    case negotiatingNetwork
    case connected
    case terminating
    case disconnectingLink
    case holdingLinkOff
    case suspended
    case waitingForRedial
}

Declaration
From
case Authenticating
To
case authenticating

Declaration
From
case Connected
To
case connected

Declaration
From
case ConnectingLink
To
case connectingLink

Declaration
From
case DialOnTraffic
To
case dialOnTraffic

Declaration
From
case Disconnected
To
case disconnected

Declaration
From
case DisconnectingLink
To
case disconnectingLink

Declaration
From
case HoldingLinkOff
To
case holdingLinkOff

Declaration
From
case Initializing
To
case initializing

Declaration
From
case NegotiatingLink
To
case negotiatingLink

Declaration
From
case NegotiatingNetwork
To
case negotiatingNetwork

Declaration
From
case Suspended
To
case suspended

Declaration
From
case Terminating
To
case terminating

Declaration
From
case WaitingForCallBack
To
case waitingForCallBack

Declaration
From
case WaitingForRedial
To
case waitingForRedial

Declaration
From
enum SCNetworkConnectionStatus : Int32 {
    case Invalid
    case Disconnected
    case Connecting
    case Connected
    case Disconnecting
}
To
enum SCNetworkConnectionStatus : Int32 {
    case invalid
    case disconnected
    case connecting
    case connected
    case disconnecting
}

Declaration
From
case Connected
To
case connected

Declaration
From
case Connecting
To
case connecting

Declaration
From
case Disconnected
To
case disconnected

Declaration
From
case Disconnecting
To
case disconnecting

Declaration
From
case Invalid
To
case invalid

Declaration
From
struct SCNetworkReachabilityContext {
    var version: CFIndex
    var info: UnsafeMutablePointer<Void>
    var retain: ((UnsafePointer<Void>) -> UnsafePointer<Void>)?
    var release: ((UnsafePointer<Void>) -> Void)?
    var copyDescription: ((UnsafePointer<Void>) -> Unmanaged<CFString>)?
    init()
    init(version version: CFIndex, info info: UnsafeMutablePointer<Void>, retain retain: ((UnsafePointer<Void>) -> UnsafePointer<Void>)?, release release: ((UnsafePointer<Void>) -> Void)?, copyDescription copyDescription: ((UnsafePointer<Void>) -> Unmanaged<CFString>)?)
}
To
struct SCNetworkReachabilityContext {
    var version: CFIndex
    var info: UnsafeMutableRawPointer?
    var retain: ((UnsafeRawPointer) -> UnsafeRawPointer)?
    var release: ((UnsafeRawPointer) -> Swift.Void)?
    var copyDescription: ((UnsafeRawPointer) -> Unmanaged<CFString>)?
    init()
    init(version version: CFIndex, info info: UnsafeMutableRawPointer?, retain retain: (@escaping (UnsafeRawPointer) -> UnsafeRawPointer)?, release release: (@escaping (UnsafeRawPointer) -> Swift.Void)?, copyDescription copyDescription: (@escaping (UnsafeRawPointer) -> Unmanaged<CFString>)?)
}

Declaration
From
var copyDescription: ((UnsafePointer<Void>) -> Unmanaged<CFString>)?
To
var copyDescription: ((UnsafeRawPointer) -> Unmanaged<CFString>)?

Declaration
From
var info: UnsafeMutablePointer<Void>
To
var info: UnsafeMutableRawPointer?

Declaration
From
var release: ((UnsafePointer<Void>) -> Void)?
To
var release: ((UnsafeRawPointer) -> Swift.Void)?

Declaration
From
var retain: ((UnsafePointer<Void>) -> UnsafePointer<Void>)?
To
var retain: ((UnsafeRawPointer) -> UnsafeRawPointer)?

DeclarationProtocols
From
struct SCNetworkReachabilityFlags : OptionSetType {
    init(rawValue rawValue: UInt32)
    static var TransientConnection: SCNetworkReachabilityFlags { get }
    static var Reachable: SCNetworkReachabilityFlags { get }
    static var ConnectionRequired: SCNetworkReachabilityFlags { get }
    static var ConnectionOnTraffic: SCNetworkReachabilityFlags { get }
    static var InterventionRequired: SCNetworkReachabilityFlags { get }
    static var ConnectionOnDemand: SCNetworkReachabilityFlags { get }
    static var IsLocalAddress: SCNetworkReachabilityFlags { get }
    static var IsDirect: SCNetworkReachabilityFlags { get }
    static var ConnectionAutomatic: SCNetworkReachabilityFlags { get }
}
OptionSetType
To
struct SCNetworkReachabilityFlags : OptionSet {
    init(rawValue rawValue: UInt32)
    static var transientConnection: SCNetworkReachabilityFlags { get }
    static var reachable: SCNetworkReachabilityFlags { get }
    static var connectionRequired: SCNetworkReachabilityFlags { get }
    static var connectionOnTraffic: SCNetworkReachabilityFlags { get }
    static var interventionRequired: SCNetworkReachabilityFlags { get }
    static var connectionOnDemand: SCNetworkReachabilityFlags { get }
    static var isLocalAddress: SCNetworkReachabilityFlags { get }
    static var isDirect: SCNetworkReachabilityFlags { get }
    static var connectionAutomatic: SCNetworkReachabilityFlags { get }
    func intersect(_ other: SCNetworkReachabilityFlags) -> SCNetworkReachabilityFlags
    func exclusiveOr(_ other: SCNetworkReachabilityFlags) -> SCNetworkReachabilityFlags
    mutating func unionInPlace(_ other: SCNetworkReachabilityFlags)
    mutating func intersectInPlace(_ other: SCNetworkReachabilityFlags)
    mutating func exclusiveOrInPlace(_ other: SCNetworkReachabilityFlags)
    func isSubsetOf(_ other: SCNetworkReachabilityFlags) -> Bool
    func isDisjointWith(_ other: SCNetworkReachabilityFlags) -> Bool
    func isSupersetOf(_ other: SCNetworkReachabilityFlags) -> Bool
    mutating func subtractInPlace(_ other: SCNetworkReachabilityFlags)
    func isStrictSupersetOf(_ other: SCNetworkReachabilityFlags) -> Bool
    func isStrictSubsetOf(_ other: SCNetworkReachabilityFlags) -> Bool
}
extension SCNetworkReachabilityFlags {
    func union(_ other: SCNetworkReachabilityFlags) -> SCNetworkReachabilityFlags
    func intersection(_ other: SCNetworkReachabilityFlags) -> SCNetworkReachabilityFlags
    func symmetricDifference(_ other: SCNetworkReachabilityFlags) -> SCNetworkReachabilityFlags
}
extension SCNetworkReachabilityFlags {
    func contains(_ member: SCNetworkReachabilityFlags) -> Bool
    mutating func insert(_ newMember: SCNetworkReachabilityFlags) -> (inserted: Bool, memberAfterInsert: SCNetworkReachabilityFlags)
    mutating func remove(_ member: SCNetworkReachabilityFlags) -> SCNetworkReachabilityFlags?
    mutating func update(with newMember: SCNetworkReachabilityFlags) -> SCNetworkReachabilityFlags?
}
extension SCNetworkReachabilityFlags {
    convenience init()
    mutating func formUnion(_ other: SCNetworkReachabilityFlags)
    mutating func formIntersection(_ other: SCNetworkReachabilityFlags)
    mutating func formSymmetricDifference(_ other: SCNetworkReachabilityFlags)
}
extension SCNetworkReachabilityFlags {
    convenience init<S : Sequence where S.Iterator.Element == SCNetworkReachabilityFlags>(_ sequence: S)
    convenience init(arrayLiteral arrayLiteral: SCNetworkReachabilityFlags...)
    mutating func subtract(_ other: SCNetworkReachabilityFlags)
    func isSubset(of other: SCNetworkReachabilityFlags) -> Bool
    func isSuperset(of other: SCNetworkReachabilityFlags) -> Bool
    func isDisjoint(with other: SCNetworkReachabilityFlags) -> Bool
    func subtracting(_ other: SCNetworkReachabilityFlags) -> SCNetworkReachabilityFlags
    var isEmpty: Bool { get }
    func isStrictSuperset(of other: SCNetworkReachabilityFlags) -> Bool
    func isStrictSubset(of other: SCNetworkReachabilityFlags) -> Bool
}
OptionSet

Declaration
From
static var ConnectionAutomatic: SCNetworkReachabilityFlags { get }
To
static var connectionAutomatic: SCNetworkReachabilityFlags { get }

Declaration
From
static var ConnectionOnDemand: SCNetworkReachabilityFlags { get }
To
static var connectionOnDemand: SCNetworkReachabilityFlags { get }

Declaration
From
static var ConnectionOnTraffic: SCNetworkReachabilityFlags { get }
To
static var connectionOnTraffic: SCNetworkReachabilityFlags { get }

Declaration
From
static var ConnectionRequired: SCNetworkReachabilityFlags { get }
To
static var connectionRequired: SCNetworkReachabilityFlags { get }

Declaration
From
static var InterventionRequired: SCNetworkReachabilityFlags { get }
To
static var interventionRequired: SCNetworkReachabilityFlags { get }

Declaration
From
static var IsDirect: SCNetworkReachabilityFlags { get }
To
static var isDirect: SCNetworkReachabilityFlags { get }

Declaration
From
static var IsLocalAddress: SCNetworkReachabilityFlags { get }
To
static var isLocalAddress: SCNetworkReachabilityFlags { get }

Declaration
From
static var Reachable: SCNetworkReachabilityFlags { get }
To
static var reachable: SCNetworkReachabilityFlags { get }

Declaration
From
static var TransientConnection: SCNetworkReachabilityFlags { get }
To
static var transientConnection: SCNetworkReachabilityFlags { get }

Declaration
From
struct SCPreferencesContext {
    var version: CFIndex
    var info: UnsafeMutablePointer<Void>
    var retain: ((UnsafePointer<Void>) -> UnsafePointer<Void>)?
    var release: ((UnsafePointer<Void>) -> Void)?
    var copyDescription: ((UnsafePointer<Void>) -> Unmanaged<CFString>)?
    init()
    init(version version: CFIndex, info info: UnsafeMutablePointer<Void>, retain retain: ((UnsafePointer<Void>) -> UnsafePointer<Void>)?, release release: ((UnsafePointer<Void>) -> Void)?, copyDescription copyDescription: ((UnsafePointer<Void>) -> Unmanaged<CFString>)?)
}
To
struct SCPreferencesContext {
    var version: CFIndex
    var info: UnsafeMutableRawPointer?
    var retain: ((UnsafeRawPointer) -> UnsafeRawPointer)?
    var release: ((UnsafeRawPointer) -> Swift.Void)?
    var copyDescription: ((UnsafeRawPointer) -> Unmanaged<CFString>)?
    init()
    init(version version: CFIndex, info info: UnsafeMutableRawPointer?, retain retain: (@escaping (UnsafeRawPointer) -> UnsafeRawPointer)?, release release: (@escaping (UnsafeRawPointer) -> Swift.Void)?, copyDescription copyDescription: (@escaping (UnsafeRawPointer) -> Unmanaged<CFString>)?)
}

Declaration
From
var copyDescription: ((UnsafePointer<Void>) -> Unmanaged<CFString>)?
To
var copyDescription: ((UnsafeRawPointer) -> Unmanaged<CFString>)?

Declaration
From
var info: UnsafeMutablePointer<Void>
To
var info: UnsafeMutableRawPointer?

Declaration
From
var release: ((UnsafePointer<Void>) -> Void)?
To
var release: ((UnsafeRawPointer) -> Swift.Void)?

Declaration
From
var retain: ((UnsafePointer<Void>) -> UnsafePointer<Void>)?
To
var retain: ((UnsafeRawPointer) -> UnsafeRawPointer)?

DeclarationProtocols
From
struct SCPreferencesNotification : OptionSetType {
    init(rawValue rawValue: UInt32)
    static var Commit: SCPreferencesNotification { get }
    static var Apply: SCPreferencesNotification { get }
}
OptionSetType
To
struct SCPreferencesNotification : OptionSet {
    init(rawValue rawValue: UInt32)
    static var commit: SCPreferencesNotification { get }
    static var apply: SCPreferencesNotification { get }
    func intersect(_ other: SCPreferencesNotification) -> SCPreferencesNotification
    func exclusiveOr(_ other: SCPreferencesNotification) -> SCPreferencesNotification
    mutating func unionInPlace(_ other: SCPreferencesNotification)
    mutating func intersectInPlace(_ other: SCPreferencesNotification)
    mutating func exclusiveOrInPlace(_ other: SCPreferencesNotification)
    func isSubsetOf(_ other: SCPreferencesNotification) -> Bool
    func isDisjointWith(_ other: SCPreferencesNotification) -> Bool
    func isSupersetOf(_ other: SCPreferencesNotification) -> Bool
    mutating func subtractInPlace(_ other: SCPreferencesNotification)
    func isStrictSupersetOf(_ other: SCPreferencesNotification) -> Bool
    func isStrictSubsetOf(_ other: SCPreferencesNotification) -> Bool
}
extension SCPreferencesNotification {
    func union(_ other: SCPreferencesNotification) -> SCPreferencesNotification
    func intersection(_ other: SCPreferencesNotification) -> SCPreferencesNotification
    func symmetricDifference(_ other: SCPreferencesNotification) -> SCPreferencesNotification
}
extension SCPreferencesNotification {
    func contains(_ member: SCPreferencesNotification) -> Bool
    mutating func insert(_ newMember: SCPreferencesNotification) -> (inserted: Bool, memberAfterInsert: SCPreferencesNotification)
    mutating func remove(_ member: SCPreferencesNotification) -> SCPreferencesNotification?
    mutating func update(with newMember: SCPreferencesNotification) -> SCPreferencesNotification?
}
extension SCPreferencesNotification {
    convenience init()
    mutating func formUnion(_ other: SCPreferencesNotification)
    mutating func formIntersection(_ other: SCPreferencesNotification)
    mutating func formSymmetricDifference(_ other: SCPreferencesNotification)
}
extension SCPreferencesNotification {
    convenience init<S : Sequence where S.Iterator.Element == SCPreferencesNotification>(_ sequence: S)
    convenience init(arrayLiteral arrayLiteral: SCPreferencesNotification...)
    mutating func subtract(_ other: SCPreferencesNotification)
    func isSubset(of other: SCPreferencesNotification) -> Bool
    func isSuperset(of other: SCPreferencesNotification) -> Bool
    func isDisjoint(with other: SCPreferencesNotification) -> Bool
    func subtracting(_ other: SCPreferencesNotification) -> SCPreferencesNotification
    var isEmpty: Bool { get }
    func isStrictSuperset(of other: SCPreferencesNotification) -> Bool
    func isStrictSubset(of other: SCPreferencesNotification) -> Bool
}
OptionSet

Declaration
From
static var Apply: SCPreferencesNotification { get }
To
static var apply: SCPreferencesNotification { get }

Declaration
From
static var Commit: SCPreferencesNotification { get }
To
static var commit: SCPreferencesNotification { get }

Modified kSCEntNetPPTP
Deprecation
From--
ToOS X 10.12

Deprecation
From--
ToOS X 10.12

Deprecation
From--
ToOS X 10.12

Declaration
From
typealias SCBondInterface = SCNetworkInterfaceRef
To
typealias SCBondInterface = SCNetworkInterface

Declaration
From
typealias SCDynamicStoreCallBack = (SCDynamicStore, CFArray, UnsafeMutablePointer<Void>) -> Void
To
typealias SCDynamicStoreCallBack = (SCDynamicStore, CFArray, UnsafeMutableRawPointer?) -> Swift.Void

Declaration
From
func SCDynamicStoreCopyComputerName(_ store: SCDynamicStore?, _ nameEncoding: UnsafeMutablePointer<CFStringEncoding>) -> CFString?
To
func SCDynamicStoreCopyComputerName(_ store: SCDynamicStore?, _ nameEncoding: UnsafeMutablePointer<CFStringEncoding>?) -> CFString?

Declaration
From
func SCDynamicStoreCopyConsoleUser(_ store: SCDynamicStore?, _ uid: UnsafeMutablePointer<uid_t>, _ gid: UnsafeMutablePointer<gid_t>) -> CFString?
To
func SCDynamicStoreCopyConsoleUser(_ store: SCDynamicStore?, _ uid: UnsafeMutablePointer<uid_t>?, _ gid: UnsafeMutablePointer<gid_t>?) -> CFString?

Declaration
From
func SCDynamicStoreCreate(_ allocator: CFAllocator?, _ name: CFString, _ callout: SCDynamicStoreCallBack?, _ context: UnsafeMutablePointer<SCDynamicStoreContext>) -> SCDynamicStore?
To
func SCDynamicStoreCreate(_ allocator: CFAllocator?, _ name: CFString, _ callout: SystemConfiguration.SCDynamicStoreCallBack?, _ context: UnsafeMutablePointer<SCDynamicStoreContext>?) -> SCDynamicStore?

Declaration
From
func SCDynamicStoreCreateWithOptions(_ allocator: CFAllocator?, _ name: CFString, _ storeOptions: CFDictionary?, _ callout: SCDynamicStoreCallBack?, _ context: UnsafeMutablePointer<SCDynamicStoreContext>) -> SCDynamicStore?
To
func SCDynamicStoreCreateWithOptions(_ allocator: CFAllocator?, _ name: CFString, _ storeOptions: CFDictionary?, _ callout: SystemConfiguration.SCDynamicStoreCallBack?, _ context: UnsafeMutablePointer<SCDynamicStoreContext>?) -> SCDynamicStore?

Declaration
From
func SCDynamicStoreSetDispatchQueue(_ store: SCDynamicStore, _ queue: dispatch_queue_t?) -> Bool
To
func SCDynamicStoreSetDispatchQueue(_ store: SCDynamicStore, _ queue: DispatchQueue?) -> Bool

Declaration
From
typealias SCNetworkConnectionCallBack = (SCNetworkConnection, SCNetworkConnectionStatus, UnsafeMutablePointer<Void>) -> Void
To
typealias SCNetworkConnectionCallBack = (SCNetworkConnection, SCNetworkConnectionStatus, UnsafeMutableRawPointer?) -> Swift.Void

Declaration
From
func SCNetworkConnectionCopyUserPreferences(_ selectionOptions: CFDictionary?, _ serviceID: UnsafeMutablePointer<Unmanaged<CFString>?>, _ userOptions: UnsafeMutablePointer<Unmanaged<CFDictionary>?>) -> Bool
To
func SCNetworkConnectionCopyUserPreferences(_ selectionOptions: CFDictionary?, _ serviceID: UnsafeMutablePointer<Unmanaged<CFString>>?, _ userOptions: UnsafeMutablePointer<Unmanaged<CFDictionary>>?) -> Bool

Declaration
From
func SCNetworkConnectionCreateWithServiceID(_ allocator: CFAllocator?, _ serviceID: CFString, _ callout: SCNetworkConnectionCallBack?, _ context: UnsafeMutablePointer<SCNetworkConnectionContext>) -> SCNetworkConnection?
To
func SCNetworkConnectionCreateWithServiceID(_ allocator: CFAllocator?, _ serviceID: CFString, _ callout: SystemConfiguration.SCNetworkConnectionCallBack?, _ context: UnsafeMutablePointer<SCNetworkConnectionContext>?) -> SCNetworkConnection?

Declaration
From
func SCNetworkConnectionSetDispatchQueue(_ connection: SCNetworkConnection, _ queue: dispatch_queue_t?) -> Bool
To
func SCNetworkConnectionSetDispatchQueue(_ connection: SCNetworkConnection, _ queue: DispatchQueue?) -> Bool

Declaration
From
func SCNetworkInterfaceCopyMediaOptions(_ interface: SCNetworkInterface, _ current: UnsafeMutablePointer<Unmanaged<CFDictionary>?>, _ active: UnsafeMutablePointer<Unmanaged<CFDictionary>?>, _ available: UnsafeMutablePointer<Unmanaged<CFArray>?>, _ filter: Bool) -> Bool
To
func SCNetworkInterfaceCopyMediaOptions(_ interface: SCNetworkInterface, _ current: UnsafeMutablePointer<Unmanaged<CFDictionary>?>?, _ active: UnsafeMutablePointer<Unmanaged<CFDictionary>?>?, _ available: UnsafeMutablePointer<Unmanaged<CFArray>?>?, _ filter: Bool) -> Bool

Declaration
From
func SCNetworkInterfaceCopyMTU(_ interface: SCNetworkInterface, _ mtu_cur: UnsafeMutablePointer<Int32>, _ mtu_min: UnsafeMutablePointer<Int32>, _ mtu_max: UnsafeMutablePointer<Int32>) -> Bool
To
func SCNetworkInterfaceCopyMTU(_ interface: SCNetworkInterface, _ mtu_cur: UnsafeMutablePointer<Int32>?, _ mtu_min: UnsafeMutablePointer<Int32>?, _ mtu_max: UnsafeMutablePointer<Int32>?) -> Bool

Declaration
From
func SCNetworkInterfaceSetConfiguration(_ interface: SCNetworkInterface, _ config: CFDictionary) -> Bool
To
func SCNetworkInterfaceSetConfiguration(_ interface: SCNetworkInterface, _ config: CFDictionary?) -> Bool

Declaration
From
func SCNetworkInterfaceSetExtendedConfiguration(_ interface: SCNetworkInterface, _ extendedType: CFString, _ config: CFDictionary) -> Bool
To
func SCNetworkInterfaceSetExtendedConfiguration(_ interface: SCNetworkInterface, _ extendedType: CFString, _ config: CFDictionary?) -> Bool

Declaration
From
func SCNetworkProtocolSetConfiguration(_ protocol: SCNetworkProtocol, _ config: CFDictionary) -> Bool
To
func SCNetworkProtocolSetConfiguration(_ protocol: SCNetworkProtocol, _ config: CFDictionary?) -> Bool

Declaration
From
typealias SCNetworkReachabilityCallBack = (SCNetworkReachability, SCNetworkReachabilityFlags, UnsafeMutablePointer<Void>) -> Void
To
typealias SCNetworkReachabilityCallBack = (SCNetworkReachability, SCNetworkReachabilityFlags, UnsafeMutableRawPointer?) -> Swift.Void

Declaration
From
func SCNetworkReachabilityCreateWithAddressPair(_ allocator: CFAllocator?, _ localAddress: UnsafePointer<sockaddr>, _ remoteAddress: UnsafePointer<sockaddr>) -> SCNetworkReachability?
To
func SCNetworkReachabilityCreateWithAddressPair(_ allocator: CFAllocator?, _ localAddress: UnsafePointer<sockaddr>?, _ remoteAddress: UnsafePointer<sockaddr>?) -> SCNetworkReachability?

Declaration
From
func SCNetworkReachabilitySetCallback(_ target: SCNetworkReachability, _ callout: SCNetworkReachabilityCallBack?, _ context: UnsafeMutablePointer<SCNetworkReachabilityContext>) -> Bool
To
func SCNetworkReachabilitySetCallback(_ target: SCNetworkReachability, _ callout: SystemConfiguration.SCNetworkReachabilityCallBack?, _ context: UnsafeMutablePointer<SCNetworkReachabilityContext>?) -> Bool

Declaration
From
func SCNetworkReachabilitySetDispatchQueue(_ target: SCNetworkReachability, _ queue: dispatch_queue_t?) -> Bool
To
func SCNetworkReachabilitySetDispatchQueue(_ target: SCNetworkReachability, _ queue: DispatchQueue?) -> Bool

Declaration
From
func SCNetworkServiceSetName(_ service: SCNetworkService, _ name: CFString) -> Bool
To
func SCNetworkServiceSetName(_ service: SCNetworkService, _ name: CFString?) -> Bool

Declaration
From
func SCNetworkSetSetName(_ set: SCNetworkSet, _ name: CFString) -> Bool
To
func SCNetworkSetSetName(_ set: SCNetworkSet, _ name: CFString?) -> Bool

Declaration
From
typealias SCPreferencesCallBack = (SCPreferences, SCPreferencesNotification, UnsafeMutablePointer<Void>) -> Void
To
typealias SCPreferencesCallBack = (SCPreferences, SCPreferencesNotification, UnsafeMutableRawPointer?) -> Swift.Void

Declaration
From
func SCPreferencesCreateWithAuthorization(_ allocator: CFAllocator?, _ name: CFString, _ prefsID: CFString?, _ authorization: AuthorizationRef) -> SCPreferences?
To
func SCPreferencesCreateWithAuthorization(_ allocator: CFAllocator?, _ name: CFString, _ prefsID: CFString?, _ authorization: AuthorizationRef?) -> SCPreferences?

Declaration
From
func SCPreferencesSetCallback(_ prefs: SCPreferences, _ callout: SCPreferencesCallBack?, _ context: UnsafeMutablePointer<SCPreferencesContext>) -> Bool
To
func SCPreferencesSetCallback(_ prefs: SCPreferences, _ callout: SystemConfiguration.SCPreferencesCallBack?, _ context: UnsafeMutablePointer<SCPreferencesContext>?) -> Bool

Declaration
From
func SCPreferencesSetComputerName(_ prefs: SCPreferences, _ name: CFString, _ nameEncoding: CFStringEncoding) -> Bool
To
func SCPreferencesSetComputerName(_ prefs: SCPreferences, _ name: CFString?, _ nameEncoding: CFStringEncoding) -> Bool

Declaration
From
func SCPreferencesSetDispatchQueue(_ prefs: SCPreferences, _ queue: dispatch_queue_t?) -> Bool
To
func SCPreferencesSetDispatchQueue(_ prefs: SCPreferences, _ queue: DispatchQueue?) -> Bool

Declaration
From
func SCPreferencesSetLocalHostName(_ prefs: SCPreferences, _ name: CFString) -> Bool
To
func SCPreferencesSetLocalHostName(_ prefs: SCPreferences, _ name: CFString?) -> Bool

Declaration
From
typealias SCVLANInterfaceRef = SCVLANInterface
To
typealias SCVLANInterface = SCNetworkInterface