1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00
esp8266/cores/esp8266/LwipIntf.h
Labor-Et-Ars a3281fe2f3
LEA mDNS v2 (#7540)
* LEAmDNSv2
2020-09-25 11:12:39 +02:00

27 lines
386 B
C++

#ifndef _LWIPINTF_H
#define _LWIPINTF_H
#include <lwip/netif.h>
#include <functional>
class LwipIntf
{
public:
using CBType = std::function <void(netif*)>;
static bool stateUpCB (LwipIntf::CBType&& cb);
private:
LwipIntf () { } // private, cannot be directly allocated
protected:
static bool stateChangeSysCB (LwipIntf::CBType&& cb);
};
#endif // _LWIPINTF_H