2016-05-12 04:36:12 +08:00
|
|
|
---
|
|
|
|
title: "struct mg_mgr"
|
|
|
|
decl_name: "struct mg_mgr"
|
|
|
|
symbol_kind: "struct"
|
|
|
|
signature: |
|
|
|
|
struct mg_mgr {
|
|
|
|
struct mg_connection *active_connections;
|
2016-10-14 18:15:11 +08:00
|
|
|
#if MG_ENABLE_HEXDUMP
|
2016-05-12 04:36:12 +08:00
|
|
|
const char *hexdump_file; /* Debug hexdump file path */
|
2016-10-14 18:15:11 +08:00
|
|
|
#endif
|
2016-10-17 12:02:29 +08:00
|
|
|
#if MG_ENABLE_BROADCAST
|
2016-09-13 19:27:14 +08:00
|
|
|
sock_t ctl[2]; /* Socketpair for mg_broadcast() */
|
2016-05-12 04:36:12 +08:00
|
|
|
#endif
|
|
|
|
void *user_data; /* User data */
|
2016-11-09 06:29:07 +08:00
|
|
|
int num_ifaces;
|
|
|
|
struct mg_iface **ifaces; /* network interfaces */
|
2017-07-03 03:59:19 +08:00
|
|
|
const char *nameserver; /* DNS server to use */
|
2016-05-12 04:36:12 +08:00
|
|
|
};
|
|
|
|
---
|
|
|
|
|
|
|
|
Mongoose event manager.
|
|
|
|
|