summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorMichael Brown2007-08-02 21:18:32 +0200
committerMichael Brown2007-08-02 21:18:32 +0200
commitd4947c05b27449b4320179d57028a0542fd1394f (patch)
treedc9732c85f3904d04c2d7addf511c01c99dfb7fd /src/include/usr
parentAllowed zero-cost enforced ordering of features in startup banner (diff)
downloadipxe-d4947c05b27449b4320179d57028a0542fd1394f.tar.gz
ipxe-d4947c05b27449b4320179d57028a0542fd1394f.tar.xz
ipxe-d4947c05b27449b4320179d57028a0542fd1394f.zip
Allow images to hold references to the originating URI.
Some shuffling around of the image management code; this needs tidying up.
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/imgmgmt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h
index b3cbffbc4..438af0039 100644
--- a/src/include/usr/imgmgmt.h
+++ b/src/include/usr/imgmgmt.h
@@ -9,7 +9,8 @@
struct image;
-extern int imgfetch ( struct image *image, const char *filename, int load );
+extern int imgfetch ( struct image *image, const char *uri_string,
+ int ( * image_register ) ( struct image *image ) );
extern int imgload ( struct image *image );
extern int imgexec ( struct image *image );
extern struct image * imgautoselect ( void );