Function SCNetworkSetCopyCurrent

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

Returns the “current” set.

Parameter prefs: The “preferences” session.

Returns: The current set; NULL if no current set has been defined.