summaryrefslogtreecommitdiff
path: root/include/dbus_singleton.hpp
blob: 283021641b13e839836b857c6acf9befe57e76f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include <boost/asio/io_context.hpp>
#include <sdbusplus/asio/connection.hpp>

namespace crow
{
namespace connections
{

// Initialze before using!
// Please see webserver_main for the example how this variable is initialzed,
extern sdbusplus::asio::connection* systemBus;

} // namespace connections
} // namespace crow