Back to index

glibc  2.9
ibm1371.c
Go to the documentation of this file.
00001 /* Conversion from and to IBM1371.
00002    Copyright (C) 2005 Free Software Foundation, Inc.
00003    This file is part of the GNU C Library.
00004    Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2005.
00005 
00006    The GNU C Library is free software; you can redistribute it and/or
00007    modify it under the terms of the GNU Lesser General Public
00008    License as published by the Free Software Foundation; either
00009    version 2.1 of the License, or (at your option) any later version.
00010 
00011    The GNU C Library is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014    Lesser General Public License for more details.
00015 
00016    You should have received a copy of the GNU Lesser General Public
00017    License along with the GNU C Library; if not, write to the Free
00018    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00019    02111-1307 USA.  */
00020 
00021 #define DATA_HEADER  "ibm1371.h"
00022 #define CHARSET_NAME "IBM1371//"
00023 #define FROM_LOOP    from_ibm1371
00024 #define TO_LOOP             to_ibm1371
00025 #define SB_TO_UCS4   __ibm1371sb_to_ucs4
00026 #define DB_TO_UCS4_IDX      __ibm1371db_to_ucs4_idx
00027 #define DB_TO_UCS4   __ibm1371db_to_ucs4
00028 #define UCS4_TO_SB_IDX      __ucs4_to_ibm1371sb_idx
00029 #define UCS4_TO_SB   __ucs4_to_ibm1371sb
00030 #define UCS4_TO_DB_IDX      __ucs4_to_ibm1371db_idx
00031 #define UCS4_TO_DB   __ucs4_to_ibm1371db
00032 #define UCS_LIMIT    0xffff
00033 
00034 #include "ibm1364.c"