pub unsafe extern "C" fn esp_netif_ppp_set_auth(
netif: *mut esp_netif_t,
authtype: esp_netif_auth_type_t,
user: *const c_char,
passwd: *const c_char,
) -> esp_err_t
Expand description
@brief Sets the auth parameters for the supplied esp-netif.
@param[in] esp_netif Handle to esp-netif instance @param[in] authtype Authorisation type @param[in] user User name @param[in] passwd Password
@return ESP_OK on success, ESP_ERR_ESP_NETIF_INVALID_PARAMS if the supplied netif is not of PPP type, or netif is null