mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-09 14:15:37 +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
24 lines
557 B
Markdown
24 lines
557 B
Markdown
---
|
|
title: "struct mg_mgr"
|
|
decl_name: "struct mg_mgr"
|
|
symbol_kind: "struct"
|
|
signature: |
|
|
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.
|
|
|