diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-04-23 14:21:46 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-05-05 22:38:31 +0200 |
commit | 4faa530cf633f9354c7368e6c1888c14c6516da0 (patch) | |
tree | 69545d2472f0be39e67ad3805fa948a906fdbb56 /src/machine/machined-dbus.c | |
parent | localed: convert to the new scheme and add --bus-introspect (diff) | |
download | systemd-4faa530cf633f9354c7368e6c1888c14c6516da0.tar.xz systemd-4faa530cf633f9354c7368e6c1888c14c6516da0.zip |
machined: convert to the new scheme and add --bus-introspect
Diffstat (limited to 'src/machine/machined-dbus.c')
-rw-r--r-- | src/machine/machined-dbus.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/machine/machined-dbus.c b/src/machine/machined-dbus.c index 76d5119089..ceb3afadbd 100644 --- a/src/machine/machined-dbus.c +++ b/src/machine/machined-dbus.c @@ -1440,6 +1440,14 @@ const sd_bus_vtable manager_vtable[] = { SD_BUS_VTABLE_END }; +const BusObjectImplementation manager_object = { + "/org/freedesktop/machine1", + "org.freedesktop.machine1.Manager", + .vtables = BUS_VTABLES(manager_vtable), + .children = BUS_IMPLEMENTATIONS( &machine_object, + &image_object ), +}; + int match_job_removed(sd_bus_message *message, void *userdata, sd_bus_error *error) { const char *path, *result, *unit; Manager *m = userdata; |