summaryrefslogtreecommitdiff
path: root/src/ccl.h
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2000-06-19 05:15:51 +0000
committerKenichi Handa <handa@m17n.org>2000-06-19 05:15:51 +0000
commit8538ed9a98d2502d6c2508b5bd4ca0a5b0b1faf6 (patch)
treea2da4ffbbfb46ff6151ce07bcb61fcb2f11f7ac9 /src/ccl.h
parentaf873cd1e631f04a3bc6c046cc11c01adb7500b2 (diff)
downloademacs-8538ed9a98d2502d6c2508b5bd4ca0a5b0b1faf6.tar.gz
(struct ccl_program): New member eol_type.
(struct ccl_spec): New member cr_carryover.
Diffstat (limited to 'src/ccl.h')
-rw-r--r--src/ccl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ccl.h b/src/ccl.h
index 7a4a88bc3cd..9086edf6d7d 100644
--- a/src/ccl.h
+++ b/src/ccl.h
@@ -53,6 +53,10 @@ struct ccl_program {
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_spec {
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. */