Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
417:43a18b32d56e | 418:e804706bfb8c |
---|---|
41 int buf_magnification; /* Output buffer magnification. How | 41 int buf_magnification; /* Output buffer magnification. How |
42 many times bigger the output buffer | 42 many times bigger the output buffer |
43 should be than the input buffer. */ | 43 should be than the input buffer. */ |
44 }; | 44 }; |
45 | 45 |
46 | |
47 #define CCL_MODE_ENCODING 0 | |
48 #define CCL_MODE_DECODING 1 | |
49 | |
46 int ccl_driver (struct ccl_program *ccl, CONST unsigned char *source, | 50 int ccl_driver (struct ccl_program *ccl, CONST unsigned char *source, |
47 unsigned_char_dynarr *destination, int src_bytes, int *consumed); | 51 unsigned_char_dynarr *destination, int src_bytes, |
52 int *consumed, int conversion_mode); | |
48 void setup_ccl_program (struct ccl_program *ccl, Lisp_Object val); | 53 void setup_ccl_program (struct ccl_program *ccl, Lisp_Object val); |
49 | 54 |
50 /* Alist of fontname patterns vs corresponding CCL program. */ | 55 /* Alist of fontname patterns vs corresponding CCL program. */ |
51 extern Lisp_Object Vfont_ccl_encoder_alist; | 56 extern Lisp_Object Vfont_ccl_encoder_alist; |
52 | 57 |