diff --git a/libcutils/jstring.h b/libcutils/jstring.h index 6ede786..c75a490 100644 --- a/libcutils/jstring.h +++ b/libcutils/jstring.h @@ -32,6 +32,10 @@ extern char * strndup16to8 (const char16_t* s, size_t n); extern size_t strnlen16to8 (const char16_t* s, size_t n); extern char * strncpy16to8 (char *dest, const char16_t*s, size_t n); +extern char16_t * strdup8to16 (const char* s, size_t *out_len); +extern size_t strlen8to16 (const char* utf8Str); +extern char16_t * strcpy8to16 (char16_t *dest, const char*s, size_t *out_len); + #ifdef __cplusplus } #endif