Typedefs | |
typedef void(* | dhcp_client_callback )(enum dhcp_client_event event) |
The type of callback function used for issuing events. | |
Enumerations | |
enum | dhcp_client_event { DHCP_CLIENT_EVT_LEASE_ACQUIRED, DHCP_CLIENT_EVT_LEASE_DENIED, DHCP_CLIENT_EVT_LEASE_EXPIRING, DHCP_CLIENT_EVT_LEASE_EXPIRED, DHCP_CLIENT_EVT_TIMEOUT, DHCP_CLIENT_EVT_ERROR } |
The events the DHCP client may fire. More... | |
Functions | |
bool | dhcp_client_start (dhcp_client_callback callback) |
Starts the DHCP client. | |
void | dhcp_client_abort () |
Aborts all ongoing DHCP actions and terminates the client. |