summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorMichael Brown2011-03-09 14:11:35 +0100
committerMichael Brown2011-03-09 14:11:35 +0100
commitd17a84a056a412f10a85985dc2c43b6fbedd0abd (patch)
treeb01b63c97beef21ee33ac541d86c600580c5a7ce /src/include/usr
parent[monojob] Display percentage progress, if available (diff)
downloadipxe-d17a84a056a412f10a85985dc2c43b6fbedd0abd.tar.gz
ipxe-d17a84a056a412f10a85985dc2c43b6fbedd0abd.tar.xz
ipxe-d17a84a056a412f10a85985dc2c43b6fbedd0abd.zip
[image] Move the register_and_{select|boot}_image() functions to imgmgmt.c
These functions are used only as the "action" parameters to imgdownload() or imgfetch(), and so belong in imgmgmt.c rather than image.c Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/imgmgmt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h
index 6660039c..4299937f 100644
--- a/src/include/usr/imgmgmt.h
+++ b/src/include/usr/imgmgmt.h
@@ -11,6 +11,8 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include <ipxe/image.h>
+extern int register_and_select_image ( struct image *image );
+extern int register_and_boot_image ( struct image *image );
extern int imgdownload ( struct image *image, struct uri *uri,
int ( * action ) ( struct image *image ) );
extern int imgfetch ( struct image *image, const char *uri_string,