iPXE
|
An executable image type. More...
#include <image.h>
Data Fields | |
char * | name |
Name of this image type. More... | |
int(* | probe )(struct image *image) |
Probe image. More... | |
int(* | exec )(struct image *image) |
Execute image. More... | |
int(* | pixbuf )(struct image *image, struct pixel_buffer **pixbuf) |
Create pixel buffer from image. More... | |
int(* | asn1 )(struct image *image, size_t offset, struct asn1_cursor **cursor) |
Extract ASN.1 object from image. More... | |
int(* | extract )(struct image *image, struct image *extracted) |
Extract archive image. More... | |
char* image_type::name |
Execute image.
image | Image |
rc | Return status code |
Definition at line 94 of file image.h.
Referenced by image_exec(), and image_select().
int( * image_type::pixbuf) (struct image *image, struct pixel_buffer **pixbuf) |
Create pixel buffer from image.
image | Image |
pixbuf | Pixel buffer to fill in |
rc | Return status code |
Definition at line 102 of file image.h.
Referenced by image_pixbuf().
int( * image_type::asn1) (struct image *image, size_t offset, struct asn1_cursor **cursor) |
Extract ASN.1 object from image.
image | Image |
offset | Offset within image |
cursor | ASN.1 cursor to fill in |
next | Offset to next image, or negative error |
The caller is responsible for eventually calling free() on the allocated ASN.1 cursor.
Definition at line 114 of file image.h.
Referenced by image_asn1().
Extract archive image.
image | Image |
extracted | Extracted image |
rc | Return status code |
Definition at line 123 of file image.h.
Referenced by image_extract().