iconv_open-irix.gperf 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* Character set conversion.
  2. Copyright (C) 2007, 2020-2021 Free Software Foundation, Inc.
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU Lesser General Public License as published by
  5. the Free Software Foundation; either version 2, or (at your option)
  6. any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU Lesser General Public License for more details.
  11. You should have received a copy of the GNU Lesser General Public License along
  12. with this program; if not, see <https://www.gnu.org/licenses/>. */
  13. struct mapping { int standard_name; const char vendor_name[10 + 1]; };
  14. %struct-type
  15. %language=ANSI-C
  16. %define slot-name standard_name
  17. %define hash-function-name mapping_hash
  18. %define lookup-function-name mapping_lookup
  19. %readonly-tables
  20. %global-table
  21. %define word-array-name mappings
  22. %pic
  23. %%
  24. # On IRIX 6.5, look in /usr/lib/iconv and /usr/lib/international/encodings.
  25. ISO-8859-1, "ISO8859-1"
  26. ISO-8859-2, "ISO8859-2"
  27. ISO-8859-3, "ISO8859-3"
  28. ISO-8859-4, "ISO8859-4"
  29. ISO-8859-5, "ISO8859-5"
  30. ISO-8859-6, "ISO8859-6"
  31. ISO-8859-7, "ISO8859-7"
  32. ISO-8859-8, "ISO8859-8"
  33. ISO-8859-9, "ISO8859-9"
  34. ISO-8859-15, "ISO8859-15"
  35. KOI8-R, "KOI8"
  36. CP855, "DOS855"
  37. CP1251, "WIN1251"
  38. GB2312, "eucCN"
  39. EUC-JP, "eucJP"
  40. EUC-KR, "eucKR"
  41. EUC-TW, "eucTW"
  42. SHIFT_JIS, "sjis"
  43. TIS-620, "TIS620"