pub unsafe extern "C" fn esp_netif_get_event_id(
    esp_netif: *mut esp_netif_t,
    event_type: esp_netif_ip_event_type_t
) -> i32
Expand description

@brief Returns configured event for this esp-netif instance and supplied event type

@param[in] esp_netif Handle to esp-netif instance

@param event_type (either get or lost IP)

@return specific event id which is configured to be raised if the interface lost or acquired IP address -1 if supplied event_type is not known