Function SCNetworkInterfaceCopyMediaSubTypeOptions

Source
pub unsafe extern "C-unwind" fn SCNetworkInterfaceCopyMediaSubTypeOptions(
    available: &CFArray,
    sub_type: &CFString,
) -> Option<CFRetained<CFArray>>
Available on crate feature SCNetworkConfiguration only.
Expand description

For the provided interface configuration options and specific subtype, return a list of available media options.

Parameter available: The available options as returned by the SCNetworkInterfaceCopyMediaOptions function.

Parameter subType: The subtype

Returns: An array of available media options. Each of the available options is returned as an array of CFString’s (e.g. <half -duplex>, <full -duplex,flow-control>). NULL if no options are available.