SCNetworkProtocolSetEnabled

Function SCNetworkProtocolSetEnabled 

Source
pub extern "C-unwind" fn SCNetworkProtocolSetEnabled(
    protocol: &SCNetworkProtocol,
    enabled: bool,
) -> bool
👎Deprecated: renamed to SCNetworkProtocol::set_enabled
Available on crate feature SCNetworkConfiguration only.