1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3 #pragma once 4 #include <sdbusplus/asio/connection.hpp> 5 6 namespace crow 7 { 8 namespace connections 9 { 10 11 // Initialize before using! 12 // Please see webserver_main for the example how this variable is initialized, 13 // NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables) 14 extern sdbusplus::asio::connection* systemBus; 15 16 } // namespace connections 17 } // namespace crow 18