2022-04-29 04:43:14 +08:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2018-08-29 10:22:54 +02:00
|
|
|
|
2022-03-23 19:20:06 +01:00
|
|
|
#ifndef LWIP_ESP_DHCP_STATE_H
|
|
|
|
#define LWIP_ESP_DHCP_STATE_H
|
2018-08-29 10:22:54 +02:00
|
|
|
|
2022-03-23 19:20:06 +01:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include "lwip/netif.h"
|
2018-08-29 10:22:54 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2022-03-23 19:20:06 +01:00
|
|
|
bool dhcp_ip_addr_restore(struct netif *netif);
|
2018-08-29 10:22:54 +02:00
|
|
|
|
2022-03-23 19:20:06 +01:00
|
|
|
void dhcp_ip_addr_store(struct netif *netif);
|
2018-08-29 10:22:54 +02:00
|
|
|
|
2022-03-23 19:20:06 +01:00
|
|
|
void dhcp_ip_addr_erase(struct netif *netif);
|
2018-08-29 10:22:54 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2022-03-23 19:20:06 +01:00
|
|
|
#endif /* LWIP_ESP_DHCP_STATE_H */
|