mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 23:41:45 +03:00
[job] Allow jobs to report an arbitrary status message
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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
Block a user