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