summaryrefslogtreecommitdiff
path: root/src/core/job.h
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-10-25 01:22:22 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-10-25 03:21:31 +0200
commit65eb544e12343f314ffb5f07119aa1be502d975c (patch)
tree34617020f8232d8f43de32a1b53855c25739c949 /src/core/job.h
parenta73d88fa024b5668ed7dde681e99547d41e6a864 (diff)
job: add comments to JobResult values
Diffstat (limited to 'src/core/job.h')
-rw-r--r--src/core/job.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/job.h b/src/core/job.h
index 349fb687cf..3aa49d4b46 100644
--- a/src/core/job.h
+++ b/src/core/job.h
@@ -91,12 +91,12 @@ enum JobMode {
};
enum JobResult {
- JOB_DONE,
- JOB_CANCELED,
- JOB_TIMEOUT,
- JOB_FAILED,
- JOB_DEPENDENCY,
- JOB_SKIPPED,
+ JOB_DONE, /* Job completed successfully */
+ JOB_CANCELED, /* Job canceled by a conflicting job installation or by explicit cancel request */
+ JOB_TIMEOUT, /* JobTimeout elapsed */
+ JOB_FAILED, /* Job failed */
+ JOB_DEPENDENCY, /* A required dependency job did not result in JOB_DONE */
+ JOB_SKIPPED, /* JOB_RELOAD of inactive unit; negative result of JOB_VERIFY_ACTIVE */
_JOB_RESULT_MAX,
_JOB_RESULT_INVALID = -1
};