summaryrefslogtreecommitdiff
path: root/com32/hdt/hdt-cli.h
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-03-21 21:14:59 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-03-21 21:14:59 -0700
commit28fd82d6689537c497d8b5e01c69e70909a9ba8e (patch)
tree96073b7819410900f54f111ce75f4da02dd52686 /com32/hdt/hdt-cli.h
parent27f4ed1c7a989657b1568fbf32be75b001e24182 (diff)
downloadsyslinux-28fd82d6689537c497d8b5e01c69e70909a9ba8e.tar.gz
hdt: Final cleanups to switch to the new cli
Impact: Old cli code has been removed. This patch ends the transition to the new framework, the entire old code has been removed. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/hdt/hdt-cli.h')
-rw-r--r--com32/hdt/hdt-cli.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/com32/hdt/hdt-cli.h b/com32/hdt/hdt-cli.h
index 3bb6d19c..8da891f4 100644
--- a/com32/hdt/hdt-cli.h
+++ b/com32/hdt/hdt-cli.h
@@ -81,10 +81,10 @@ typedef enum {
} cli_mode_t;
struct s_cli {
- cli_mode_t mode;
- char prompt[32];
- char input[MAX_LINE_SIZE];
- int cursor_pos;
+ cli_mode_t mode;
+ char prompt[32];
+ char input[MAX_LINE_SIZE];
+ int cursor_pos;
};
struct s_cli hdt_cli;
@@ -148,32 +148,25 @@ void main_show(char *item, struct s_hardware *hardware);
#define CLI_DMI_LIST CLI_SHOW_LIST
#define CLI_DMI_MAX_MODULES 9
void main_show_dmi(int argc, char **argv, struct s_hardware *hardware);
-void handle_dmi_commands(char *cli_line, struct s_hardware *hardware);
void show_dmi_memory_modules(int argc, char** argv, struct s_hardware *hardware);
// PCI STUFF
#define CLI_PCI_DEVICE "device"
void main_show_pci(int argc, char **argv, struct s_hardware *hardware);
-void handle_pci_commands(char *cli_line, struct s_hardware *hardware);
void cli_detect_pci(struct s_hardware *hardware);
// CPU STUFF
void main_show_cpu(int argc, char **argv, struct s_hardware *hardware);
-void handle_cpu_commands(char *cli_line, struct s_hardware *hardware);
// PXE STUFF
void main_show_pxe(int argc, char **argv, struct s_hardware *hardware);
-void handle_pxe_commands(char *cli_line, struct s_hardware *hardware);
// KERNEL STUFF
void main_show_kernel(int argc, char **argv, struct s_hardware *hardware);
-void handle_kernel_commands(char *cli_line, struct s_hardware *hardware);
// SYSLINUX STUFF
void main_show_syslinux(int argc, char **argv, struct s_hardware *hardware);
-void handle_syslinux_commands(char *cli_line, struct s_hardware *hardware);
// VESA STUFF
void main_show_vesa(int argc, char **argv, struct s_hardware *hardware);
-void handle_vesa_commands(char *cli_line, struct s_hardware *hardware);
#endif