esp-idf/components/lwip/port/include/netif/dhcp_state.h
David Cermak fa97004faf lwip: Support for linux target
Implement linux port layer and reuse the original FreeRTOS layer
that's compiled and used on linux target as well, by means of FreeRTOS
simulator.
2023-01-31 08:43:45 +01:00

28 lines
478 B
C

/*
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef LWIP_ESP_DHCP_STATE_H
#define LWIP_ESP_DHCP_STATE_H
#include <stdbool.h>
#include "lwip/netif.h"
#ifdef __cplusplus
extern "C" {
#endif
bool dhcp_ip_addr_restore(struct netif *netif);
void dhcp_ip_addr_store(struct netif *netif);
void dhcp_ip_addr_erase(struct netif *netif);
#ifdef __cplusplus
}
#endif
#endif /* LWIP_ESP_DHCP_STATE_H */