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