Function SCNetworkSetCopyAll

Source
pub unsafe extern "C-unwind" fn SCNetworkSetCopyAll(
    prefs: &SCPreferences,
) -> Option<CFRetained<CFArray>>
Available on crate features SCNetworkConfiguration and SCPreferences only.
Expand description

Returns all available sets for the specified preferences.

Parameter prefs: The “preferences” session.

Returns: The list of SCNetworkSet sets associated with the preferences. You must release the returned value.