Back to index

php5  5.3.10
mbfilter_byte2.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.c
00026  * by Moriyoshi Koizumi <moriyoshi@php.net> on 4 Dec 2002. The file
00027  * mbfilter.c is included in this package .
00028  *
00029  */
00030 
00031 #ifndef MBFL_MBFILTER_BYTE2_H
00032 #define MBFL_MBFILTER_BYTE2_H
00033 
00034 #include "mbfilter.h"
00035 
00036 extern const mbfl_encoding mbfl_encoding_byte2be;
00037 extern const mbfl_encoding mbfl_encoding_byte2le;
00038 extern const struct mbfl_convert_vtbl vtbl_byte2be_wchar;
00039 extern const struct mbfl_convert_vtbl vtbl_wchar_byte2be;
00040 extern const struct mbfl_convert_vtbl vtbl_byte2le_wchar;
00041 extern const struct mbfl_convert_vtbl vtbl_wchar_byte2le;
00042 
00043 int mbfl_filt_conv_wchar_byte2be(int c, mbfl_convert_filter *filter);
00044 int mbfl_filt_conv_byte2be_wchar(int c, mbfl_convert_filter *filter);
00045 int mbfl_filt_conv_wchar_byte2le(int c, mbfl_convert_filter *filter);
00046 int mbfl_filt_conv_byte2le_wchar(int c, mbfl_convert_filter *filter);
00047 
00048 #endif /* MBFL_MBFILTER_BYTE2_H */