]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[job] Allow jobs to report an arbitrary status message
authorMichael Brown <mcb30@ipxe.org>
Tue, 5 Sep 2017 21:52:35 +0000 (22:52 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 5 Sep 2017 22:23:22 +0000 (23:23 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/job.h

index 7e1bd81096138da4179f8b213070f27d868a48df..c01bd1740036597eb0b177c1051ec338de7354b2 100644 (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,