// The Construct // // Copyright (C) The Construct Developers, Authors & Contributors // Copyright (C) 2016-2020 Jason Volk // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice is present in all copies. The // full license for this software is available in the LICENSE file. namespace ircd::m { struct app; }; struct ircd::m::app :instance_list { static log::log log; static conf::item path; static std::set bin; m::event::idx event_idx; std::string feature; json::object config; json::array arg; std::vector argv; exec child; context worker_context; void worker(); app(const m::event::idx &); ~app() noexcept; static void init(), fini(); };