diff options
Diffstat (limited to 'ext/Encode/encode.h')
-rw-r--r-- | ext/Encode/encode.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/Encode/encode.h b/ext/Encode/encode.h index 10f8386ed2..604b97f99d 100644 --- a/ext/Encode/encode.h +++ b/ext/Encode/encode.h @@ -1,3 +1,5 @@ +#ifndef ENCODE_H +#define ENCODE_H #ifndef U8 typedef unsigned char U8; #endif @@ -24,3 +26,14 @@ struct encode_s int replen; }; +#ifdef U8 +extern int do_encode(encpage_t *enc, const U8 *src, STRLEN *slen, + U8 *dst, STRLEN dlen, STRLEN *dout); + +extern void Encode_DefineEncoding(encode_t *enc); +#endif + +#define ENCODE_NOSPACE 1 +#define ENCODE_PARTIAL 2 +#define ENCODE_NOREP 3 +#endif |