summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2017-09-05 23:52:35 +0200
committerMichael Brown2017-09-06 00:23:22 +0200
commite30cc5e9e5fc0aed7c30245daab1e922a90460c0 (patch)
tree1ae6c9ce4d6243ec5636c426562452da0969ca37 /src/include
parent[monojob] Check for job progress only once per timer tick (diff)
downloadipxe-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')
-rw-r--r--src/include/ipxe/job.h2
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,