Jump to main content

##

# TCPIP_DHCPS_EVENT_HANDLER Type

## C

    typedef void    (*TCPIP_DHCPS_EVENT_HANDLER)(TCPIP_NET_HANDLE hNet, TCPIP_DHCPS_EVENT_TYPE evType, uint32_t evInfo1, uint32_t evInfo2, const void* param);

## Description

DHCP event handler prototype.

Prototype of a DHCP server event handler. Clients can register a handler with the DHCP service.

Once an DHCP event occurs the DHCP service will called the registered handler.

## Remarks

The handler has to be short and fast. It is meant for setting an event flag, not for lengthy processing!

## Parameters

Parameters | Description
--- | ---
hNet | Interface handle on which the event has occurred
evType | the type of event that has occurred
evInfo1 | additional info associated with the event
| See the TCPIP_DHCPS_EVENT_TYPE definition
evInfo2 | additional info associated with the event
| See the TCPIP_DHCPS_EVENT_TYPE definition
hParam | user supplied handle parameter
| Not used by the DHCP module.