root/ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * "streamable kanji code filter and converter"
   3  * Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
   4  *
   5  * LICENSE NOTICES
   6  *
   7  * This file is part of "streamable kanji code filter and converter",
   8  * which is distributed under the terms of GNU Lesser General Public
   9  * License (version 2) as published by the Free Software Foundation.
  10  *
  11  * This software is distributed in the hope that it will be useful,
  12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14  * GNU Lesser General Public License for more details.
  15  *
  16  * You should have received a copy of the GNU Lesser General Public
  17  * License along with "streamable kanji code filter and converter";
  18  * if not, write to the Free Software Foundation, Inc., 59 Temple Place,
  19  * Suite 330, Boston, MA  02111-1307  USA
  20  *
  21  * The author of this file: Moriyoshi Koizumi <koizumi@gree.co.jp>
  22  *
  23  */
  24 
  25 #ifndef MBFILTER_TL_KANA_JISX0201_JISX0208_H
  26 #define MBFILTER_TL_KANA_JISX0201_JISX0208_H
  27 
  28 #include "mbfl_convert.h"
  29 
  30 #define MBFL_FILT_TL_HAN2ZEN_ALL       0x00000001
  31 #define MBFL_FILT_TL_HAN2ZEN_ALPHA     0x00000002
  32 #define MBFL_FILT_TL_HAN2ZEN_NUMERIC   0x00000004
  33 #define MBFL_FILT_TL_HAN2ZEN_SPACE     0x00000008
  34 #define MBFL_FILT_TL_ZEN2HAN_ALL       0x00000010
  35 #define MBFL_FILT_TL_ZEN2HAN_ALPHA     0x00000020
  36 #define MBFL_FILT_TL_ZEN2HAN_NUMERIC   0x00000040
  37 #define MBFL_FILT_TL_ZEN2HAN_SPACE     0x00000080
  38 #define MBFL_FILT_TL_HAN2ZEN_KATAKANA  0x00000100
  39 #define MBFL_FILT_TL_HAN2ZEN_HIRAGANA  0x00000200
  40 #define MBFL_FILT_TL_HAN2ZEN_GLUE      0x00000800
  41 #define MBFL_FILT_TL_ZEN2HAN_KATAKANA  0x00001000
  42 #define MBFL_FILT_TL_ZEN2HAN_HIRAGANA  0x00002000
  43 #define MBFL_FILT_TL_ZEN2HAN_HIRA2KANA 0x00010000
  44 #define MBFL_FILT_TL_ZEN2HAN_KANA2HIRA 0x00020000
  45 #define MBFL_FILT_TL_HAN2ZEN_COMPAT1   0x00100000
  46 #define MBFL_FILT_TL_ZEN2HAN_COMPAT1   0x00200000
  47 #define MBFL_FILT_TL_HAN2ZEN_COMPAT2   0x00400000
  48 #define MBFL_FILT_TL_ZEN2HAN_COMPAT2   0x00800000
  49 #define MBFL_FILT_TL_HAN2ZEN_MASK ( \
  50         MBFL_FILT_TL_HAN2ZEN_ALL |\
  51         MBFL_FILT_TL_HAN2ZEN_ALPHA |\
  52         MBFL_FILT_TL_HAN2ZEN_NUMERIC |\
  53         MBFL_FILT_TL_HAN2ZEN_SPACE |\
  54         MBFL_FILT_TL_HAN2ZEN_KATAKANA |\
  55         MBFL_FILT_TL_HAN2ZEN_HIRAGANA |\
  56         MBFL_FILT_TL_HAN2ZEN_GLUE |\
  57         MBFL_FILT_TL_HAN2ZEN_COMPAT1 |\
  58         MBFL_FILT_TL_HAN2ZEN_COMPAT2)
  59 #define MBFL_FILT_TL_ZEN2HAN_MASK ( \
  60         MBFL_FILT_TL_ZEN2HAN_ALL | \
  61         MBFL_FILT_TL_ZEN2HAN_ALPHA | \
  62         MBFL_FILT_TL_ZEN2HAN_NUMERIC | \
  63         MBFL_FILT_TL_ZEN2HAN_SPACE | \
  64         MBFL_FILT_TL_ZEN2HAN_KATAKANA | \
  65         MBFL_FILT_TL_ZEN2HAN_HIRAGANA | \
  66         MBFL_FILT_TL_ZEN2HAN_HIRA2KANA | \
  67         MBFL_FILT_TL_ZEN2HAN_KANA2HIRA | \
  68         MBFL_FILT_TL_ZEN2HAN_COMPAT1 | \
  69         MBFL_FILT_TL_ZEN2HAN_COMPAT2)
  70 
  71 
  72 typedef struct _mbfl_filt_tl_jisx0201_jisx0208_param {
  73         mbfl_convert_filter *next_filter;
  74         int mode;
  75 } mbfl_filt_tl_jisx0201_jisx0208_param;
  76 
  77 extern const struct mbfl_convert_vtbl vtbl_tl_jisx0201_jisx0208;
  78 
  79 #endif /* MBFILTER_TL_KANA_JISX0201_JISX0208_H */

/* [<][>][^][v][top][bottom][index][help] */