Browse Source

[job] Allow jobs to report an arbitrary status message

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 7 years ago
parent
commit
e30cc5e9e5
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/include/ipxe/job.h

+ 2
- 0
src/include/ipxe/job.h View File

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

Loading…
Cancel
Save