summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-common-errors.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/libsystemd/sd-bus/bus-common-errors.h
parent6b7b2ed96b443be7076d599c43b719a608829a67 (diff)
downloadsystemd-4d3bac5645b7451e23785358e80f4b320c7fde33.tar.gz
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/libsystemd/sd-bus/bus-common-errors.h')
-rw-r--r--src/libsystemd/sd-bus/bus-common-errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/bus-common-errors.h b/src/libsystemd/sd-bus/bus-common-errors.h
index 296579116c..4a29b3bea8 100644
--- a/src/libsystemd/sd-bus/bus-common-errors.h
+++ b/src/libsystemd/sd-bus/bus-common-errors.h
@@ -27,6 +27,8 @@
#define BUS_ERROR_NO_SUCH_DYNAMIC_USER "org.freedesktop.systemd1.NoSuchDynamicUser"
#define BUS_ERROR_NOT_REFERENCED "org.freedesktop.systemd1.NotReferenced"
#define BUS_ERROR_DISK_FULL "org.freedesktop.systemd1.DiskFull"
+#define BUS_ERROR_NOTHING_TO_CLEAN "org.freedesktop.systemd1.NothingToClean"
+#define BUS_ERROR_UNIT_BUSY "org.freedesktop.systemd1.UnitBusy"
#define BUS_ERROR_NO_SUCH_MACHINE "org.freedesktop.machine1.NoSuchMachine"
#define BUS_ERROR_NO_SUCH_IMAGE "org.freedesktop.machine1.NoSuchImage"