blob: 67676ef4d6c7665bb85bbf9837d5907962ccfe12 [file] [log] [blame]
Damien George1db40ed2023-06-21 15:09:26 +10001/*
2 * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7// The pppapi_set_auth function was made static in the ESP-IDF, so it's re-added here.
8// See ESP-IDF commit c67f4c2b4c2bb4b7740f988fc0f8a3e911e56afe
9
10#pragma once
11
12#include "esp_netif.h"
13
14#ifdef CONFIG_ESP_NETIF_TCPIP_LWIP
15
16#include "lwip/netif.h"
17
18typedef struct ppp_pcb_s ppp_pcb;
19
20void pppapi_set_auth(ppp_pcb *pcb, u8_t authtype, const char *user, const char *passwd);
21
22#endif