summaryrefslogtreecommitdiff
path: root/src/core/job.h
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-04-20 02:04:01 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-04-20 17:12:28 +0200
commit05d576f1f77699ea5c2e5ed0e04451b14dfc45a0 (patch)
tree08ce135a80c8dd15866925fcbe30341fbf028746 /src/core/job.h
parentf1c2bdca422dba1bc5615f72662dee5ce69c147b (diff)
job: separate job_install()
Let the jobs install themselves.
Diffstat (limited to 'src/core/job.h')
-rw-r--r--src/core/job.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/job.h b/src/core/job.h
index 4e0c7ca81e..0110126ce9 100644
--- a/src/core/job.h
+++ b/src/core/job.h
@@ -137,8 +137,9 @@ struct Job {
};
Job* job_new(Unit *unit, JobType type);
-void job_uninstall(Job *j);
void job_free(Job *job);
+void job_install(Job *j);
+void job_uninstall(Job *j);
void job_dump(Job *j, FILE*f, const char *prefix);
JobDependency* job_dependency_new(Job *subject, Job *object, bool matters, bool conflicts);