Type Alias esp_idf_svc::sys::netif_init_fn

source ·
pub type netif_init_fn = Option<unsafe extern "C" fn(_: *mut netif) -> i8>;
Expand description

Function prototype for netif init functions. Set up flags and output/linkoutput callback functions in this function.

@param netif The netif to initialize

Aliased Type§

enum netif_init_fn {
    None,
    Some(unsafe extern "C" fn(_: *mut netif) -> i8),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut netif) -> i8)

Some value of type T.