Function SCNetworkServiceCopyAll

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

Returns all available network services for the specified preferences.

Parameter prefs: The “preferences” session.

Returns: The list of SCNetworkService services associated with the preferences. You must release the returned value.