iPXE
Data Fields
imgsingle_descriptor Struct Reference

An "img{single}" family command descriptor. More...

Data Fields

struct command_descriptorcmd
 Command descriptor. More...
 
int(* acquire )(const char *name, unsigned long timeout, struct image **image)
 Function to use to acquire the image. More...
 
void(* preaction )(struct image *image)
 Pre-action to take upon image, or NULL. More...
 
int(* action )(struct image *image, struct imgsingle_options *opts)
 Action to take upon image, or NULL. More...
 
const char * verb
 Verb to describe action. More...
 

Detailed Description

An "img{single}" family command descriptor.

Definition at line 77 of file image_cmd.c.

Field Documentation

◆ cmd

struct command_descriptor* imgsingle_descriptor::cmd

Command descriptor.

Definition at line 79 of file image_cmd.c.

Referenced by imgsingle_exec().

◆ acquire

int( * imgsingle_descriptor::acquire) (const char *name, unsigned long timeout, struct image **image)

Function to use to acquire the image.

Definition at line 81 of file image_cmd.c.

Referenced by imgsingle_exec().

◆ preaction

void( * imgsingle_descriptor::preaction) (struct image *image)

Pre-action to take upon image, or NULL.

Definition at line 84 of file image_cmd.c.

Referenced by imgsingle_exec().

◆ action

int( * imgsingle_descriptor::action) (struct image *image, struct imgsingle_options *opts)

Action to take upon image, or NULL.

Definition at line 86 of file image_cmd.c.

Referenced by imgsingle_exec().

◆ verb

const char* imgsingle_descriptor::verb

Verb to describe action.

Definition at line 89 of file image_cmd.c.

Referenced by imgsingle_exec().


The documentation for this struct was generated from the following file: