mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
add macro to access mif
This commit is contained in:
parent
97296934ab
commit
42e072a868
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
#if defined(MG_ENABLE_TCPIP) && MG_ENABLE_TCPIP
|
#if defined(MG_ENABLE_TCPIP) && MG_ENABLE_TCPIP
|
||||||
struct mg_tcpip_if; // Mongoose TCP/IP network interface
|
struct mg_tcpip_if; // Mongoose TCP/IP network interface
|
||||||
|
#define MG_TCPIP_IFACE(mgr_) ((struct mg_tcpip_if *) (mgr_)->priv)
|
||||||
|
|
||||||
struct mg_tcpip_driver {
|
struct mg_tcpip_driver {
|
||||||
bool (*init)(struct mg_tcpip_if *); // Init driver
|
bool (*init)(struct mg_tcpip_if *); // Init driver
|
||||||
|
Loading…
Reference in New Issue
Block a user