Imported from ../bash-3.2.48.tar.gz.
[platform/upstream/bash.git] / bashhist.h
index f17e7e7..654043c 100644 (file)
 
 #include "stdc.h"
 
+/* Flag values for history_control */
+#define HC_IGNSPACE    0x01
+#define HC_IGNDUPS     0x02
+#define HC_ERASEDUPS   0x04
+
+#define HC_IGNBOTH     (HC_IGNSPACE|HC_IGNDUPS)
+
 extern int remember_on_history;
+extern int enable_history_list;                /* value for `set -o history' */
+extern int literal_history;            /* controlled by `shopt lithist' */
+extern int force_append_history;
 extern int history_lines_this_session;
 extern int history_lines_in_file;
 extern int history_expansion;
@@ -31,6 +41,7 @@ extern int history_control;
 extern int command_oriented_history;
 extern int current_command_first_line_saved;
 extern int hist_last_line_added;
+extern int hist_last_line_pushed;
 
 #  if defined (BANG_HISTORY)
 extern int history_expansion_inhibited;