blob: af577f611ba1a6508cf2ee55dad93df3239a3dec [file] [log] [blame]
Tom Josephe6361a22016-08-10 06:56:25 -05001#pragma once
2
Vernon Mauery9e801a22018-10-12 13:20:49 -07003#include "command/guid.hpp"
4#include "sd_event_loop.hpp"
5#include "sol/sol_manager.hpp"
Tom Josephe6361a22016-08-10 06:56:25 -05006
7#include <command_table.hpp>
8#include <sessions_manager.hpp>
Vernon Mauery9e801a22018-10-12 13:20:49 -07009#include <tuple>
Tom Josephe6361a22016-08-10 06:56:25 -050010
Vernon Mauery9e801a22018-10-12 13:20:49 -070011extern std::tuple<session::Manager&, command::Table&, eventloop::EventLoop&,
12 sol::Manager&>
13 singletonPool;
Tom Josephe6361a22016-08-10 06:56:25 -050014
Gunnar Mills541aee72017-10-25 14:47:10 -050015// Select call timeout is set arbitrarily set to 30 sec
Tom Josephe6361a22016-08-10 06:56:25 -050016static constexpr size_t SELECT_CALL_TIMEOUT = 30;
17static const auto IPMI_STD_PORT = 623;
Tom Joseph52f53d72017-03-14 15:20:19 +053018
19extern sd_bus* bus;