summaryrefslogtreecommitdiff
path: root/histlib.h
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2022-09-26 11:53:27 -0400
committerChet Ramey <chet.ramey@case.edu>2022-09-26 11:53:27 -0400
commitf7a382fd09319b20ef4435b9b554183b605468c1 (patch)
tree445f363418c287fc9994c7b51d412e6765e3450a /histlib.h
parent5263c0d88064fda96292335d12eec1733f91cdc9 (diff)
downloadreadline-f7a382fd09319b20ef4435b9b554183b605468c1.tar.gz
readline-8.2 distribution sources and documentationreadline-8.2
Diffstat (limited to 'histlib.h')
-rw-r--r--histlib.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/histlib.h b/histlib.h
index 9627b24..29fc4d2 100644
--- a/histlib.h
+++ b/histlib.h
@@ -1,6 +1,6 @@
/* histlib.h -- internal definitions for the history library. */
-/* Copyright (C) 1989-2009 Free Software Foundation, Inc.
+/* Copyright (C) 1989-2009,2021-2022 Free Software Foundation, Inc.
This file contains the GNU History Library (History), a set of
routines for managing the text of previously typed lines.
@@ -80,6 +80,13 @@ extern char *strchr ();
/* internal extern function declarations used by other parts of the library */
/* histsearch.c */
-extern int _hs_history_patsearch PARAMS((const char *, int, int));
+extern int _hs_history_patsearch (const char *, int, int);
+
+/* history.c */
+extern void _hs_replace_history_data (int, histdata_t *, histdata_t *);
+extern int _hs_at_end_of_history (void);
+
+/* histfile.c */
+extern void _hs_append_history_line (int, const char *);
#endif /* !_HISTLIB_H_ */