00001 /* 00002 ******************************************************************************* 00003 * Copyright © {1996-1999}, International Business Machines Corporation and others. All Rights Reserved. 00004 ******************************************************************************* 00005 */ 00006 00007 #ifndef UMSG_H 00008 #define UMSG_H 00009 00010 #include "unicode/utypes.h" 00011 #include <stdarg.h> 00172 U_CAPI int32_t 00173 u_formatMessage( const char *locale, 00174 const UChar *pattern, 00175 int32_t patternLength, 00176 UChar *result, 00177 int32_t resultLength, 00178 UErrorCode *status, 00179 ...); 00180 00198 U_CAPI int32_t 00199 u_vformatMessage( const char *locale, 00200 const UChar *pattern, 00201 int32_t patternLength, 00202 UChar *result, 00203 int32_t resultLength, 00204 va_list ap, 00205 UErrorCode *status); 00222 U_CAPI void 00223 u_parseMessage( const char *locale, 00224 const UChar *pattern, 00225 int32_t patternLength, 00226 const UChar *source, 00227 int32_t sourceLength, 00228 UErrorCode *status, 00229 ...); 00230 00246 U_CAPI void 00247 u_vparseMessage( const char *locale, 00248 const UChar *pattern, 00249 int32_t patternLength, 00250 const UChar *source, 00251 int32_t sourceLength, 00252 va_list ap, 00253 UErrorCode *status); 00254 00255 #endif