X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/193c58debae5ae0e21fe9716aed575a817940bfe..57191fa4be31f3d08b0ed0fcae6ae0ffefd837f6:/charset/charset.h diff --git a/charset/charset.h b/charset/charset.h index 5f83eddb..bf170323 100644 --- a/charset/charset.h +++ b/charset/charset.h @@ -98,7 +98,8 @@ typedef struct { * U+FFFD (REPLACEMENT CHARACTER). */ -int charset_to_unicode(char **input, int *inlen, wchar_t *output, int outlen, +int charset_to_unicode(const char **input, int *inlen, + wchar_t *output, int outlen, int charset, charset_state *state, const wchar_t *errstr, int errlen); @@ -121,7 +122,8 @@ int charset_to_unicode(char **input, int *inlen, wchar_t *output, int outlen, * output charset). */ -int charset_from_unicode(wchar_t **input, int *inlen, char *output, int outlen, +int charset_from_unicode(const wchar_t **input, int *inlen, + char *output, int outlen, int charset, charset_state *state, const char *errstr, int errlen);