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