mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-14 08:39:23 +08:00
421e099f2b
* Change return type of mg_mgr_poll to return number of events * Add mg_mgr_min_timer * Refactor main poll loop to remove LwIP-specific stuff CL: Refactor mg polling PUBLISHED_FROM=dc94618b32fa3c84a2f053bd04d134297780ec82
557 B
557 B
title | decl_name | symbol_kind | signature |
---|---|---|---|
struct mg_mgr | struct mg_mgr | struct | struct mg_mgr { struct mg_connection *active_connections; #if MG_ENABLE_HEXDUMP const char *hexdump_file; /* Debug hexdump file path */ #endif #if MG_ENABLE_BROADCAST sock_t ctl[2]; /* Socketpair for mg_broadcast() */ #endif void *user_data; /* User data */ int num_ifaces; int num_calls; struct mg_iface **ifaces; /* network interfaces */ const char *nameserver; /* DNS server to use */ }; |
Mongoose event manager.