diff options
| author | Michael Brown | 2011-10-25 02:41:41 +0200 |
|---|---|---|
| committer | Michael Brown | 2011-10-25 02:41:41 +0200 |
| commit | 790035f78d6a3b11e049c9df3df41155fd3a12ef (patch) | |
| tree | e1f81cbf2fbe1fdd5a12062b88b10fd55ca7a668 /src/include | |
| parent | [cmdline] Allow "sleep" command to be interrupted (diff) | |
| download | ipxe-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.h | 5 |
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, |
