root/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.h

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

INCLUDED FROM


/*
 * "streamable kanji code filter and converter"
 * Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
 *
 * LICENSE NOTICES
 *
 * This file is part of "streamable kanji code filter and converter",
 * which is distributed under the terms of GNU Lesser General Public 
 * License (version 2) as published by the Free Software Foundation.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with "streamable kanji code filter and converter";
 * if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 * Suite 330, Boston, MA  02111-1307  USA
 *
 * The author of this file: Moriyoshi Koizumi <koizumi@gree.co.jp>
 *
 */

#ifndef MBFILTER_TL_KANA_JISX0201_JISX0208_H
#define MBFILTER_TL_KANA_JISX0201_JISX0208_H

#include "mbfl_convert.h"

#define MBFL_FILT_TL_HAN2ZEN_ALL       0x00000001
#define MBFL_FILT_TL_HAN2ZEN_ALPHA     0x00000002
#define MBFL_FILT_TL_HAN2ZEN_NUMERIC   0x00000004
#define MBFL_FILT_TL_HAN2ZEN_SPACE     0x00000008
#define MBFL_FILT_TL_ZEN2HAN_ALL       0x00000010
#define MBFL_FILT_TL_ZEN2HAN_ALPHA     0x00000020
#define MBFL_FILT_TL_ZEN2HAN_NUMERIC   0x00000040
#define MBFL_FILT_TL_ZEN2HAN_SPACE     0x00000080
#define MBFL_FILT_TL_HAN2ZEN_KATAKANA  0x00000100
#define MBFL_FILT_TL_HAN2ZEN_HIRAGANA  0x00000200
#define MBFL_FILT_TL_HAN2ZEN_GLUE      0x00000800
#define MBFL_FILT_TL_ZEN2HAN_KATAKANA  0x00001000
#define MBFL_FILT_TL_ZEN2HAN_HIRAGANA  0x00002000
#define MBFL_FILT_TL_ZEN2HAN_HIRA2KANA 0x00010000
#define MBFL_FILT_TL_ZEN2HAN_KANA2HIRA 0x00020000
#define MBFL_FILT_TL_HAN2ZEN_COMPAT1   0x00100000
#define MBFL_FILT_TL_ZEN2HAN_COMPAT1   0x00200000
#define MBFL_FILT_TL_HAN2ZEN_COMPAT2   0x00400000
#define MBFL_FILT_TL_ZEN2HAN_COMPAT2   0x00800000
#define MBFL_FILT_TL_HAN2ZEN_MASK ( \
        MBFL_FILT_TL_HAN2ZEN_ALL |\
        MBFL_FILT_TL_HAN2ZEN_ALPHA |\
        MBFL_FILT_TL_HAN2ZEN_NUMERIC |\
        MBFL_FILT_TL_HAN2ZEN_SPACE |\
        MBFL_FILT_TL_HAN2ZEN_KATAKANA |\
        MBFL_FILT_TL_HAN2ZEN_HIRAGANA |\
        MBFL_FILT_TL_HAN2ZEN_GLUE |\
        MBFL_FILT_TL_HAN2ZEN_COMPAT1 |\
        MBFL_FILT_TL_HAN2ZEN_COMPAT2)
#define MBFL_FILT_TL_ZEN2HAN_MASK ( \
        MBFL_FILT_TL_ZEN2HAN_ALL | \
        MBFL_FILT_TL_ZEN2HAN_ALPHA | \
        MBFL_FILT_TL_ZEN2HAN_NUMERIC | \
        MBFL_FILT_TL_ZEN2HAN_SPACE | \
        MBFL_FILT_TL_ZEN2HAN_KATAKANA | \
        MBFL_FILT_TL_ZEN2HAN_HIRAGANA | \
        MBFL_FILT_TL_ZEN2HAN_HIRA2KANA | \
        MBFL_FILT_TL_ZEN2HAN_KANA2HIRA | \
        MBFL_FILT_TL_ZEN2HAN_COMPAT1 | \
        MBFL_FILT_TL_ZEN2HAN_COMPAT2)


typedef struct _mbfl_filt_tl_jisx0201_jisx0208_param {
        mbfl_convert_filter *next_filter;
        int mode;
} mbfl_filt_tl_jisx0201_jisx0208_param;

extern const struct mbfl_convert_vtbl vtbl_tl_jisx0201_jisx0208;

#endif /* MBFILTER_TL_KANA_JISX0201_JISX0208_H */

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