summaryrefslogtreecommitdiffstats
path: root/src/core/job.h
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-04-20 10:22:07 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-04-20 17:12:27 +0200
commit7527cb527598aaabf0ed9b38a352edb28536392a (patch)
tree1fe241bdb3dac4dfd94906de0ebce3ea627512a2 /src/core/job.h
parentjob: job_uninstall() (diff)
downloadsystemd-7527cb527598aaabf0ed9b38a352edb28536392a.tar.xz
systemd-7527cb527598aaabf0ed9b38a352edb28536392a.zip
manager: Transaction as an object
This makes it obvious that transactions are short-lived. They are created in manager_add_job() and destroyed after the application of jobs. It also prepares for a split of the transaction code to a new source.
Diffstat (limited to 'src/core/job.h')
-rw-r--r--src/core/job.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/job.h b/src/core/job.h
index 442b13ef24..4c543f20b1 100644
--- a/src/core/job.h
+++ b/src/core/job.h
@@ -141,8 +141,8 @@ 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);
+JobDependency* job_dependency_new(Job *subject, Job *object, bool matters, bool conflicts, Transaction *tr);
+void job_dependency_free(JobDependency *l, Transaction *tr);
bool job_is_anchor(Job *j);