summaryrefslogtreecommitdiff
path: root/com32/hdt/hdt-cli.h
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-02-20 17:27:37 +0100
committerH. Peter Anvin <hpa@zytor.com>2009-02-25 20:58:42 -0800
commita5958132faee353e188bc88d6760c41416644ef3 (patch)
tree4a21d3d9acf1189c89e4e8bdedc52168b737c8cf /com32/hdt/hdt-cli.h
parentd9ae1ce5eeef69549f044e38c3bc39623ea871bc (diff)
downloadsyslinux-a5958132faee353e188bc88d6760c41416644ef3.tar.gz
hdt: Using more struct s_hardware to remove static variables POC for the cli mode
Diffstat (limited to 'com32/hdt/hdt-cli.h')
-rw-r--r--com32/hdt/hdt-cli.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/com32/hdt/hdt-cli.h b/com32/hdt/hdt-cli.h
index e348c9b4..48bfa546 100644
--- a/com32/hdt/hdt-cli.h
+++ b/com32/hdt/hdt-cli.h
@@ -29,10 +29,15 @@
#ifndef DEFINE_HDT_CLI_H
#define DEFINE_HDT_CLI_H
#include <stdio.h>
+#include "hdt-common.h"
#define CLI_EXIT "exit"
#define CLI_HELP "help"
+#define CLI_SHOW "show"
+#define CLI_PCI "pci"
+#define CLI_DMI "dmi"
void show_cli_help();
void start_cli_mode(int argc, char *argv[]);
+void main_show(char *item, struct s_hardware *hardware);
#endif