pub unsafe extern "C-unwind" fn SCNetworkSetCopy(
prefs: &SCPreferences,
set_id: &CFString,
) -> Option<CFRetained<SCNetworkSet>>Available on crate features
SCNetworkConfiguration and SCPreferences only.Expand description
Returns the set with the specified identifier.
Parameter prefs: The “preferences” session.
Parameter setID: The unique identifier for the set.
Returns: A reference to the SCNetworkSet from the associated preferences; NULL if the setID does not exist in the preferences or if an error was encountered. You must release the returned value.