Type Alias esp_idf_sys::netif_ext_callback_fn

source ·
pub type netif_ext_callback_fn = Option<unsafe extern "C" fn(netif: *mut netif, reason: netif_nsc_reason_t, args: *const netif_ext_callback_args_t)>;
Expand description

@ingroup netif Function used for extended netif status callbacks Note: When parsing reason argument, keep in mind that more reasons may be added in the future! @param netif netif that is affected by change @param reason change reason @param args depends on reason, see reason description

Aliased Type§

enum netif_ext_callback_fn {
    None,
    Some(unsafe extern "C" fn(_: *mut netif, _: u16, _: *const netif_ext_callback_args_t)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut netif, _: u16, _: *const netif_ext_callback_args_t))

Some value of type T.