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> |
| 6 | #include <sessions_manager.hpp> |
Tom Joseph | 52f53d7 | 2017-03-14 15:20:19 +0530 | [diff] [blame^] | 7 | #include "sol/sol_manager.hpp" |
| 8 | #include "sd_event_loop.hpp" |
Tom Joseph | e6361a2 | 2016-08-10 06:56:25 -0500 | [diff] [blame] | 9 | |
Tom Joseph | 52f53d7 | 2017-03-14 15:20:19 +0530 | [diff] [blame^] | 10 | extern std::tuple<session::Manager&, command::Table&, |
| 11 | eventloop::EventLoop&, sol::Manager&> singletonPool; |
Tom Joseph | e6361a2 | 2016-08-10 06:56:25 -0500 | [diff] [blame] | 12 | |
| 13 | // Select call timeout is set arbitarily set to 30 sec |
| 14 | static constexpr size_t SELECT_CALL_TIMEOUT = 30; |
| 15 | static const auto IPMI_STD_PORT = 623; |
Tom Joseph | 52f53d7 | 2017-03-14 15:20:19 +0530 | [diff] [blame^] | 16 | |
| 17 | extern sd_bus* bus; |