diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-08-29 13:08:27 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-08-29 13:09:41 +0100 |
commit | 49404bfea99f68f4c364ea30a9ad3ea6ffb7e5f6 (patch) | |
tree | 6599090fbec8e3025987dae195a04a60e3a93613 /src/include/ipxe/image.h | |
parent | 748cab7745186ec6c770fb4d47b0e8c9f213e6df (diff) | |
download | ipxe-49404bfea99f68f4c364ea30a9ad3ea6ffb7e5f6.tar.gz |
[image] Split image_strip_suffix() out from image_extract()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/image.h')
-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 bfbf23687..ca383dc7b 100644 --- a/src/include/ipxe/image.h +++ b/src/include/ipxe/image.h @@ -188,6 +188,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 char * image_strip_suffix ( struct image *image ); extern int image_set_cmdline ( struct image *image, const char *cmdline ); extern int image_set_len ( struct image *image, size_t len ); extern int image_set_data ( struct image *image, userptr_t data, size_t len ); |