iPXE
|
Archive images. More...
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
int | image_extract (struct image *image, const char *name, struct image **extracted) |
Extract archive image. More... | |
int | image_extract_exec (struct image *image) |
Extract and execute image. More... | |
REQUIRING_SYMBOL (image_extract) | |
REQUIRE_OBJECT (config_archive) | |
Archive images.
Definition in file archive.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
Extract archive image.
image | Image |
name | Extracted image name |
extracted | Extracted image to fill in |
rc | Return status code |
Definition at line 44 of file archive.c.
References alloc_image(), DBGC, ENOMEM, ENOTSUP, image_type::extract, image::flags, image_put(), image_set_name(), image_strip_suffix(), image_trust(), IMAGE_TRUSTED, image::name, name, rc, register_image(), strerror(), image::type, unregister_image(), and image::uri.
Referenced by gzip_okx(), image_extract_exec(), imgextract(), and zlib_okx().
int image_extract_exec | ( | struct image * | image | ) |
Extract and execute image.
image | Image |
rc | Return status code |
Definition at line 107 of file archive.c.
References image::cmdline, image::flags, IMAGE_AUTO_UNREGISTER, image_exec(), image_extract(), image_set_cmdline(), NULL, rc, and unregister_image().
REQUIRING_SYMBOL | ( | image_extract | ) |
REQUIRE_OBJECT | ( | config_archive | ) |