1 #include <linux/init.h>
3 /* unicode character */
8 int (*uni2char
) (wchar_t uni
, unsigned char *out
, int boundlen
);
9 int (*char2uni
) (const unsigned char *rawstring
, int boundlen
,
11 unsigned char *charset2lower
;
12 unsigned char *charset2upper
;
14 struct nls_table
*next
;
17 /* this value hold the maximum octet of charset */
18 #define NLS_MAX_CHARSET_SIZE 3
21 extern int register_nls(struct nls_table
*);
22 extern int unregister_nls(struct nls_table
*);
23 extern struct nls_table
*load_nls(char *);
24 extern void unload_nls(struct nls_table
*);
25 extern struct nls_table
*load_nls_default(void);
27 extern int utf8_mbtowc(wchar_t *, const __u8
*, int);
28 extern int utf8_mbstowcs(wchar_t *, const __u8
*, int);
29 extern int utf8_wctomb(__u8
*, wchar_t, int);
30 extern int utf8_wcstombs(__u8
*, const wchar_t *, int);