libmtp: unicode.h Source File

libmtp 1.1.20

unicode.h
Go to the documentation of this file.
1
32#ifndef __MTP__UNICODE__H
33#define __MTP__UNICODE__H
34
35int ucs2_strlen(uint16_t const * const);
36char *utf16_to_utf8(LIBMTP_mtpdevice_t*,const uint16_t*);
37uint16_t *utf8_to_utf16(LIBMTP_mtpdevice_t*, const char*);
38void strip_7bit_from_utf8(char *str);
39
40#endif /* __MTP__UNICODE__H */
LIBMTP_mtpdevice_struct
Definition: libmtp.h:635
utf16_to_utf8
char * utf16_to_utf8(LIBMTP_mtpdevice_t *, const uint16_t *)
Definition: unicode.c:77
ucs2_strlen
int ucs2_strlen(uint16_t const *const)
Definition: unicode.c:59
strip_7bit_from_utf8
void strip_7bit_from_utf8(char *str)
Definition: unicode.c:154
utf8_to_utf16
uint16_t * utf8_to_utf16(LIBMTP_mtpdevice_t *, const char *)
Definition: unicode.c:112