ADC Home > Reference Library > Reference > Networking > System Configuration Framework Reference
|
DHCPClientPreferences |
Includes: | <sys/cdefs.h> <CoreFoundation/CFString.h> |
The DHCPClientPreferences API allows applications to get and update DHCP preferences. DHCP preferences are in the form of DHCP option codes, which are defined in RFC 2132.
DHCPClientPreferencesCopyApplicationOptions |
UInt8 * DHCPClientPreferencesCopyApplicationOptions( CFStringRef applicationID, CFIndex *count);
applicationID
count
Returns the list of options for the given application ID, or
NULL if no options are defined or an error occurred.
When you are finished, use free() to release a non-NULL return value.
Copies the requested DHCP options for the given application ID.
DHCPClientPreferencesSetApplicationOptions |
Boolean DHCPClientPreferencesSetApplicationOptions( CFStringRef applicationID, UInt8 *options, CFIndex count);
applicationID
options
count
Returns TRUE if the operation succeeded, FALSE otherwise.
Updates the DHCP client preferences to include the given list of options for the given application ID.
|