X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=job.h;h=554f9fc9860ed44649ad40d0ac4171bcf7791a31;hp=28ed07dbe4ce363dd7c823b56f421d4a86e35e66;hb=47be870bd83fb3719dffc3ee9348a409ab762a14;hpb=a7334b0952ab66c17ee787e36e6d2c5ceb387de6 diff --git a/job.h b/job.h index 28ed07dbe..554f9fc98 100644 --- a/job.h +++ b/job.h @@ -124,6 +124,8 @@ bool job_type_is_mergeable(JobType a, JobType b); bool job_type_is_superset(JobType a, JobType b); bool job_type_is_conflicting(JobType a, JobType b); +bool job_is_runnable(Job *j); + void job_schedule_run(Job *j); int job_run_and_invalidate(Job *j); int job_finish_and_invalidate(Job *j, bool success);