Tom Joseph | e6361a2 | 2016-08-10 06:56:25 -0500 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Vernon Mauery | 9e801a2 | 2018-10-12 13:20:49 -0700 | [diff] [blame] | 3 | #include "command/guid.hpp" |
| 4 | #include "sd_event_loop.hpp" |
| 5 | #include "sol/sol_manager.hpp" |
Tom Joseph | e6361a2 | 2016-08-10 06:56:25 -0500 | [diff] [blame] | 6 | |
| 7 | #include <command_table.hpp> |
| 8 | #include <sessions_manager.hpp> |
Vernon Mauery | 9e801a2 | 2018-10-12 13:20:49 -0700 | [diff] [blame] | 9 | #include <tuple> |
Tom Joseph | e6361a2 | 2016-08-10 06:56:25 -0500 | [diff] [blame] | 10 | |
Vernon Mauery | 9e801a2 | 2018-10-12 13:20:49 -0700 | [diff] [blame] | 11 | extern std::tuple<session::Manager&, command::Table&, eventloop::EventLoop&, |
| 12 | sol::Manager&> |
| 13 | singletonPool; |
Tom Joseph | e6361a2 | 2016-08-10 06:56:25 -0500 | [diff] [blame] | 14 | |
Gunnar Mills | 541aee7 | 2017-10-25 14:47:10 -0500 | [diff] [blame] | 15 | // Select call timeout is set arbitrarily set to 30 sec |
Tom Joseph | e6361a2 | 2016-08-10 06:56:25 -0500 | [diff] [blame] | 16 | static constexpr size_t SELECT_CALL_TIMEOUT = 30; |
| 17 | static const auto IPMI_STD_PORT = 623; |
Tom Joseph | 52f53d7 | 2017-03-14 15:20:19 +0530 | [diff] [blame] | 18 | |
| 19 | extern sd_bus* bus; |