chiark / gitweb /
transaction: remove the anchor link
[elogind.git] / src / core / job.h
index 3ce2d65a0d96805027569bdac7cb84d8f0e579cd..4e0c7ca81e7fd48c640a747903f3337614ae800d 100644 (file)
@@ -136,15 +136,14 @@ struct Job {
         bool ignore_order:1;
 };
 
-Job* job_new(Manager *m, JobType type, Unit *unit);
+Job* job_new(Unit *unit, JobType type);
+void job_uninstall(Job *j);
 void job_free(Job *job);
 void job_dump(Job *j, FILE*f, const char *prefix);
 
 JobDependency* job_dependency_new(Job *subject, Job *object, bool matters, bool conflicts);
 void job_dependency_free(JobDependency *l);
 
-bool job_is_anchor(Job *j);
-
 int job_merge(Job *j, Job *other);
 
 JobType job_type_lookup_merge(JobType a, JobType b);