mirror of
https://github.com/ipxe/ipxe
synced 2025-12-15 09:04:37 +03:00
[image] Split image_strip_suffix() out from image_extract()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user