aboutsummaryrefslogtreecommitdiffstats
path: root/bashhist.h
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2004-07-27 13:29:18 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:56 +0000
commitb80f6443b6b7b620c7272664c66ecb0b120a0998 (patch)
tree9f71c98d8fe8fa0f41d95e1eb4227f32a09d43ca /bashhist.h
parent7117c2d221b2aed4ede8600f6a36b7c1454b4f55 (diff)
downloadandroid_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.tar.gz
android_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.tar.bz2
android_external_bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.zip
Imported from ../bash-3.0.tar.gz.
Diffstat (limited to 'bashhist.h')
-rw-r--r--bashhist.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/bashhist.h b/bashhist.h
index f17e7e7..a4edb50 100644
--- a/bashhist.h
+++ b/bashhist.h
@@ -23,6 +23,13 @@
#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 history_lines_this_session;
extern int history_lines_in_file;