iPXE
|
Console management commands. More...
#include <string.h>
#include <getopt.h>
#include <ipxe/command.h>
#include <ipxe/parseopt.h>
#include <ipxe/console.h>
#include <ipxe/image.h>
#include <ipxe/pixbuf.h>
#include <ipxe/ansiesc.h>
#include <ipxe/ansicol.h>
#include <usr/imgmgmt.h>
Go to the source code of this file.
Data Structures | |
struct | console_options |
"console" options More... | |
struct | colour_options |
"colour" options More... | |
struct | cpair_options |
"cpair" options More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static int | console_exec (int argc, char **argv) |
"console" command More... | |
static int | colour_exec (int argc, char **argv) |
"colour" command More... | |
static int | cpair_exec (int argc, char **argv) |
"cpair" command More... | |
Variables | |
static struct option_descriptor | console_opts [] |
"console" option list More... | |
static struct command_descriptor | console_cmd |
"console" command descriptor More... | |
static struct option_descriptor | colour_opts [] |
"colour" option list More... | |
static struct command_descriptor | colour_cmd |
"colour" command descriptor More... | |
static struct option_descriptor | cpair_opts [] |
"cpair" option list More... | |
static struct command_descriptor | cpair_cmd |
"cpair" command descriptor More... | |
struct command console_commands [] | __command |
Console management commands. More... | |
Console management commands.
Definition in file console_cmd.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
"console" command
argc | Argument count |
argv | Argument list |
rc | Return status code |
Definition at line 86 of file console_cmd.c.
References ansicol_set_pair(), console_cmd, console_configure(), CPAIR_DEFAULT, CSI, image_pixbuf(), imgacquire(), NULL, opts, parse_options(), printf(), rc, strerror(), and unregister_image().
|
static |
"colour" command
argc | Argument count |
argv | Argument list |
rc | Return status code |
Definition at line 164 of file console_cmd.c.
References ansicol_define(), ANSICOL_NO_RGB, ansicol_set_pair(), colour, colour_cmd, COLOUR_DEFAULT, CPAIR_DEFAULT, memset(), optind, opts, parse_integer(), printf(), rc, reparse_options(), and strerror().
|
static |
"cpair" command
argc | Argument count |
argv | Argument list |
rc | Return status code |
Definition at line 221 of file console_cmd.c.
References ansicol_define_pair(), ansicol_set_pair(), COLOUR_DEFAULT, cpair_cmd, CPAIR_DEFAULT, memset(), optind, opts, parse_integer(), printf(), rc, reparse_options(), and strerror().
|
static |
"console" option list
Definition at line 54 of file console_cmd.c.
|
static |
"console" command descriptor
Definition at line 76 of file console_cmd.c.
Referenced by console_exec().
|
static |
"colour" option list
Definition at line 146 of file console_cmd.c.
|
static |
"colour" command descriptor
Definition at line 154 of file console_cmd.c.
Referenced by colour_exec().
|
static |
"cpair" option list
Definition at line 203 of file console_cmd.c.
|
static |
"cpair" command descriptor
Definition at line 211 of file console_cmd.c.
Referenced by cpair_exec().
struct command console_commands [] __command |
Console management commands.
Definition at line 254 of file console_cmd.c.