Function esp_idf_sys::esp_netif_new

source ·
pub unsafe extern "C" fn esp_netif_new(
    esp_netif_config: *const esp_netif_config_t
) -> *mut esp_netif_t
Expand description

@brief Creates an instance of new esp-netif object based on provided config

@param[in] esp_netif_config pointer esp-netif configuration

@return - pointer to esp-netif object on success - NULL otherwise