Function DHCPClientPreferencesSetApplicationOptions

Source
pub unsafe extern "C-unwind" fn DHCPClientPreferencesSetApplicationOptions(
    application_id: &CFString,
    options: *const u8,
    count: CFIndex,
) -> bool
Available on crate feature DHCPClientPreferences only.
Expand description

Updates the DHCP client preferences to include the given list of options for the given application ID.

Parameter applicationID: The application’s preference ID, for example: “com.apple.SystemPreferences”.

Parameter options: An array of 8-bit values containing the DHCP option codes (see RFC 2132) for this application ID. A NULL value will clear the list of options for this application ID.

Parameter count: The number of elements in the options parameter.

Returns: Returns TRUE if the operation succeeded, FALSE otherwise.