Embedded TCP/IP stack  4.7.0

◆ fnet_dhcp_cln_set_callback_updated()

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.

Parameters
descDHCP client descriptor.
callback_updatedPointer to the callback function defined by fnet_dhcp_cln_callback_t.
cookieOptional 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.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net