|
iPXE
|
Image downloader. More...
Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
| int | create_downloader (struct interface *job, struct image *image) |
| Instantiate a downloader. More... | |
Image downloader.
Definition in file downloader.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | PERMITTED | ) |
Instantiate a downloader.
| job | Job control interface |
| image | Image to fill with downloaded file |
| rc | Return status code |
Instantiates a downloader object to download the content of the specified image from its URI.
Definition at line 263 of file downloader.c.
References downloader::buffer, downloader_finished(), downloader_free(), downloader_job_desc, downloader_xfer_desc, ENOMEM, downloader::image, image_get(), intf_init(), intf_plug_plug(), downloader::job, rc, ref_init, ref_put, downloader::refcnt, image::uri, downloader::xfer, xfer_open_uri(), xferbuf_umalloc_init(), and zalloc().
Referenced by imgdownload().
1.8.15