diff options
Diffstat (limited to 'include/mbsalign.h')
-rw-r--r-- | include/mbsalign.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbsalign.h b/include/mbsalign.h index 6e56755..c142610 100644 --- a/include/mbsalign.h +++ b/include/mbsalign.h @@ -55,6 +55,7 @@ extern size_t mbs_width(const char *s); extern char *mbs_safe_encode(const char *s, size_t *width); extern char *mbs_safe_encode_to_buffer(const char *s, size_t *width, char *buf, const char *safechars); extern size_t mbs_safe_encode_size(size_t bytes); +extern size_t mbs_safe_decode_size(const char *s); extern char *mbs_invalid_encode(const char *s, size_t *width); extern char *mbs_invalid_encode_to_buffer(const char *s, size_t *width, char *buf); |