diff options
| author | Michael Brown | 2016-01-09 14:22:37 +0100 |
|---|---|---|
| committer | Michael Brown | 2016-01-09 14:22:37 +0100 |
| commit | 57fa0db03f9d0a4c73b7fea5b23f98941a1e0e22 (patch) | |
| tree | 4d901ff55e12cb93724673e6c0ab865d4df29193 /src/include | |
| parent | [http] Handle relative redirection URIs (diff) | |
| download | ipxe-57fa0db03f9d0a4c73b7fea5b23f98941a1e0e22.tar.gz ipxe-57fa0db03f9d0a4c73b7fea5b23f98941a1e0e22.tar.xz ipxe-57fa0db03f9d0a4c73b7fea5b23f98941a1e0e22.zip | |
[image] Provide image_set_uri() to modify an image's URI
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/ipxe/image.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/image.h b/src/include/ipxe/image.h index 6abd7a2d2..f33feddad 100644 --- a/src/include/ipxe/image.h +++ b/src/include/ipxe/image.h @@ -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 ); |
