1struct mapping { int standard_name; const char vendor_name[10 + 1]; }; 2%struct-type 3%language=ANSI-C 4%define slot-name standard_name 5%define hash-function-name mapping_hash 6%define lookup-function-name mapping_lookup 7%readonly-tables 8%global-table 9%define word-array-name mappings 10%pic 11%% 12# On Solaris 10, look in the "iconv -l" output. Some aliases are advertised but 13# not actually supported by the iconv() function and by the 'iconv' program. 14# For example: 15# $ echo abc | iconv -f 646 -t ISO-8859-1 16# Not supported 646 to ISO-8859-1 17# $ echo abc | iconv -f 646 -t ISO8859-1 18$ abc 19ASCII, "646" 20ISO-8859-1, "ISO8859-1" 21ISO-8859-2, "ISO8859-2" 22ISO-8859-3, "ISO8859-3" 23ISO-8859-4, "ISO8859-4" 24ISO-8859-5, "ISO8859-5" 25ISO-8859-6, "ISO8859-6" 26ISO-8859-7, "ISO8859-7" 27ISO-8859-8, "ISO8859-8" 28ISO-8859-9, "ISO8859-9" 29ISO-8859-15, "ISO8859-15" 30CP1251, "ansi-1251" 31