[job] Allow jobs to report an arbitrary status message
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
7e6b367b7e
commit
e30cc5e9e5
|
@ -28,6 +28,8 @@ struct job_progress {
|
||||||
* account before calculating @c completed/total.
|
* account before calculating @c completed/total.
|
||||||
*/
|
*/
|
||||||
unsigned long total;
|
unsigned long total;
|
||||||
|
/** Message (optional) */
|
||||||
|
char message[32];
|
||||||
};
|
};
|
||||||
|
|
||||||
extern int job_progress ( struct interface *intf,
|
extern int job_progress ( struct interface *intf,
|
||||||
|
|
Reference in New Issue