blob: 6dc23097c03a123567d03b258650ddca189246d0 [file] [log] [blame]
Patrick Williams32ffb032020-10-12 12:17:48 -05001#include <sdbusplus/bus.hpp>
2
3namespace sdbusplus
4{
5namespace bus
6{
7
8void bus::emit_interfaces_added(const char* path,
9 const std::vector<std::string>& ifaces)
10{
11 details::Strv s{ifaces};
12 _intf->sd_bus_emit_interfaces_added_strv(_bus.get(), path,
13 static_cast<char**>(s));
14}
15
16void bus::emit_interfaces_removed(const char* path,
17 const std::vector<std::string>& ifaces)
18{
19 details::Strv s{ifaces};
20 _intf->sd_bus_emit_interfaces_removed_strv(_bus.get(), path,
21 static_cast<char**>(s));
22}
23
24} // namespace bus
25} // namespace sdbusplus