Function SCNetworkSetSetServiceOrder

Source
pub unsafe extern "C-unwind" fn SCNetworkSetSetServiceOrder(
    set: &SCNetworkSet,
    new_order: &CFArray,
) -> bool
Available on crate feature SCNetworkConfiguration only.
Expand description

Stores the [user specified] ordering of network services for the set.

Parameter set: The network set.

Parameter newOrder: The ordered list of CFStringRef service identifiers for the set.

Returns: TRUE if the new service order was saved; FALSE if an error was encountered.