---title:"structmg_mgr_init_opts"decl_name:"structmg_mgr_init_opts"symbol_kind:"struct"signature:|struct mg_mgr_init_opts {struct mg_iface_vtable *main_iface;int num_ifaces;struct mg_iface_vtable **ifaces;};---Optional parameters to `mg_mgr_init_opt()`.If `main_iface` is not NULL, it will be used as the main interface in thedefault interface set. The pointer will be free'd by `mg_mgr_free`.Otherwise, the main interface will be autodetected based on the currentplatform.If `num_ifaces` is 0 and `ifaces` is NULL, the default interface set will beused.This is an advanced option, as it requires you to construct a full interfaceset, including special networking interfaces required by some optionalfeatures such as TCP tunneling. Memory backing `ifaces` and each of the`num_ifaces` pointers it contains will be reclaimed by `mg_mgr_free`.