diff options
Diffstat (limited to 'src/core/job.h')
-rw-r--r-- | src/core/job.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/core/job.h b/src/core/job.h index f3daf9d094..406eab74ae 100644 --- a/src/core/job.h +++ b/src/core/job.h @@ -14,7 +14,6 @@ typedef struct Job Job; typedef struct JobDependency JobDependency; typedef enum JobType JobType; typedef enum JobState JobState; -typedef enum JobMode JobMode; typedef enum JobResult JobResult; typedef struct Manager Manager; typedef struct Unit Unit; @@ -71,20 +70,6 @@ enum JobState { _JOB_STATE_INVALID = -EINVAL, }; -enum JobMode { - JOB_FAIL, /* Fail if a conflicting job is already queued */ - JOB_REPLACE, /* Replace an existing conflicting job */ - JOB_REPLACE_IRREVERSIBLY,/* Like JOB_REPLACE + produce irreversible jobs */ - JOB_ISOLATE, /* Start a unit, and stop all others */ - JOB_FLUSH, /* Flush out all other queued jobs when queueing this one */ - JOB_IGNORE_DEPENDENCIES, /* Ignore both requirement and ordering dependencies */ - JOB_IGNORE_REQUIREMENTS, /* Ignore requirement dependencies */ - JOB_TRIGGERING, /* Adds TRIGGERED_BY dependencies to the same transaction */ - JOB_RESTART_DEPENDENCIES,/* A "start" job for the specified unit becomes "restart" for depending units */ - _JOB_MODE_MAX, - _JOB_MODE_INVALID = -EINVAL, -}; - enum JobResult { JOB_DONE, /* Job completed successfully (or skipped due to an unmet ConditionXYZ=) */ JOB_CANCELED, /* Job canceled by a conflicting job installation or by explicit cancel request */ @@ -243,9 +228,6 @@ JobType job_type_from_string(const char *s) _pure_; const char* job_state_to_string(JobState t) _const_; JobState job_state_from_string(const char *s) _pure_; -const char* job_mode_to_string(JobMode t) _const_; -JobMode job_mode_from_string(const char *s) _pure_; - const char* job_result_to_string(JobResult t) _const_; JobResult job_result_from_string(const char *s) _pure_; |