summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libreadline/readline/history.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-05-13 15:48:04 +0000
committerache <ache@FreeBSD.org>1994-05-13 15:48:04 +0000
commitb772d1e49f137fdb0f34072572aa6ccdf24f61a2 (patch)
treeb88d5c25249bf0f2b44192dc7b0e94c38d6f30ac /gnu/lib/libreadline/readline/history.h
parent073116681cf05d0a7198d2ffc0a174a005275d5c (diff)
downloadFreeBSD-src-b772d1e49f137fdb0f34072572aa6ccdf24f61a2.zip
FreeBSD-src-b772d1e49f137fdb0f34072572aa6ccdf24f61a2.tar.gz
Upgrade to readline 2.0 from bash1.14.1
Diffstat (limited to 'gnu/lib/libreadline/readline/history.h')
-rw-r--r--gnu/lib/libreadline/readline/history.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/lib/libreadline/readline/history.h b/gnu/lib/libreadline/readline/history.h
index 72bdff9..2ef5424 100644
--- a/gnu/lib/libreadline/readline/history.h
+++ b/gnu/lib/libreadline/readline/history.h
@@ -125,6 +125,10 @@ extern int history_search ();
error message. */
extern int history_expand ();
+/* Return an array of tokens, much as the shell might. The tokens are
+ parsed out of STRING. */
+extern char **history_tokenize ();
+
/* Extract a string segment consisting of the FIRST through LAST
arguments present in STRING. Arguments are broken up as in
the shell. */
@@ -133,3 +137,13 @@ extern char *history_arg_extract ();
/* Return the number of bytes that the primary history entries are using.
This just adds up the lengths of the_history->lines. */
extern int history_total_bytes ();
+
+/* Exported history variables. */
+extern int history_stifled;
+extern int history_length;
+extern int max_input_history;
+extern char history_expansion_char;
+extern char history_subst_char;
+extern char history_comment_char;
+extern char *history_no_expand_chars;
+extern int history_base;
OpenPOWER on IntegriCloud