Lines Matching refs:charset_t
67 typedef enum {CH_UCS2=0, CH_UTF8=1, CH_MAC=2, CH_UNIX=3, CH_UTF8_MAC=4} charset_t;
128 extern size_t convert_string (charset_t, charset_t, void const *, size_t, void *, size_t);
129 extern size_t convert_string_allocate (charset_t, charset_t, void const *, size_t, char **);
134 extern size_t charset_strupper (charset_t, const char *, size_t, char *, size_t);
135 extern size_t charset_strlower (charset_t, const char *, size_t, char *, size_t);
137 extern size_t charset_to_ucs2_allocate (charset_t, ucs2_t **dest, const char *src);
138 extern size_t charset_to_utf8_allocate (charset_t, char **dest, const char *src);
139 extern size_t ucs2_to_charset_allocate (charset_t, char **dest, const ucs2_t *src);
140 extern size_t utf8_to_charset_allocate (charset_t, char **dest, const char *src);
141 extern size_t ucs2_to_charset (charset_t, const ucs2_t *src, char *dest, size_t);
143 extern size_t convert_charset (charset_t, charset_t, charset_t, const char *, size_t, char *, size_t, u_int16_t *);
145 extern size_t charset_precompose ( charset_t, char *, size_t, char *, size_t);
146 extern size_t charset_decompose ( charset_t, char *, size_t, char *, size_t);
150 extern charset_t add_charset (const char* name);