Function SCNetworkProtocolSetConfiguration

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

Stores the configuration settings for the protocol.

Parameter protocol: The network protocol.

Parameter config: The configuration settings to associate with this protocol.

Returns: TRUE if the configuration was stored; FALSE if an error was encountered.