Skip to content

Commit

Permalink
[job] Allow jobs to report an arbitrary status message
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Sep 5, 2017
1 parent 7e6b367 commit e30cc5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/include/ipxe/job.h
Expand Up @@ -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,
Expand Down

0 comments on commit e30cc5e

Please sign in to comment.