Function esp_idf_hal::sys::esp_netif_new

source ·
pub unsafe extern "C" fn esp_netif_new(
    esp_netif_config: *const esp_netif_config
) -> *mut esp_netif_obj
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