mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 20:40:25 +03:00
[job] Add missing job_progress() interface method
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user