Embedded TCP/IP stack
4.7.0
|
void fnet_dhcp_cln_set_callback_updated | ( | fnet_dhcp_cln_desc_t | desc, |
fnet_dhcp_cln_callback_t | callback_updated, | ||
void * | cookie | ||
) |
Register the "IP parameters updated" DHCP event handler callback.
desc | DHCP client descriptor. |
callback_updated | Pointer to the callback function defined by fnet_dhcp_cln_callback_t. |
cookie | Optional application-specific parameter. It's passed to the callback_updated callback function as input parameter. |
This function registers the callback_updated
callback function for the "IP parameters updated" event. This event occurs when the DHCP client has updated the IP parameters.
To stop the event handling, set the callback_updated
parameter to zero value.