blob: 31ec18722dafcba4bfe5e511655948f77ff1b710 [file] [log] [blame]
Tom Josephe6361a22016-08-10 06:56:25 -05001#pragma once
2
3#include <tuple>
4
5#include <command_table.hpp>
Tom Joseph83029cb2017-09-01 16:37:31 +05306#include "command/guid.hpp"
Tom Josephe6361a22016-08-10 06:56:25 -05007#include <sessions_manager.hpp>
Tom Joseph52f53d72017-03-14 15:20:19 +05308#include "sol/sol_manager.hpp"
9#include "sd_event_loop.hpp"
Tom Josephe6361a22016-08-10 06:56:25 -050010
Tom Joseph52f53d72017-03-14 15:20:19 +053011extern std::tuple<session::Manager&, command::Table&,
12 eventloop::EventLoop&, sol::Manager&> singletonPool;
Tom Josephe6361a22016-08-10 06:56:25 -050013
Gunnar Mills541aee72017-10-25 14:47:10 -050014// Select call timeout is set arbitrarily set to 30 sec
Tom Josephe6361a22016-08-10 06:56:25 -050015static constexpr size_t SELECT_CALL_TIMEOUT = 30;
16static const auto IPMI_STD_PORT = 623;
Tom Joseph52f53d72017-03-14 15:20:19 +053017
18extern sd_bus* bus;