Back to index

php5  5.3.10
mbfilter_cp5022x.h
Go to the documentation of this file.
00001 /*
00002  * "streamable kanji code filter and converter"
00003  * Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
00004  *
00005  * LICENSE NOTICES
00006  *
00007  * This file is part of "streamable kanji code filter and converter",
00008  * which is distributed under the terms of GNU Lesser General Public 
00009  * License (version 2) as published by the Free Software Foundation.
00010  *
00011  * This software 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
00014  * GNU 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 "streamable kanji code filter and converter";
00018  * if not, write to the Free Software Foundation, Inc., 59 Temple Place,
00019  * Suite 330, Boston, MA  02111-1307  USA
00020  *
00021  * The author of this file:
00022  *
00023  */
00024 /*
00025  * The source code included in this files was separated from mbfilter_ja.c
00026  * by moriyoshi koizumi <moriyoshi@php.net> on 4 dec 2002.
00027  * 
00028  */
00029 
00030 #ifndef MBFL_MBFILTER_CP50221_h
00031 #define MBFL_MBFILTER_CP50221_h
00032 
00033 #include "mbfilter.h"
00034 
00035 extern const mbfl_encoding mbfl_encoding_jis_ms;
00036 extern const mbfl_encoding mbfl_encoding_cp50220;
00037 extern const mbfl_encoding mbfl_encoding_cp50220raw;
00038 extern const mbfl_encoding mbfl_encoding_cp50221;
00039 extern const mbfl_encoding mbfl_encoding_cp50222;
00040 extern const struct mbfl_identify_vtbl vtbl_identify_jis_ms;
00041 extern const struct mbfl_identify_vtbl vtbl_identify_cp50220;
00042 extern const struct mbfl_identify_vtbl vtbl_identify_cp50220raw;
00043 extern const struct mbfl_identify_vtbl vtbl_identify_cp50221;
00044 extern const struct mbfl_identify_vtbl vtbl_identify_cp50222;
00045 extern const struct mbfl_convert_vtbl vtbl_jis_ms_wchar;
00046 extern const struct mbfl_convert_vtbl vtbl_wchar_jis_ms;
00047 extern const struct mbfl_convert_vtbl vtbl_cp50220_wchar;
00048 extern const struct mbfl_convert_vtbl vtbl_wchar_cp50220;
00049 extern const struct mbfl_convert_vtbl vtbl_cp50220raw_wchar;
00050 extern const struct mbfl_convert_vtbl vtbl_wchar_cp50220raw;
00051 extern const struct mbfl_convert_vtbl vtbl_cp50221_wchar;
00052 extern const struct mbfl_convert_vtbl vtbl_wchar_cp50221;
00053 extern const struct mbfl_convert_vtbl vtbl_cp50222_wchar;
00054 extern const struct mbfl_convert_vtbl vtbl_wchar_cp50222;
00055  
00056 int mbfl_filt_conv_jis_ms_wchar(int c, mbfl_convert_filter *filter);
00057 int mbfl_filt_conv_wchar_jis_ms(int c, mbfl_convert_filter *filter);
00058 int mbfl_filt_conv_wchar_cp50220(int c, mbfl_convert_filter *filter);
00059 int mbfl_filt_conv_wchar_cp50220raw(int c, mbfl_convert_filter *filter);
00060 int mbfl_filt_conv_wchar_cp50221(int c, mbfl_convert_filter *filter);
00061 int mbfl_filt_conv_wchar_cp50222(int c, mbfl_convert_filter *filter);
00062 int mbfl_filt_conv_wchar_cp50222_flush(mbfl_convert_filter *filter);
00063 
00064 #endif /* MBFL_MBFILTER_CP50221_h */