$46 GRAYBYTE WORDPRESS FILE MANAGER $81

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/alt-nodejs19/root/usr/include/unicode/

HOME
Current File : /opt/alt/alt-nodejs19/root/usr/include/unicode//ucat.h
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
* Copyright (c) 2003-2004, International Business Machines
* Corporation and others.  All Rights Reserved.
**********************************************************************
* Author: Alan Liu
* Created: March 19 2003
* Since: ICU 2.6
**********************************************************************
*/
#ifndef UCAT_H
#define UCAT_H

#include "unicode/utypes.h"
#include "unicode/ures.h"

/**
 * \file
 * \brief C API: Message Catalog Wrappers
 *
 * This C API provides look-alike functions that deliberately resemble
 * the POSIX catopen, catclose, and catgets functions.  The underlying
 * implementation is in terms of ICU resource bundles, rather than
 * POSIX message catalogs.
 *
 * The ICU resource bundles obey standard ICU inheritance policies.
 * To facilitate this, sets and messages are flattened into one tier.
 * This is done by creating resource bundle keys of the form
 * <set_num>%<msg_num> where set_num is the set number and msg_num is
 * the message number, formatted as decimal strings.
 *
 * Example:  Consider a message catalog containing two sets:
 *
 * Set 1: Message 4  = "Good morning."
 *        Message 5  = "Good afternoon."
 *        Message 7  = "Good evening."
 *        Message 8  = "Good night."
 * Set 4: Message 14 = "Please "
 *        Message 19 = "Thank you."
 *        Message 20 = "Sincerely,"
 *
 * The ICU resource bundle source file would, assuming it is named
 * "greet.txt", would look like this:
 *
 * greet
 * {
 *     1%4  { "Good morning." }
 *     1%5  { "Good afternoon." }
 *     1%7  { "Good evening." }
 *     1%8  { "Good night." }
 * 
 *     4%14 { "Please " }
 *     4%19 { "Thank you." }
 *     4%20 { "Sincerely," }
 * }
 *
 * The catgets function is commonly used in combination with functions
 * like printf and strftime.  ICU components like message format can
 * be used instead, although they use a different format syntax.
 * There is an ICU package, icuio, that provides some of
 * the POSIX-style formatting API.
 */

U_CDECL_BEGIN

/**
 * An ICU message catalog descriptor, analogous to nl_catd.
 * 
 * @stable ICU 2.6
 */
typedef UResourceBundle* u_nl_catd;

/**
 * Open and return an ICU message catalog descriptor. The descriptor
 * may be passed to u_catgets() to retrieve localized strings.
 *
 * @param name string containing the full path pointing to the
 * directory where the resources reside followed by the package name
 * e.g. "/usr/resource/my_app/resources/guimessages" on a Unix system.
 * If NULL, ICU default data files will be used.
 *
 * Unlike POSIX, environment variables are not interpolated within the
 * name.
 *
 * @param locale the locale for which we want to open the resource. If
 * NULL, the default ICU locale will be used (see uloc_getDefault). If
 * strlen(locale) == 0, the root locale will be used.
 *
 * @param ec input/output error code. Upon output,
 * U_USING_FALLBACK_WARNING indicates that a fallback locale was
 * used. For example, 'de_CH' was requested, but nothing was found
 * there, so 'de' was used. U_USING_DEFAULT_WARNING indicates that the
 * default locale data or root locale data was used; neither the
 * requested locale nor any of its fallback locales were found.
 *
 * @return a message catalog descriptor that may be passed to
 * u_catgets(). If the ec parameter indicates success, then the caller
 * is responsible for calling u_catclose() to close the message
 * catalog. If the ec parameter indicates failure, then NULL will be
 * returned.
 * 
 * @stable ICU 2.6
 */
U_CAPI u_nl_catd U_EXPORT2
u_catopen(const char* name, const char* locale, UErrorCode* ec);

