|
iPXE
|
Image setting commands. More...
#include <string.h>#include <stdio.h>#include <getopt.h>#include <ipxe/command.h>#include <ipxe/parseopt.h>#include <ipxe/settings.h>#include <usr/imgmgmt.h>Go to the source code of this file.
Data Structures | |
| struct | imgset_options |
| "imgset" options More... | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
| static int | imgset_exec (int argc, char **argv) |
| The "imgset" command. | |
| COMMAND (imgset, imgset_exec) | |
Variables | |
| static struct option_descriptor | imgset_opts [] |
| "imgset" option list | |
| static struct command_descriptor | imgset_cmd |
| "imgset" command descriptor | |
Image setting commands.
Definition in file image_set_cmd.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | PERMITTED | ) |
|
static |
The "imgset" command.
| argc | Argument count |
| argv | Argument list |
| rc | Return status code |
Definition at line 72 of file image_set_cmd.c.
References image::data, imgacquire(), imgset_cmd, image::len, setting::name, optind, opts, parse_autovivified_setting(), parse_options(), printf(), rc, store_setting(), strerror(), and unregister_image().
Referenced by COMMAND().
| COMMAND | ( | imgset | , |
| imgset_exec | ) |
References imgset_exec().
|
static |
"imgset" option list
Definition at line 52 of file image_set_cmd.c.
|
static |
"imgset" command descriptor
Definition at line 62 of file image_set_cmd.c.
Referenced by imgset_exec().