Imported from ../bash-2.0.tar.gz.
[platform/upstream/bash.git] / lib / readline / history.h
index 6935efd..17ec877 100644 (file)
@@ -1,4 +1,26 @@
 /* History.h -- the names of functions that you can call in history. */
+/* Copyright (C) 1989, 1992 Free Software Foundation, Inc.
+
+   This file contains the GNU History Library (the Library), a set of
+   routines for managing the text of previously typed lines.
+
+   The Library is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 1, or (at your option)
+   any later version.
+
+   The Library is distributed in the hope that it will be useful, but
+   WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
+
+   The GNU General Public License is often shipped with GNU software, and
+   is generally kept in a file called COPYING or LICENSE.  If you do not
+   have a copy of the license, write to the Free Software Foundation,
+   675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#ifndef _HISTORY_H_
+#define _HISTORY_H_
 
 /* The structure used to store a history entry. */
 typedef struct _hist_entry {
@@ -46,6 +68,9 @@ extern HIST_ENTRY *remove_history ();
    invalid WHICH, a NULL pointer is returned. */
 extern HIST_ENTRY *replace_history_entry ();
 
+/* Clear the history list and start over. */
+extern void clear_history ();
+
 /* Stifle the history list, remembering only MAX number of entries. */
 extern void stifle_history ();
 
@@ -179,3 +204,7 @@ extern char history_expansion_char;
 extern char history_subst_char;
 extern char history_comment_char;
 extern char *history_no_expand_chars;
+extern char *history_search_delimiter_chars;
+extern int history_quotes_inhibit_expansion;
+
+#endif /* !_HISTORY_H_ */