[job] Allow jobs to report an arbitrary status message

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/66/head
Michael Brown 2017-09-05 22:52:35 +01:00
parent 7e6b367b7e
commit e30cc5e9e5
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ struct job_progress {
* account before calculating @c completed/total.
*/
unsigned long total;
/** Message (optional) */
char message[32];
};
extern int job_progress ( struct interface *intf,