summaryrefslogtreecommitdiffstats
path: root/src/core/dbus-unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-04-01 18:51:49 +0200
committerLennart Poettering <lennart@poettering.net>2019-07-11 12:18:51 +0200
commit4d3bac5645b7451e23785358e80f4b320c7fde33 (patch)
tree6d139db074ba5a39f87ff2cddcaf1c94bbb2ae66 /src/core/dbus-unit.h
parentcore: add type of resource string table (diff)
downloadsystemd-4d3bac5645b7451e23785358e80f4b320c7fde33.tar.xz
systemd-4d3bac5645b7451e23785358e80f4b320c7fde33.zip
core: expose new clean operation on the bus
This adds CanClean() and Clean() as new methods on the Unit object that initiate the cleaning operation.
Diffstat (limited to 'src/core/dbus-unit.h')
-rw-r--r--src/core/dbus-unit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/dbus-unit.h b/src/core/dbus-unit.h
index 740bb1c86b..24abf3c088 100644
--- a/src/core/dbus-unit.h
+++ b/src/core/dbus-unit.h
@@ -25,6 +25,7 @@ int bus_unit_method_get_processes(sd_bus_message *message, void *userdata, sd_bu
int bus_unit_method_attach_processes(sd_bus_message *message, void *userdata, sd_bus_error *error);
int bus_unit_method_ref(sd_bus_message *message, void *userdata, sd_bus_error *error);
int bus_unit_method_unref(sd_bus_message *message, void *userdata, sd_bus_error *error);
+int bus_unit_method_clean(sd_bus_message *message, void *userdata, sd_bus_error *error);
typedef enum BusUnitQueueFlags {
BUS_UNIT_QUEUE_RELOAD_IF_POSSIBLE = 1 << 0,