4 typedef unsigned char U8;
7 typedef struct encpage_s encpage_t;
19 typedef struct encode_s encode_t;
32 extern int do_encode(encpage_t *enc, const U8 *src, STRLEN *slen,
33 U8 *dst, STRLEN dlen, STRLEN *dout, int approx);
35 extern void Encode_DefineEncoding(encode_t *enc);
38 #define ENCODE_NOSPACE 1
39 #define ENCODE_PARTIAL 2
40 #define ENCODE_NOREP 3
41 #define ENCODE_FALLBACK 4