/**
 * Close an ICU message catalog, given its descriptor.
 *
 * @param catd a message catalog descriptor to be closed. May be NULL,
 * in which case no action is taken.
 * 
 * @stable ICU 2.6
 */
U_CAPI void U_EXPORT2
u_catclose(u_nl_catd catd);

/**
 * Retrieve a localized string from an ICU message catalog.
 *
 * @param catd a message catalog descriptor returned by u_catopen.
 *
 * @param set_num the message catalog set number. Sets need not be
 * numbered consecutively.
 *
 * @param msg_num the message catalog message number within the
 * set. Messages need not be numbered consecutively.
 *
 * @param s the default string. This is returned if the string
 * specified by the set_num and msg_num is not found. It must be
 * zero-terminated.
 *
 * @param len fill-in parameter to receive the length of the result.
 * May be NULL, in which case it is ignored.
 *
 * @param ec input/output error code. May be U_USING_FALLBACK_WARNING
 * or U_USING_DEFAULT_WARNING. U_MISSING_RESOURCE_ERROR indicates that
 * the set_num/msg_num tuple does not specify a valid message string
 * in this catalog.
 *
 * @return a pointer to a zero-terminated UChar array which lives in
 * an internal buffer area, typically a memory mapped/DLL file. The
 * caller must NOT delete this pointer. If the call is unsuccessful
 * for any reason, then s is returned.  This includes the situation in
 * which ec indicates a failing error code upon entry to this
 * function.
 * 
 * @stable ICU 2.6
 */
U_CAPI const UChar* U_EXPORT2
u_catgets(u_nl_catd catd, int32_t set_num, int32_t msg_num,
          const UChar* s,
          int32_t* len, UErrorCode* ec);

U_CDECL_END

