Annotation of embedaddon/php/ext/mbstring/libmbfl/mbfl/mbfl_consts.h, revision 1.1.1.2

1.1       misho       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:
                     22:  *
                     23:  */
                     24: /*
                     25:  * The source code included in this files was separated from mbfilter.h
                     26:  * by Moriyoshi Koizumi <moriyoshi@php.net> on 20 Dec 2002. The file
                     27:  * mbfilter.h is included in this package .
                     28:  *
                     29:  */
                     30: 
                     31: #ifndef MBFL_CONSTS_H
                     32: #define MBFL_CONSTS_H
                     33: 
                     34: #define MBFL_ENCTYPE_SBCS              0x00000001
                     35: #define MBFL_ENCTYPE_MBCS              0x00000002
                     36: #define MBFL_ENCTYPE_WCS2BE            0x00000010
                     37: #define MBFL_ENCTYPE_WCS2LE            0x00000020
                     38: #define MBFL_ENCTYPE_MWC2BE            0x00000040
                     39: #define MBFL_ENCTYPE_MWC2LE            0x00000080
                     40: #define MBFL_ENCTYPE_WCS4BE            0x00000100
                     41: #define MBFL_ENCTYPE_WCS4LE            0x00000200
                     42: #define MBFL_ENCTYPE_MWC4BE            0x00000400
                     43: #define MBFL_ENCTYPE_MWC4LE            0x00000800
                     44: #define MBFL_ENCTYPE_SHFTCODE  0x00001000 
1.1.1.2 ! misho      45: #define MBFL_ENCTYPE_ENC_STRM  0x00002000
        !            46: #define MBFL_ENCTYPE_GL_UNSAFE 0x00004000
1.1       misho      47: 
                     48: /* wchar plane, special charactor */
                     49: #define MBFL_WCSPLANE_MASK                     0xffff
                     50: #define MBFL_WCSPLANE_UCS2MAX          0x00010000
                     51: #define MBFL_WCSPLANE_UTF32MAX         0x00110000
                     52: #define MBFL_WCSPLANE_SUPMIN           0x00010000
                     53: #define MBFL_WCSPLANE_SUPMAX           0x00200000
1.1.1.2 ! misho      54: #define MBFL_WCSPLANE_JIS0213          0x70e00000              /* JIS HEX : 2121h - 7E7Eh */
1.1       misho      55: #define MBFL_WCSPLANE_JIS0208          0x70e10000              /* JIS HEX : 2121h - 7E7Eh */
                     56: #define MBFL_WCSPLANE_JIS0212          0x70e20000              /* JIS HEX : 2121h - 7E7Eh */
                     57: #define MBFL_WCSPLANE_WINCP932         0x70e30000              /* JIS HEX : 2121h - 9898h */
                     58: #define MBFL_WCSPLANE_8859_1           0x70e40000              /*  00h - FFh */
                     59: #define MBFL_WCSPLANE_8859_2           0x70e50000              /*  00h - FFh */
                     60: #define MBFL_WCSPLANE_8859_3           0x70e60000              /*  00h - FFh */
                     61: #define MBFL_WCSPLANE_8859_4           0x70e70000              /*  00h - FFh */
                     62: #define MBFL_WCSPLANE_8859_5           0x70e80000              /*  00h - FFh */
                     63: #define MBFL_WCSPLANE_8859_6           0x70e90000              /*  00h - FFh */
                     64: #define MBFL_WCSPLANE_8859_7           0x70ea0000              /*  00h - FFh */
                     65: #define MBFL_WCSPLANE_8859_8           0x70eb0000              /*  00h - FFh */
                     66: #define MBFL_WCSPLANE_8859_9           0x70ec0000              /*  00h - FFh */
                     67: #define MBFL_WCSPLANE_8859_10          0x70ed0000              /*  00h - FFh */
                     68: #define MBFL_WCSPLANE_8859_13          0x70ee0000              /*  00h - FFh */
                     69: #define MBFL_WCSPLANE_8859_14          0x70ef0000              /*  00h - FFh */
                     70: #define MBFL_WCSPLANE_8859_15          0x70f00000              /*  00h - FFh */
                     71: #define MBFL_WCSPLANE_KSC5601          0x70f10000              /*  2121h - 7E7Eh */
                     72: #define MBFL_WCSPLANE_GB2312           0x70f20000              /*  2121h - 7E7Eh */
                     73: #define MBFL_WCSPLANE_WINCP936         0x70f30000              /*  2121h - 9898h */
                     74: #define MBFL_WCSPLANE_BIG5             0x70f40000              /*  2121h - 9898h */
                     75: #define MBFL_WCSPLANE_CNS11643         0x70f50000              /*  2121h - 9898h */
                     76: #define MBFL_WCSPLANE_UHC              0x70f60000              /*  8141h - fefeh */
                     77: #define MBFL_WCSPLANE_CP1251           0x70f70000      
                     78: #define MBFL_WCSPLANE_CP866            0x70f80000      
                     79: #define MBFL_WCSPLANE_KOI8R            0x70f90000      
                     80: #define MBFL_WCSPLANE_8859_16          0x70fa0000              /*  00h - FFh */
                     81: #define MBFL_WCSPLANE_ARMSCII8                 0x70fb0000
                     82: #define MBFL_WCSPLANE_KOI8U            0x70fc0000
                     83: #define MBFL_WCSPLANE_CP1254           0x70fd0000              /*  00h - FFh */
                     84: #define MBFL_WCSPLANE_CP850            0x70fe0000              /*  00h - FFh */
1.1.1.2 ! misho      85: #define MBFL_WCSPLANE_GB18030          0x70ff0000              /* a1a1h-e3329a35h  */
1.1       misho      86: #define MBFL_WCSGROUP_MASK                0xffffff
                     87: #define MBFL_WCSGROUP_UCS4MAX          0x70000000
                     88: #define MBFL_WCSGROUP_WCHARMAX         0x78000000
                     89: #define MBFL_WCSGROUP_THROUGH          0x78000000              /* 000000h - FFFFFFh */
                     90: 
                     91: #define MBFL_QPRINT_STS_MIME_HEADER 0x1000000
                     92: #define MBFL_BASE64_STS_MIME_HEADER 0x1000000
                     93: 
                     94: #endif /* MBFL_CONSTS_H */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>