| Ed Tanous | 911ac31 | 2017-08-15 09:37:42 -0700 | [diff] [blame] | 1 | #pragma once | 
| Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 2 | #include <sdbusplus/asio/connection.hpp> | 
| Ed Tanous | 911ac31 | 2017-08-15 09:37:42 -0700 | [diff] [blame] | 3 |  | 
| Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 4 | namespace crow | 
 | 5 | { | 
 | 6 | namespace connections | 
 | 7 | { | 
| Nan Zhou | 6384e32 | 2022-06-23 22:28:25 +0000 | [diff] [blame] | 8 |  | 
 | 9 | // Initialze before using! | 
 | 10 | // Please see webserver_main for the example how this variable is initialzed, | 
| Ed Tanous | cf9e417 | 2022-12-21 09:30:16 -0800 | [diff] [blame] | 11 | // NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables) | 
| Nan Zhou | 6384e32 | 2022-06-23 22:28:25 +0000 | [diff] [blame] | 12 | extern sdbusplus::asio::connection* systemBus; | 
| Ed Tanous | 911ac31 | 2017-08-15 09:37:42 -0700 | [diff] [blame] | 13 |  | 
| Ed Tanous | 1abe55e | 2018-09-05 08:30:59 -0700 | [diff] [blame] | 14 | } // namespace connections | 
 | 15 | } // namespace crow |