summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorMichael Brown2011-03-02 20:29:24 +0100
committerMichael Brown2011-03-02 20:29:24 +0100
commit3c9c27b8e68f51ee008cdbf0a57ad3ab7483b631 (patch)
tree44bd9071244c8f1daacfa805de0bb107f97002b3 /src/include/usr
parent[int13] Automatically reopen underlying block device as needed (diff)
downloadipxe-3c9c27b8e68f51ee008cdbf0a57ad3ab7483b631.tar.gz
ipxe-3c9c27b8e68f51ee008cdbf0a57ad3ab7483b631.tar.xz
ipxe-3c9c27b8e68f51ee008cdbf0a57ad3ab7483b631.zip
[image] Allow download job to complete before acting upon image
Allow the monojob controlling the download to complete before calling register_image() and friends. This allows the trailing "ok" from monojob.c to be printed before the image starts executing (and possibly printing output of its own). Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/imgmgmt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h
index 0beab513..64e51499 100644
--- a/src/include/usr/imgmgmt.h
+++ b/src/include/usr/imgmgmt.h
@@ -12,9 +12,9 @@ FILE_LICENCE ( GPL2_OR_LATER );
struct image;
extern int imgdownload ( struct image *image, struct uri *uri,
- int ( * image_register ) ( struct image *image ) );
+ int ( * action ) ( struct image *image ) );
extern int imgfetch ( struct image *image, const char *uri_string,
- int ( * image_register ) ( struct image *image ) );
+ int ( * action ) ( struct image *image ) );
extern int imgload ( struct image *image );
extern int imgexec ( struct image *image );
extern struct image * imgautoselect ( void );