1 /* 2 * This file has been modified for the cdrkit suite. 3 * 4 * The behaviour and appearence of the program code below can differ to a major 5 * extent from the version distributed by the original author(s). 6 * 7 * For details, see Changelog file distributed with the cdrkit package. If you 8 * received this file from another source then ask the distributing person for 9 * a log of modifications. 10 * 11 */ 12 13 /* @(#)nls.h 1.7 05/05/01 2000 J. Schilling */ 14 /* 15 * Modifications to make the code portable Copyright (c) 2000 J. Schilling 16 * Thanks to Georgy Salnikov <sge@nmr.nioch.nsc.ru> 17 * 18 * Code taken from the Linux kernel. 19 */ 20 /* 21 * This program is free software; you can redistribute it and/or modify 22 * it under the terms of the GNU General Public License version 2 23 * as published by the Free Software Foundation. 24 * 25 * This program is distributed in the hope that it will be useful, 26 * but WITHOUT ANY WARRANTY; without even the implied warranty of 27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28 * GNU General Public License for more details. 29 * 30 * You should have received a copy of the GNU General Public License along with 31 * this program; see the file COPYING. If not, write to the Free Software 32 * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 33 */ 34 35 #ifndef _NLS_H 36 #define _NLS_H 37 38 #include <unls.h> 39 40 #ifndef NULL 41 #define NULL ((void *)0) 42 #endif 43 44 #define MOD_INC_USE_COUNT 45 #define MOD_DEC_USE_COUNT 46 47 #define CONFIG_NLS_CODEPAGE_437 48 #define CONFIG_NLS_CODEPAGE_737 49 #define CONFIG_NLS_CODEPAGE_775 50 #define CONFIG_NLS_CODEPAGE_850 51 #define CONFIG_NLS_CODEPAGE_852 52 #define CONFIG_NLS_CODEPAGE_855 53 #define CONFIG_NLS_CODEPAGE_857 54 #define CONFIG_NLS_CODEPAGE_860 55 #define CONFIG_NLS_CODEPAGE_861 56 #define CONFIG_NLS_CODEPAGE_862 57 #define CONFIG_NLS_CODEPAGE_863 58 #define CONFIG_NLS_CODEPAGE_864 59 #define CONFIG_NLS_CODEPAGE_865 60 #define CONFIG_NLS_CODEPAGE_866 61 #define CONFIG_NLS_CODEPAGE_869 62 #define CONFIG_NLS_CODEPAGE_874 63 #define CONFIG_NLS_CODEPAGE_1250 64 #define CONFIG_NLS_CODEPAGE_1251 65 #define CONFIG_NLS_ISO8859_1 66 #define CONFIG_NLS_ISO8859_2 67 #define CONFIG_NLS_ISO8859_3 68 #define CONFIG_NLS_ISO8859_4 69 #define CONFIG_NLS_ISO8859_5 70 #define CONFIG_NLS_ISO8859_6 71 #define CONFIG_NLS_ISO8859_7 72 #define CONFIG_NLS_ISO8859_8 73 #define CONFIG_NLS_ISO8859_9 74 #define CONFIG_NLS_ISO8859_14 75 #define CONFIG_NLS_ISO8859_15 76 #define CONFIG_NLS_KOI8_R 77 #define CONFIG_NLS_KOI8_U 78 79 #define CONFIG_NLS_CODEPAGE_10000 80 #define CONFIG_NLS_CODEPAGE_10006 81 #define CONFIG_NLS_CODEPAGE_10007 82 #define CONFIG_NLS_CODEPAGE_10029 83 #define CONFIG_NLS_CODEPAGE_10079 84 #define CONFIG_NLS_CODEPAGE_10081 85 86 extern int init_unls_iso8859_1(void); 87 extern int init_unls_iso8859_2(void); 88 extern int init_unls_iso8859_3(void); 89 extern int init_unls_iso8859_4(void); 90 extern int init_unls_iso8859_5(void); 91 extern int init_unls_iso8859_6(void); 92 extern int init_unls_iso8859_7(void); 93 extern int init_unls_iso8859_8(void); 94 extern int init_unls_iso8859_9(void); 95 extern int init_unls_iso8859_14(void); 96 extern int init_unls_iso8859_15(void); 97 extern int init_unls_cp437(void); 98 extern int init_unls_cp737(void); 99 extern int init_unls_cp775(void); 100 extern int init_unls_cp850(void); 101 extern int init_unls_cp852(void); 102 extern int init_unls_cp855(void); 103 extern int init_unls_cp857(void); 104 extern int init_unls_cp860(void); 105 extern int init_unls_cp861(void); 106 extern int init_unls_cp862(void); 107 extern int init_unls_cp863(void); 108 extern int init_unls_cp864(void); 109 extern int init_unls_cp865(void); 110 extern int init_unls_cp866(void); 111 extern int init_unls_cp869(void); 112 extern int init_unls_cp874(void); 113 extern int init_unls_cp1250(void); 114 extern int init_unls_cp1251(void); 115 extern int init_unls_koi8_r(void); 116 extern int init_unls_koi8_u(void); 117 118 extern int init_unls_cp10000(void); 119 extern int init_unls_cp10006(void); 120 extern int init_unls_cp10007(void); 121 extern int init_unls_cp10029(void); 122 extern int init_unls_cp10079(void); 123 extern int init_unls_cp10081(void); 124 extern int init_unls_file(char *name); 125 126 #ifdef USE_ICONV 127 extern int init_nls_iconv(char *name); 128 #endif 129 130 #endif /* _NLS_H */ 131