summaryrefslogtreecommitdiff
path: root/bashhist.h
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>1996-12-23 17:02:34 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:49 +0000
commitccc6cda312fea9f0468ee65b8f368e9653e1380b (patch)
treeb059878adcfd876c4acb8030deda1eeb918c7e75 /bashhist.h
parent726f63884db0132f01745f1fb4465e6621088ccf (diff)
downloadbash-ccc6cda312fea9f0468ee65b8f368e9653e1380b.tar.gz
Imported from ../bash-2.0.tar.gz.
Diffstat (limited to 'bashhist.h')
-rw-r--r--bashhist.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/bashhist.h b/bashhist.h
index c1c24fc5..409f5311 100644
--- a/bashhist.h
+++ b/bashhist.h
@@ -18,8 +18,8 @@
with Bash; see the file COPYING. If not, write to the Free Software
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-#if !defined (__BASHHIST_H__)
-#define __BASHHIST_H__
+#if !defined (_BASHHIST_H_)
+#define _BASHHIST_H_
extern int remember_on_history;
extern int history_lines_this_session;
@@ -32,11 +32,20 @@ extern int command_oriented_history;
extern int history_expansion_inhibited;
# endif /* BANG_HISTORY */
+extern void bash_initialize_history ();
+extern void bash_history_reinit ();
+extern void bash_history_disable ();
+extern void bash_history_enable ();
extern void load_history ();
extern void save_history ();
+extern int maybe_append_history ();
extern int maybe_save_shell_history ();
extern char *pre_process_line ();
extern int history_number ();
extern void maybe_add_history ();
-#endif /* __BASHHIST_H__ */
+extern void setup_history_ignore ();
+
+extern char *last_history_line ();
+
+#endif /* _BASHHIST_H_ */