]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[job] Allow job_progress() to return an ongoing job status code, if known
authorMichael Brown <mcb30@ipxe.org>
Fri, 1 Nov 2013 15:05:16 +0000 (15:05 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 1 Nov 2013 16:17:28 +0000 (16:17 +0000)
commit5674a3c087bf1bde65b61b6b0ca26035dd47baa3
treee30dd88a260b22c9bf3919432e645544d1867294
parenta3346e35877db114d467c55fc14856334d2278ab
[job] Allow job_progress() to return an ongoing job status code, if known

Some background jobs have a meaningful ongoing status code (e.g. the
current link status for a job waiting for a network link to come up).
Allow this to be exposed via the job_progress() method.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/downloader.c
src/core/job.c
src/include/ipxe/job.h