dhcp_client.h File Reference


Detailed Description

DHCP client header (license: GPLv2).

Author:
Roland Riegel


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.


Generated on Thu May 22 18:12:37 2008 for mega-eth by  doxygen 1.5.5