aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/core/job.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/core/job.c')
-rw-r--r--gpxe/src/core/job.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gpxe/src/core/job.c b/gpxe/src/core/job.c
index 6c2faf30..438064ef 100644
--- a/gpxe/src/core/job.c
+++ b/gpxe/src/core/job.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <string.h>
#include <errno.h>
#include <gpxe/job.h>
@@ -42,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