00001 #ifndef _nts_h_defined_ 00002 #define _nts_h_defined_ 00003 00004 /*! 00005 * @file nts.h 00006 * 00007 * @brief Manipulate null-terminated (@link #rchar rchar@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/nts.h $ \$Id: nts.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(nts, h, "$URL: https://svn.apache.org/path/name/nts.h $ $Id: nts.h 0 09/28/2005 dlydick $"); 00050 00051 /* Prototypes for functions in 'nts.c' */ 00052 00053 extern cp_info_dup *nts_prchar2utf(rchar *inbfr); 00054 00055 extern jshort nts_prchar2unicode(rchar *inbfr, jchar *outbfr); 00056 00057 extern cp_info_dup *nts_prchar2utf_classname(rchar *inbfr, 00058 jvm_array_dim arraydims); 00059 00060 extern jvm_array_dim nts_get_prchar_arraydims(rchar *inbfr); 00061 00062 extern rboolean nts_prchar_isarray(rchar *inbfr); 00063 00064 extern rboolean nts_prchar_isprimativeformatted(rchar *src); 00065 00066 extern rboolean nts_prchar_isclassformatted(rchar *src); 00067 00068 extern rchar *nts_prchar2prchar_unformatted_classname(rchar *inbfr); 00069 00070 #endif /* _nts_h_defined_ */ 00071 00072 00073 /* EOF */ 00074