projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some missing consts in character set handling.
[u/mdw/putty]
/
charset
/
charset.h
diff --git
a/charset/charset.h
b/charset/charset.h
index
5f83edd
..
bf17032
100644
(file)
--- a/
charset/charset.h
+++ b/
charset/charset.h
@@
-98,7
+98,8
@@
typedef struct {
* U+FFFD (REPLACEMENT CHARACTER).
*/
* 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);
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).
*/
* 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);
int charset, charset_state *state,
const char *errstr, int errlen);