Mercurial > hg > xemacs-beta
diff src/mule-ccl.h @ 418:e804706bfb8c r21-2-17
Import from CVS: tag r21-2-17
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:23:13 +0200 |
parents | 697ef44129c6 |
children | 95016f13131a |
line wrap: on
line diff
--- a/src/mule-ccl.h Mon Aug 13 11:22:24 2007 +0200 +++ b/src/mule-ccl.h Mon Aug 13 11:23:13 2007 +0200 @@ -43,8 +43,13 @@ should be than the input buffer. */ }; + +#define CCL_MODE_ENCODING 0 +#define CCL_MODE_DECODING 1 + int ccl_driver (struct ccl_program *ccl, CONST unsigned char *source, - unsigned_char_dynarr *destination, int src_bytes, int *consumed); + unsigned_char_dynarr *destination, int src_bytes, + int *consumed, int conversion_mode); void setup_ccl_program (struct ccl_program *ccl, Lisp_Object val); /* Alist of fontname patterns vs corresponding CCL program. */