Function SCNetworkServiceGetInterface

Source
pub unsafe extern "C-unwind" fn SCNetworkServiceGetInterface(
    service: &SCNetworkService,
) -> Option<CFRetained<SCNetworkInterface>>
Available on crate feature SCNetworkConfiguration only.
Expand description

Returns the network interface associated with the service.

Parameter service: The network service.

Returns: A reference to the SCNetworkInterface associated with the service; NULL if an error was encountered.