X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbus-errors.h;h=d6ccd7407f8ca92c6cbe6927871fe570ab9f6f4c;hp=a63350cc2332466dccb1d6aae1877120f7486346;hb=6daf4f9001d87da9e92c04ff606b454c209f0951;hpb=2528a7a62c4ad9b2f4773b608d208239299da50c diff --git a/src/bus-errors.h b/src/bus-errors.h index a63350cc2..d6ccd7407 100644 --- a/src/bus-errors.h +++ b/src/bus-errors.h @@ -37,10 +37,12 @@ #define BUS_ERROR_ONLY_BY_DEPENDENCY "org.freedesktop.systemd1.OnlyByDependency" #define BUS_ERROR_NO_ISOLATION "org.freedesktop.systemd1.NoIsolation" #define BUS_ERROR_LOAD_FAILED "org.freedesktop.systemd1.LoadFailed" +#define BUS_ERROR_MASKED "org.freedesktop.systemd1.Masked" #define BUS_ERROR_JOB_TYPE_NOT_APPLICABLE "org.freedesktop.systemd1.JobTypeNotApplicable" #define BUS_ERROR_TRANSACTION_IS_DESTRUCTIVE "org.freedesktop.systemd1.TransactionIsDestructive" #define BUS_ERROR_TRANSACTION_JOBS_CONFLICTING "org.freedesktop.systemd1.TransactionJobsConflicting" #define BUS_ERROR_TRANSACTION_ORDER_IS_CYCLIC "org.freedesktop.systemd1.TransactionOrderIsCyclic" +#define BUS_ERROR_SHUTTING_DOWN "org.freedesktop.systemd1.ShuttingDown" static inline const char *bus_error(const DBusError *e, int r) { if (e && e->message)