blob: 2b5f509129fb9ad87c707a24259a993912834309 [file] [log] [blame]
Tom Josephe6361a22016-08-10 06:56:25 -05001#pragma once
2
3#include <tuple>
4
5#include <command_table.hpp>
6#include <sessions_manager.hpp>
Tom Joseph52f53d72017-03-14 15:20:19 +05307#include "sol/sol_manager.hpp"
8#include "sd_event_loop.hpp"
Tom Josephe6361a22016-08-10 06:56:25 -05009
Tom Joseph52f53d72017-03-14 15:20:19 +053010extern std::tuple<session::Manager&, command::Table&,
11 eventloop::EventLoop&, sol::Manager&> singletonPool;
Tom Josephe6361a22016-08-10 06:56:25 -050012
13// Select call timeout is set arbitarily set to 30 sec
14static constexpr size_t SELECT_CALL_TIMEOUT = 30;
15static const auto IPMI_STD_PORT = 623;
Tom Joseph52f53d72017-03-14 15:20:19 +053016
17extern sd_bus* bus;