diff options
author | Michael Brown | 2017-09-05 23:52:35 +0200 |
---|---|---|
committer | Michael Brown | 2017-09-06 00:23:22 +0200 |
commit | e30cc5e9e5fc0aed7c30245daab1e922a90460c0 (patch) | |
tree | 1ae6c9ce4d6243ec5636c426562452da0969ca37 /src/include/ipxe | |
parent | [monojob] Check for job progress only once per timer tick (diff) | |
download | ipxe-e30cc5e9e5fc0aed7c30245daab1e922a90460c0.tar.gz ipxe-e30cc5e9e5fc0aed7c30245daab1e922a90460c0.tar.xz ipxe-e30cc5e9e5fc0aed7c30245daab1e922a90460c0.zip |
[job] Allow jobs to report an arbitrary status message
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe')
-rw-r--r-- | src/include/ipxe/job.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/job.h b/src/include/ipxe/job.h index 7e1bd810..c01bd174 100644 --- a/src/include/ipxe/job.h +++ b/src/include/ipxe/job.h @@ -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, |