[image] Provide image_set_uri() to modify an image's URI

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2016-01-09 13:22:37 +00:00
parent 74c812a68c
commit 57fa0db03f
2 changed files with 29 additions and 10 deletions

View File

@@ -158,6 +158,7 @@ static inline struct image * first_image ( void ) {
}
extern struct image * alloc_image ( struct uri *uri );
extern int image_set_uri ( struct image *image, struct uri *uri );
extern int image_set_name ( struct image *image, const char *name );
extern int image_set_cmdline ( struct image *image, const char *cmdline );
extern int register_image ( struct image *image );