浏览代码

[job] Allow jobs to report an arbitrary status message

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 年前
父节点
当前提交
e30cc5e9e5
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      src/include/ipxe/job.h

+ 2
- 0
src/include/ipxe/job.h 查看文件

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

正在加载...
取消
保存