aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/config.h
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@linux.intel.com>2011-03-31 14:50:19 +0100
committerMatt Fleming <matt.fleming@linux.intel.com>2011-04-01 09:58:02 +0100
commitf97510383b700984948ad4a1c961b67501a2ac48 (patch)
tree00c8993ea296a5a26d47671da7f50339950fc8b3 /com32/elflink/ldlinux/config.h
parentf8d263e69d65c4257a49bc1a70428e89d492e361 (diff)
downloadsyslinux-f97510383b700984948ad4a1c961b67501a2ac48.tar.gz
syslinux-f97510383b700984948ad4a1c961b67501a2ac48.tar.xz
syslinux-f97510383b700984948ad4a1c961b67501a2ac48.zip
ldlinux, cli: Add support for F-keys
The old asm command-line interface had support for printing files containing help messages when the F-keys (F1-F10) were pressed. Add this support to ldlinux. The config parser already had support for parsing config files with F-key directives and the cli code already had support for executing callbacks when one of the F-keys was hit, so this patch simply glues all the pieces together and provides a function to cat the help file. Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/config.h')
-rw-r--r--com32/elflink/ldlinux/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/elflink/ldlinux/config.h b/com32/elflink/ldlinux/config.h
index 37c57da1..8f708f14 100644
--- a/com32/elflink/ldlinux/config.h
+++ b/com32/elflink/ldlinux/config.h
@@ -36,4 +36,6 @@ extern short nohalt; //idle.inc
extern const char *default_cmd; //"default" command line
extern const char *onerror; //"onerror" command line
+extern void cat_help_file(int key);
+
#endif /* __CONFIG_H__ */