1/* Character set conversion.
2   Copyright (C) 2019-2021 Free Software Foundation, Inc.
3
4   This file is free software: you can redistribute it and/or modify
5   it under the terms of the GNU Lesser General Public License as
6   published by the Free Software Foundation; either version 2.1 of the
7   License, or (at your option) any later version.
8
9   This file is distributed in the hope that it will be useful,
10   but WITHOUT ANY WARRANTY; without even the implied warranty of
11   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12   GNU Lesser General Public License for more details.
13
14   You should have received a copy of the GNU Lesser General Public License
15   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
16
17struct mapping { int standard_name; const char vendor_name[10 + 1]; };
18%struct-type
19%language=ANSI-C
20%define slot-name standard_name
21%define hash-function-name mapping_hash
22%define lookup-function-name mapping_lookup
23%readonly-tables
24%global-table
25%define word-array-name mappings
26%pic
27%%
28ASCII, "00367"
29ISO-8859-1, "ISO8859-1"
30ISO-8859-2, "ISO8859-2"
31ISO-8859-3, "00913"
32ISO-8859-4, "ISO8859-4"
33ISO-8859-5, "ISO8859-5"
34ISO-8859-6, "ISO8859-6"
35ISO-8859-7, "ISO8859-7"
36ISO-8859-8, "05012"
37ISO-8859-9, "ISO8859-9"
38ISO-8859-13, "ISO8859-13"
39ISO-8859-15, "ISO8859-15"
40KOI8-R, "00878"
41KOI8-U, "01168"
42CP437, "IBM-437"
43CP775, "00775"
44CP850, "09042"
45CP852, "IBM-852"
46CP855, "13143"
47CP856, "IBM-856"
48CP857, "00857"
49CP861, "IBM-861"
50CP862, "IBM-862"
51CP864, "IBM-864"
52CP865, "00865"
53CP866, "04962"
54CP869, "IBM-869"
55CP874, "TIS-620"
56CP922, "IBM-922"
57CP932, "IBM-943"
58CP943, "IBM-943"
59CP949, "IBM-1363"
60CP1046, "IBM-1046"
61CP1124, "IBM-1124"
62CP1125, "IBM-1125"
63CP1129, "01129"
64CP1131, "01131"
65CP1250, "IBM-5346"
66CP1251, "IBM-5347"
67CP1252, "IBM-5348"
68CP1253, "IBM-5349"
69CP1254, "IBM-5350"
70CP1255, "09447"
71CP1256, "09448"
72CP1257, "09449"
73GB2312, "IBM-eucCN"
74EUC-JP, "01350"
75EUC-KR, "IBM-eucKR"
76GBK, "IBM-1386"
77