[job] Add missing job_progress() interface method

This commit is contained in:
Michael Brown
2009-08-31 19:33:05 +01:00
parent d7dfc9572e
commit 0fc13add31
2 changed files with 10 additions and 0 deletions

View File

@@ -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