static void test_nls_base(void) { wchar_t p=0x20; __u8 s=0x01; int n=2; struct nls_table nls; char charset[20]="David"; load_nls_default(); register_nls(&nls); unload_nls(&nls); load_nls(charset); unregister_nls(&nls); utf8_mbtowc(&p, &s, n); utf8_mbstowcs(&p, &s, n); n=20; utf8_wctomb(&s, p, n); utf8_wcstombs(&s, &p, n); }
void cleanup_module(void) { unregister_nls(&table); return; }
static void __exit exit_nls_gb2312(void) { unregister_nls(&table); unload_nls(p_nls); }
static void __exit exit_nls_euc_jp(void) { unregister_nls(&table); unload_nls(p_nls); }
static void __exit exit_nls_koi8_ru(void) { unregister_nls(&table); unload_nls(p_nls); }
static void __exit exit_nls_ascii(void) { unregister_nls(&table); }
static void __exit exit_nls_maccyrillic(void) { unregister_nls(&table); }
static void __exit exit_nls_maccenteuro(void) { unregister_nls(&table); }
static void __exit exit_nls_macroman(void) { unregister_nls(&table); }
static void __exit exit_nls_koi8_u(void) { unregister_nls(&table); }
static void __exit exit_nls_utf8(void) { unregister_nls(&table); }
static void __exit exit_nls_macgreek(void) { unregister_nls(&table); }
void exit_nls_cp1250(void) { unregister_nls(&table); }
static void __exit exit_nls_iso8859_7(void) { unregister_nls(&table); }
static void __exit exit_nls_macinuit(void) { unregister_nls(&table); }
static void __exit exit_nls_cp861(void) { unregister_nls(&table); }
void exit_nls_iso8859_9(void) { unregister_nls(&table); }