Function SCNetworkProtocolGetEnabled

Source
pub unsafe extern "C-unwind" fn SCNetworkProtocolGetEnabled(
    protocol: &SCNetworkProtocol,
) -> bool
Available on crate feature SCNetworkConfiguration only.
Expand description

Returns whether this protocol has been enabled.

Parameter protocol: The network protocol.

Returns: TRUE if the protocol is enabled.