00001 #ifndef _unicode_h_defined_ 00002 #define _unicode_h_defined_ 00003 00004 /*! 00005 * @file unicode.h 00006 * 00007 * @brief Manipulate Unicode (@link #jchar jchar@endlink)[] 00008 * character strings. 00009 * 00010 * There are three character string types in this program: 00011 * null-terminated @link #rchar (rchar)@endlink strings 00012 * @e ala 'C' language, UTF-8 00013 * @link #CONSTANT_Utf8_info (CONSTANT_Utf8_info)@endlink strings, 00014 * and Unicode @link #jchar (jchar)[]@endlink strings. 00015 * 00016 * 00017 * @section Control 00018 * 00019 * \$URL: https://svn.apache.org/path/name/unicode.h $ \$Id: unicode.h 0 09/28/2005 dlydick $ 00020 * 00021 * Copyright 2005 The Apache Software Foundation 00022 * or its licensors, as applicable. 00023 * 00024 * Licensed under the Apache License, Version 2.0 ("the License"); 00025 * you may not use this file except in compliance with the License. 00026 * You may obtain a copy of the License at 00027 * 00028 * http://www.apache.org/licenses/LICENSE-2.0 00029 * 00030 * Unless required by applicable law or agreed to in writing, 00031 * software distributed under the License is distributed on an 00032 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 00033 * either express or implied. 00034 * 00035 * See the License for the specific language governing permissions 00036 * and limitations under the License. 00037 * 00038 * @version \$LastChangedRevision: 0 $ 00039 * 00040 * @date \$LastChangedDate: 09/28/2005 $ 00041 * 00042 * @author \$LastChangedBy: dlydick $ 00043 * Original code contributed by Daniel Lydick on 09/28/2005. 00044 * 00045 * @section Reference 00046 * 00047 */ 00048 00049 ARCH_COPYRIGHT_APACHE(unicode, h, "$URL: https://svn.apache.org/path/name/unicode.h $ $Id: unicode.h 0 09/28/2005 dlydick $"); 00050 00051 00052 /* Prototypes for functions in 'unicode.c' */ 00053 00054 extern cp_info_dup *unicode_cnv2utf(jchar *inbfr, jshort length); 00055 00056 extern jshort unicode_strcmp(jchar *us1, u2 l1, jchar *us2, u2 l2); 00057 00058 #endif /* _unicode_h_defined_ */ 00059 00060 00061 /* EOF */ 00062