Add support for opening a connection to a remote system bus using ssh (#77)

This commit is contained in:
Jay
2019-11-03 14:21:39 -05:00
committed by Stanislav Angelovič
parent c139110112
commit 099bc857ad
6 changed files with 45 additions and 1 deletions

View File

@ -243,6 +243,15 @@ namespace sdbus {
*/
std::unique_ptr<sdbus::IConnection> createSessionBusConnection(const std::string& name);
/*!
* @brief Creates/opens D-Bus system connection on a remote host using ssh
*
* @param[in] host Name of the host to connect
* @return Connection instance
*
* @throws sdbus::Error in case of failure
*/
std::unique_ptr<sdbus::IConnection> createRemoteSystemBusConnection(const std::string& host);
}
#endif /* SDBUS_CXX_ICONNECTION_H_ */