chiark / gitweb /
make sure impact of transactions is minimized
[elogind.git] / job.h
diff --git a/job.h b/job.h
index f337307f04df72261925c07e8b68d266747d91f1..d839db5a40c98a951526b9bef693177f16c7f10d 100644 (file)
--- a/job.h
+++ b/job.h
@@ -80,7 +80,7 @@ struct Job {
 
 Job* job_new(Manager *m, JobType type, Name *name);
 void job_free(Job *job);
-void job_dump(Job *j, FILE*f);
+void job_dump(Job *j, FILE*f, const char *prefix);
 
 JobDependency* job_dependency_new(Job *subject, Job *object, bool matters);
 void job_dependency_free(JobDependency *l);
@@ -90,4 +90,10 @@ bool job_is_anchor(Job *j);
 
 int job_merge(Job *j, Job *other);
 
+const char* job_type_to_string(JobType t);
+int job_type_merge(JobType *a, JobType b);
+bool job_type_mergeable(JobType a, JobType b);
+bool job_type_is_superset(JobType a, JobType b);
+bool job_type_is_conflicting(JobType a, JobType b);
+
 #endif