aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-12-09 21:46:24 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-12-09 21:46:24 +0200
commit28f187d2b3871c0e76d301b51c4b4855bd3c56e4 (patch)
treeb6b56858a715d6402d14da96f78cd9b013e61f18 /awk.h
parentf634938f90ef8c85cfd9ca7421f10f4b70c0137e (diff)
parent134fa0445295460d897661ee18027c645b2baa73 (diff)
downloadegawk-28f187d2b3871c0e76d301b51c4b4855bd3c56e4.tar.gz
egawk-28f187d2b3871c0e76d301b51c4b4855bd3c56e4.tar.bz2
egawk-28f187d2b3871c0e76d301b51c4b4855bd3c56e4.zip
Merge branch 'gawk-4.0-stable'
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/awk.h b/awk.h
index a35484f0..b521b9d2 100644
--- a/awk.h
+++ b/awk.h
@@ -921,6 +921,15 @@ struct redirect {
awk_output_buf_t output;
};
+/* values for BINMODE, used as bit flags */
+
+enum binmode_values {
+ TEXT_TRANSLATE = 0, /* usual \r\n ---> \n translation */
+ BINMODE_INPUT = 1, /* no translation for input files */
+ BINMODE_OUTPUT = 2, /* no translation for output files */
+ BINMODE_BOTH = 3 /* no translation for either */
+};
+
/*
* structure for our source, either a command line string or a source file.
*/