summaryrefslogtreecommitdiff
path: root/src/job.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-06 19:09:33 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-06 19:09:33 +0200
commitcebe0d41e4d5b3fdd9d521116cc029bcb819c90d (patch)
tree22c43591a973b1653313aa437b87ede51da0ab54 /src/job.h
parentf80781eaf9f927d7b4d5e66116e3f3a4242e6fa1 (diff)
job: fix deserialization of jobs: do not ignore ordering
Diffstat (limited to 'src/job.h')
-rw-r--r--src/job.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/job.h b/src/job.h
index 2c65d94879..2121426b33 100644
--- a/src/job.h
+++ b/src/job.h
@@ -64,10 +64,11 @@ enum JobState {
};
enum JobMode {
- JOB_FAIL,
- JOB_REPLACE,
- JOB_ISOLATE,
- JOB_IGNORE_DEPENDENCIES,
+ JOB_FAIL, /* Fail if a conflicting job is already queued */
+ JOB_REPLACE, /* Replace an existing conflicting job */
+ JOB_ISOLATE, /* Start a unit, and stop all others */
+ JOB_IGNORE_DEPENDENCIES, /* Ignore both requirement and ordering dependencies */
+ JOB_IGNORE_REQUIREMENTS, /* Ignore requirement dependencies */
_JOB_MODE_MAX,
_JOB_MODE_INVALID = -1
};
@@ -130,7 +131,7 @@ struct Job {
bool override:1;
bool in_dbus_queue:1;
bool sent_dbus_new_signal:1;
- bool ignore_deps:1;
+ bool ignore_order:1;
};
Job* job_new(Manager *m, JobType type, Unit *unit);