summaryrefslogtreecommitdiffstats
path: root/main.hpp
blob: 31ec18722dafcba4bfe5e511655948f77ff1b710 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <tuple>

#include <command_table.hpp>
#include "command/guid.hpp"
#include <sessions_manager.hpp>
#include "sol/sol_manager.hpp"
#include "sd_event_loop.hpp"

extern std::tuple<session::Manager&, command::Table&,
                  eventloop::EventLoop&, sol::Manager&> singletonPool;

// Select call timeout is set arbitrarily set to 30 sec
static constexpr size_t SELECT_CALL_TIMEOUT = 30;
static const auto IPMI_STD_PORT = 623;

extern sd_bus* bus;
OpenPOWER on IntegriCloud