summaryrefslogtreecommitdiffstats
path: root/src/utils-systemd.h
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-07-23 08:19:12 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2020-07-23 08:19:12 +0000
commit3a2efc3143d89d036794f2d8274794482cb2c961 (patch)
treec4543ea90ac413d875cd0b331fba1fb46b7f2719 /src/utils-systemd.h
parent70d6c64f0639b0c8ed2d8624227d1ecdf2853300 (diff)
parent55e6be446553dd0e813c0de1cc60a81f11dddda0 (diff)
Merge "Add wait for start jobs"
Diffstat (limited to 'src/utils-systemd.h')
-rw-r--r--src/utils-systemd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils-systemd.h b/src/utils-systemd.h
index 3bddfd6..6d43c71 100644
--- a/src/utils-systemd.h
+++ b/src/utils-systemd.h
@@ -28,6 +28,12 @@ enum SysD_State {
SysD_State_Failed
};
+enum SysD_Job_State {
+ SysD_Job_State_INVALID,
+ SysD_Job_State_Waiting,
+ SysD_Job_State_Running
+};
+
struct sd_bus;
extern int systemd_get_bus(int isuser, struct sd_bus **ret);
extern void systemd_set_bus(int isuser, struct sd_bus *bus);