Function SCNetworkServiceRemoveProtocolType

Source
pub unsafe extern "C-unwind" fn SCNetworkServiceRemoveProtocolType(
    service: &SCNetworkService,
    protocol_type: &CFString,
) -> bool
Available on crate feature SCNetworkConfiguration only.
Expand description

Removes the network protocol of the specified type from the service.

Parameter service: The network service.

Parameter protocolType: The type of SCNetworkProtocol to be removed from the service.

Returns: TRUE if the protocol was removed to the service; FALSE if the protocol was not configured or an error was encountered.