X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fmule-ccl.h;fp=src%2Fmule-ccl.h;h=68cbb76349162de9f0c066892f48bba8d336ca64;hb=44e716ef11bd794a51f8c5b56c4f3f10a7dbf217;hp=10c759d545c25799d27dbd107a0b14e98ae6340d;hpb=2416430cb588c7f7a7ca990d536c092f3af3a0b9;p=chise%2Fxemacs-chise.git.1 diff --git a/src/mule-ccl.h b/src/mule-ccl.h index 10c759d..68cbb76 100644 --- a/src/mule-ccl.h +++ b/src/mule-ccl.h @@ -43,8 +43,13 @@ struct ccl_program { 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. */