summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2011-10-25 02:41:41 +0200
committerMichael Brown2011-10-25 02:41:41 +0200
commit790035f78d6a3b11e049c9df3df41155fd3a12ef (patch)
treee1f81cbf2fbe1fdd5a12062b88b10fd55ca7a668 /src/include
parent[cmdline] Allow "sleep" command to be interrupted (diff)
downloadipxe-790035f78d6a3b11e049c9df3df41155fd3a12ef.tar.gz
ipxe-790035f78d6a3b11e049c9df3df41155fd3a12ef.tar.xz
ipxe-790035f78d6a3b11e049c9df3df41155fd3a12ef.zip
[image] Eliminate the register_and_xxx_image() functions
All users of imgdownload() require registration of the image, so make registration an integral part of imgdownload() itself and simplify the "action" parameter to be one of image_select(), image_exec() et al. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/imgmgmt.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h
index 1c0a212e3..71d587ba4 100644
--- a/src/include/usr/imgmgmt.h
+++ b/src/include/usr/imgmgmt.h
@@ -11,11 +11,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include <ipxe/image.h>
-extern int register_and_put_image ( struct image *image );
-extern int register_and_probe_image ( struct image *image );
-extern int register_and_select_image ( struct image *image );
-extern int register_and_boot_image ( struct image *image );
-extern int register_and_replace_image ( struct image *image );
extern int imgdownload ( struct uri *uri, const char *name, const char *cmdline,
int ( * action ) ( struct image *image ) );
extern int imgdownload_string ( const char *uri_string, const char *name,