summaryrefslogtreecommitdiffstats
path: root/src/core/job.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/job.c')
-rw-r--r--src/core/job.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/job.c b/src/core/job.c
index 2a6a8a03..438064ef 100644
--- a/src/core/job.c
+++ b/src/core/job.c
@@ -44,6 +44,14 @@ void job_kill ( struct job_interface *job ) {
job_put ( dest );
}
+void job_progress ( struct job_interface *job,
+ struct job_progress *progress ) {
+ struct job_interface *dest = job_get_dest ( job );
+
+ dest->op->progress ( dest, progress );
+ job_put ( dest );
+}
+
/****************************************************************************
*
* Helper methods