diff options
author | Jari Aalto <jari.aalto@cante.net> | 1996-12-23 17:02:34 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:49 +0000 |
commit | ccc6cda312fea9f0468ee65b8f368e9653e1380b (patch) | |
tree | b059878adcfd876c4acb8030deda1eeb918c7e75 /bashhist.h | |
parent | 726f63884db0132f01745f1fb4465e6621088ccf (diff) | |
download | bash-ccc6cda312fea9f0468ee65b8f368e9653e1380b.tar.gz |
Imported from ../bash-2.0.tar.gz.
Diffstat (limited to 'bashhist.h')
-rw-r--r-- | bashhist.h | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -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_ */ |