changeset 29723:9d85d8264c59

(struct ccl_program): New member eol_type. (struct ccl_spec): New member cr_carryover.
author Kenichi Handa <handa@m17n.org>
date Mon, 19 Jun 2000 05:15:51 +0000
parents 4a60ce7cede2
children caf7f927357c
files src/ccl.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ccl.h	Mon Jun 19 05:15:04 2000 +0000
+++ b/src/ccl.h	Mon Jun 19 05:15:51 2000 +0000
@@ -53,6 +53,10 @@
 				   many times bigger the output buffer
 				   should be than the input buffer.  */
   int stack_idx;		/* How deep the call of CCL_Call is nested.  */
+  int eol_type;			/* When the CCL program is used for
+				   encoding by a coding system, set to
+				   the eol_type of the coding
+				   system.  */
 };
 
 /* This data type is used for the spec field of the structure
@@ -62,6 +66,7 @@
   struct ccl_program decoder;
   struct ccl_program encoder;
   unsigned char valid_codes[256];
+  int cr_carryover;		/* CR carryover flag.  */
 };
 
 /* Alist of fontname patterns vs corresponding CCL program.  */