#endif /*UCAT_H*/
/*eof*/

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
31 Aug 2024 8.02 AM
root / root
0755
alphaindex.h
26.53 KB
22 Feb 2023 5.03 PM
root / root
0644
appendable.h
8.534 KB
22 Feb 2023 5.03 PM
root / root
0644
basictz.h
9.977 KB
22 Feb 2023 5.03 PM
root / root
0644
brkiter.h
27.811 KB
22 Feb 2023 5.03 PM
root / root
0644
bytestream.h
10.755 KB
22 Feb 2023 5.03 PM
root / root
0644
bytestrie.h
20.778 KB
22 Feb 2023 5.03 PM
root / root
0644
bytestriebuilder.h
7.479 KB
22 Feb 2023 5.03 PM
root / root
0644
calendar.h
102.25 KB
22 Feb 2023 5.03 PM
root / root
0644
caniter.h
7.469 KB
22 Feb 2023 5.03 PM
root / root
0644
casemap.h
25.325 KB
22 Feb 2023 5.03 PM
root / root
0644
char16ptr.h
7.22 KB
22 Feb 2023 5.03 PM
root / root
0644
chariter.h
24.061 KB
22 Feb 2023 5.03 PM
root / root
0644
choicfmt.h
23.978 KB
22 Feb 2023 5.03 PM
root / root
0644
coleitr.h
13.78 KB
22 Feb 2023 5.03 PM
root / root
0644
coll.h
56.273 KB
22 Feb 2023 5.03 PM
root / root
0644
compactdecimalformat.h
6.882 KB
22 Feb 2023 5.03 PM
root / root
0644
curramt.h
3.778 KB
22 Feb 2023 5.03 PM
root / root
0644
currpinf.h
7.304 KB
22 Feb 2023 5.03 PM
root / root
0644
currunit.h
4.016 KB
22 Feb 2023 5.03 PM
root / root
0644
datefmt.h
40.713 KB
22 Feb 2023 5.03 PM
root / root
0644
dbbi.h
1.194 KB
22 Feb 2023 5.03 PM
root / root
0644
dcfmtsym.h
20.606 KB
22 Feb 2023 5.03 PM
root / root
0644
decimfmt.h
87.574 KB
22 Feb 2023 5.03 PM
root / root
0644
displayoptions.h
7.113 KB
22 Feb 2023 5.03 PM
root / root
0644
docmain.h
7.207 KB
22 Feb 2023 5.03 PM
root / root
0644
dtfmtsym.h
38.218 KB
22 Feb 2023 5.03 PM
root / root
0644
dtintrv.h
3.852 KB
22 Feb 2023 5.03 PM
root / root
0644
dtitvfmt.h
49.266 KB
22 Feb 2023 5.03 PM
root / root
0644
dtitvinf.h
18.634 KB
22 Feb 2023 5.03 PM
root / root
0644
dtptngen.h
28.691 KB
22 Feb 2023 5.03 PM
root / root
0644
dtrule.h
8.689 KB
22 Feb 2023 5.03 PM
root / root
0644
edits.h
20.739 KB
22 Feb 2023 5.03 PM
root / root
0644
enumset.h
2.08 KB
22 Feb 2023 5.03 PM
root / root
0644
errorcode.h
4.84 KB
22 Feb 2023 5.03 PM
root / root
0644
fieldpos.h
8.697 KB
22 Feb 2023 5.03 PM
root / root
0644
filteredbrk.h
5.372 KB
22 Feb 2023 5.03 PM
root / root
0644
fmtable.h
24.434 KB
22 Feb 2023 5.03 PM
root / root
0644
format.h
12.502 KB
22 Feb 2023 5.03 PM
root / root
0644
formattedvalue.h
9.753 KB
22 Feb 2023 5.03 PM
root / root
0644
fpositer.h
3.034 KB
22 Feb 2023 5.03 PM
root / root
0644
gender.h
3.346 KB
22 Feb 2023 5.03 PM
root / root
0644
gregocal.h
31.043 KB
22 Feb 2023 5.03 PM
root / root
0644
icudataver.h
1.024 KB
22 Feb 2023 5.03 PM
root / root
0644
icuplug.h
11.825 KB
22 Feb 2023 5.03 PM
root / root
0644
idna.h
12.713 KB
22 Feb 2023 5.03 PM
root / root
0644
listformatter.h
8.606 KB
22 Feb 2023 5.03 PM
root / root
0644
localebuilder.h
11.084 KB
22 Feb 2023 5.03 PM
root / root
0644
localematcher.h
26.838 KB
22 Feb 2023 5.03 PM
root / root
0644
localpointer.h
19.36 KB
22 Feb 2023 5.03 PM
root / root
0644
locdspnm.h
7.121 KB
22 Feb 2023 5.03 PM
root / root
0644
locid.h
47.66 KB
22 Feb 2023 5.03 PM
root / root
0644
measfmt.h
11.416 KB
22 Feb 2023 5.03 PM
root / root
0644
measunit.h
106.325 KB
22 Feb 2023 5.03 PM
root / root
0644
measure.h
4.327 KB
22 Feb 2023 5.03 PM
root / root
0644
messagepattern.h
33.708 KB
22 Feb 2023 5.03 PM
root / root
0644
msgfmt.h
44.173 KB
22 Feb 2023 5.03 PM
root / root
0644
normalizer2.h
33.658 KB
22 Feb 2023 5.03 PM
root / root
0644
normlzr.h
30.965 KB
22 Feb 2023 5.03 PM
root / root
0644
nounit.h
2.251 KB
22 Feb 2023 5.03 PM
root / root
0644
numberformatter.h
94.82 KB
22 Feb 2023 5.03 PM
root / root
0644
numberrangeformatter.h
25.018 KB
22 Feb 2023 5.03 PM
root / root
0644
numfmt.h
49.838 KB
22 Feb 2023 5.03 PM
root / root
0644
numsys.h
7.225 KB
22 Feb 2023 5.03 PM
root / root
0644
parseerr.h
3.081 KB
22 Feb 2023 5.03 PM
root / root
0644
parsepos.h
5.565 KB
22 Feb 2023 5.03 PM
root / root
0644
platform.h
28.546 KB
22 Feb 2023 5.03 PM
root / root
0644
plurfmt.h
25.25 KB
22 Feb 2023 5.03 PM
root / root
0644
plurrule.h
20.619 KB
22 Feb 2023 5.03 PM
root / root
0644
ptypes.h
3.493 KB
22 Feb 2023 5.03 PM
root / root
0644
putil.h
6.319 KB
22 Feb 2023 5.03 PM
root / root
0644
rbbi.h
28.456 KB
22 Feb 2023 5.03 PM
root / root
0644
rbnf.h
49.819 KB
22 Feb 2023 5.03 PM
root / root
0644
rbtz.h
15.766 KB
22 Feb 2023 5.03 PM
root / root
0644
regex.h
84.411 KB
22 Feb 2023 5.03 PM
root / root
0644
region.h
9.182 KB
22 Feb 2023 5.03 PM
root / root
0644
reldatefmt.h
22.218 KB
22 Feb 2023 5.03 PM
root / root
0644
rep.h
9.374 KB
22 Feb 2023 5.03 PM
root / root
0644
resbund.h
18.088 KB
22 Feb 2023 5.03 PM
root / root
0644
schriter.h
6.104 KB
22 Feb 2023 5.03 PM
root / root
0644
scientificnumberformatter.h
6.443 KB
22 Feb 2023 5.03 PM
root / root
0644
search.h
22.222 KB
22 Feb 2023 5.03 PM
root / root
0644
selfmt.h
14.351 KB
22 Feb 2023 5.03 PM
root / root
0644
simpleformatter.h
12.586 KB
22 Feb 2023 5.03 PM
root / root
0644
simpletz.h
45.646 KB
22 Feb 2023 5.03 PM
root / root
0644
smpdtfmt.h
71.93 KB
22 Feb 2023 5.03 PM
root / root
0644
sortkey.h
11.184 KB
22 Feb 2023 5.03 PM
root / root
0644
std_string.h
1.051 KB
22 Feb 2023 5.03 PM
root / root
0644
strenum.h
9.919 KB
22 Feb 2023 5.03 PM
root / root
0644
stringoptions.h
5.787 KB
22 Feb 2023 5.03 PM
root / root
0644
stringpiece.h
10.046 KB
22 Feb 2023 5.03 PM
root / root
0644
stringtriebuilder.h
15.471 KB
22 Feb 2023 5.03 PM
root / root
0644
stsearch.h
21.421 KB
22 Feb 2023 5.03 PM
root / root
0644
symtable.h
4.271 KB
22 Feb 2023 5.03 PM
root / root
0644
tblcoll.h
36.915 KB
22 Feb 2023 5.03 PM
root / root
0644
timezone.h
43.807 KB
22 Feb 2023 5.03 PM
root / root
0644
tmunit.h
3.397 KB
22 Feb 2023 5.03 PM
root / root
0644
tmutamt.h
4.911 KB
22 Feb 2023 5.03 PM
root / root
0644
tmutfmt.h
7.424 KB
22 Feb 2023 5.03 PM
root / root
0644
translit.h
65.817 KB
22 Feb 2023 5.03 PM
root / root
0644
tzfmt.h
42.931 KB
22 Feb 2023 5.03 PM
root / root
0644
tznames.h
16.847 KB
22 Feb 2023 5.03 PM
root / root
0644
tzrule.h
34.861 KB
22 Feb 2023 5.03 PM
root / root
0644
tztrans.h
6.131 KB
22 Feb 2023 5.03 PM
root / root
0644
ubidi.h
89.608 KB
22 Feb 2023 5.03 PM
root / root
0644
ubiditransform.h
12.705 KB
22 Feb 2023 5.03 PM
root / root
0644
ubrk.h
24.435 KB
22 Feb 2023 5.03 PM
root / root
0644
ucal.h
60.68 KB
22 Feb 2023 5.03 PM
root / root
0644
ucasemap.h
15.214 KB
22 Feb 2023 5.03 PM
root / root
0644
ucat.h
5.35 KB
22 Feb 2023 5.03 PM
root / root
0644
uchar.h
145.087 KB
22 Feb 2023 5.03 PM
root / root
0644
ucharstrie.h
22.534 KB
22 Feb 2023 5.03 PM
root / root
0644
ucharstriebuilder.h
7.483 KB
22 Feb 2023 5.03 PM
root / root
0644
uchriter.h
13.425 KB
22 Feb 2023 5.03 PM
root / root
0644
uclean.h
11.199 KB
22 Feb 2023 5.03 PM
root / root
0644
ucnv.h
83.457 KB
22 Feb 2023 5.03 PM
root / root
0644
ucnv_cb.h
6.584 KB
22 Feb 2023 5.03 PM
root / root
0644
ucnv_err.h
20.982 KB
22 Feb 2023 5.03 PM
root / root
0644
ucnvsel.h
6.241 KB
22 Feb 2023 5.03 PM
root / root
0644
ucol.h
61.954 KB
22 Feb 2023 5.03 PM
root / root
0644
ucoleitr.h
9.82 KB
22 Feb 2023 5.03 PM
root / root
0644
uconfig.h
12.066 KB
22 Feb 2023 5.03 PM
root / root
0644
ucpmap.h
5.541 KB
22 Feb 2023 5.03 PM
root / root
0644
ucptrie.h
22.515 KB
22 Feb 2023 5.03 PM
root / root
0644
ucsdet.h
14.69 KB
22 Feb 2023 5.03 PM
root / root
0644
ucurr.h
16.721 KB
22 Feb 2023 5.03 PM
root / root
0644
udat.h
62.355 KB
22 Feb 2023 5.03 PM
root / root
0644
udata.h
15.629 KB
22 Feb 2023 5.03 PM
root / root
0644
udateintervalformat.h
11.932 KB
22 Feb 2023 5.03 PM
root / root
0644
udatpg.h
30.184 KB
22 Feb 2023 5.03 PM
root / root
0644
udisplaycontext.h
5.941 KB
22 Feb 2023 5.03 PM
root / root
0644
udisplayoptions.h
8.802 KB
22 Feb 2023 5.03 PM
root / root
0644
uenum.h
7.794 KB
22 Feb 2023 5.03 PM
root / root
0644
ufieldpositer.h
4.407 KB
22 Feb 2023 5.03 PM
root / root
0644
uformattable.h
10.97 KB
22 Feb 2023 5.03 PM
root / root
0644
uformattedvalue.h
12.255 KB
22 Feb 2023 5.03 PM
root / root
0644
ugender.h
2.057 KB
22 Feb 2023 5.03 PM
root / root
0644
uidna.h
33.427 KB
22 Feb 2023 5.03 PM
root / root
0644
uiter.h
22.753 KB
22 Feb 2023 5.03 PM
root / root
0644
uldnames.h
10.481 KB
22 Feb 2023 5.03 PM
root / root
0644
ulistformatter.h
10.784 KB
22 Feb 2023 5.03 PM
root / root
0644
uloc.h
54.663 KB
22 Feb 2023 5.03 PM
root / root
0644
ulocdata.h
11.301 KB
22 Feb 2023 5.03 PM
root / root
0644
umachine.h
15.729 KB
22 Feb 2023 5.03 PM
root / root
0644
umisc.h
1.34 KB
22 Feb 2023 5.03 PM
root / root
0644
umsg.h
24.25 KB
22 Feb 2023 5.03 PM
root / root
0644
umutablecptrie.h
8.302 KB
22 Feb 2023 5.03 PM
root / root
0644
unifilt.h
3.995 KB
22 Feb 2023 5.03 PM
root / root
0644
unifunct.h
4.054 KB
22 Feb 2023 5.03 PM
root / root
0644
unimatch.h
6.098 KB
22 Feb 2023 5.03 PM
root / root
0644
unirepl.h
3.383 KB
22 Feb 2023 5.03 PM
root / root
0644
uniset.h
66.119 KB
22 Feb 2023 5.03 PM
root / root
0644
unistr.h
170.534 KB
22 Feb 2023 5.03 PM
root / root
0644
unorm.h
20.549 KB
22 Feb 2023 5.03 PM
root / root
0644
unorm2.h
24.677 KB
22 Feb 2023 5.03 PM
root / root
0644
unum.h
56.596 KB
22 Feb 2023 5.03 PM
root / root
0644
unumberformatter.h
30.265 KB
22 Feb 2023 5.03 PM
root / root
0644
unumberrangeformatter.h
15.354 KB
22 Feb 2023 5.03 PM
root / root
0644
unumsys.h
7.256 KB
22 Feb 2023 5.03 PM
root / root
0644
uobject.h
10.678 KB
22 Feb 2023 5.03 PM
root / root
0644
upluralrules.h
8.786 KB
22 Feb 2023 5.03 PM
root / root
0644
uregex.h
71.991 KB
22 Feb 2023 5.03 PM
root / root
0644
uregion.h
9.812 KB
22 Feb 2023 5.03 PM
root / root
0644
ureldatefmt.h
17.039 KB
22 Feb 2023 5.03 PM
root / root
0644
urename.h
135.688 KB
22 Feb 2023 5.03 PM
root / root
0644
urep.h
5.378 KB
22 Feb 2023 5.03 PM
root / root
0644
ures.h
36.541 KB
22 Feb 2023 5.03 PM
root / root
0644
uscript.h
27.803 KB
22 Feb 2023 5.03 PM
root / root
0644
usearch.h
39.212 KB
22 Feb 2023 5.03 PM
root / root
0644
uset.h
44.186 KB
22 Feb 2023 5.03 PM
root / root
0644
usetiter.h
9.627 KB
22 Feb 2023 5.03 PM
root / root
0644
ushape.h
17.998 KB
22 Feb 2023 5.03 PM
root / root
0644
uspoof.h
65.844 KB
22 Feb 2023 5.03 PM
root / root
0644
usprep.h
8.186 KB
22 Feb 2023 5.03 PM
root / root
0644
ustdio.h
38.557 KB
22 Feb 2023 5.03 PM
root / root
0644
ustream.h
1.889 KB
22 Feb 2023 5.03 PM
root / root
0644
ustring.h
72.359 KB
22 Feb 2023 5.03 PM
root / root
0644
ustringtrie.h
3.148 KB
22 Feb 2023 5.03 PM
root / root
0644
utext.h
58.077 KB
22 Feb 2023 5.03 PM
root / root
0644
utf.h
7.868 KB
22 Feb 2023 5.03 PM
root / root
0644
utf16.h
23.35 KB
22 Feb 2023 5.03 PM
root / root
0644
utf32.h
0.745 KB
22 Feb 2023 5.03 PM
root / root
0644
utf8.h
30.832 KB
22 Feb 2023 5.03 PM
root / root
0644
utf_old.h
45.797 KB
22 Feb 2023 5.03 PM
root / root
0644
utmscale.h
13.776 KB
22 Feb 2023 5.03 PM
root / root
0644
utrace.h
17.183 KB
22 Feb 2023 5.03 PM
root / root
0644
utrans.h
25.544 KB
22 Feb 2023 5.03 PM
root / root
0644
utypes.h
31.062 KB
22 Feb 2023 5.03 PM
root / root
0644
uvernum.h
6.328 KB
22 Feb 2023 5.03 PM
root / root
0644
uversion.h
5.993 KB
22 Feb 2023 5.03 PM
root / root
0644
vtzone.h
20.683 KB
22 Feb 2023 5.03 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF