diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-04-23 23:50:31 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-05-05 22:40:44 +0200 |
commit | 5c08257b709fb1c4a50e8cadde1c004ad75d406a (patch) | |
tree | 20187f99a42a49139a8651a90ecd470a91a08d13 /src/core/dbus.c | |
parent | f6e9aa9e4554004d501dac9fd4df220db7080dec (diff) | |
download | systemd-5c08257b709fb1c4a50e8cadde1c004ad75d406a.tar.gz |
pid1: add --bus-introspect
Diffstat (limited to 'src/core/dbus.c')
-rw-r--r-- | src/core/dbus.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/dbus.c b/src/core/dbus.c index f9bc847d60..76bb91d0ea 100644 --- a/src/core/dbus.c +++ b/src/core/dbus.c @@ -609,6 +609,14 @@ static const BusObjectImplementation manager_log_control_object = { .vtables = BUS_VTABLES(bus_manager_log_control_vtable), }; +int bus_manager_introspect_implementations(FILE *out, const char *pattern) { + return bus_introspect_implementations( + out, + pattern, + BUS_IMPLEMENTATIONS(&bus_manager_object, + &manager_log_control_object)); +} + static int bus_setup_api_vtables(Manager *m, sd_bus *bus) { int r; |