MCPcopy Create free account
hub / github.com/USBGuard/usbguard / ExceptionMessage

Method ExceptionMessage

src/DBus/DBusBridge.cpp:370–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368 }
369
370 void DBusBridge::ExceptionMessage(const std::string& context,
371 const std::string& object,
372 const std::string& reason)
373 {
374 g_dbus_connection_emit_signal(p_gdbus_connection, nullptr,
375 DBUS_ROOT_PATH, DBUS_ROOT_INTERFACE, "ExceptionMessage",
376 g_variant_new("(sss)",
377 context.c_str(),
378 object.c_str(),
379 reason.c_str()),
380 nullptr);
381 }
382
383 GVariantBuilder* DBusBridge::deviceRuleToAttributes(const std::string& device_spec)
384 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected