ReactOS 0.4.15-dev-8632-gbc8c7d1
|
Go to the source code of this file.
Macros | |
#define | XSLT_LOCALE_NONE |
Typedefs | |
typedef void * | xsltLocale |
typedef xmlChar | xsltLocaleChar |
Functions | |
XSLTPUBFUN xsltLocale XSLTCALL | xsltNewLocale (const xmlChar *langName) |
XSLTPUBFUN void XSLTCALL | xsltFreeLocale (xsltLocale locale) |
XSLTPUBFUN xsltLocaleChar *XSLTCALL | xsltStrxfrm (xsltLocale locale, const xmlChar *string) |
XSLTPUBFUN int XSLTCALL | xsltLocaleStrcmp (xsltLocale locale, const xsltLocaleChar *str1, const xsltLocaleChar *str2) |
XSLTPUBFUN void XSLTCALL | xsltFreeLocales (void) |
#define XSLT_LOCALE_NONE |
Definition at line 61 of file xsltlocale.h.
typedef void* xsltLocale |
Definition at line 63 of file xsltlocale.h.
typedef xmlChar xsltLocaleChar |
Definition at line 64 of file xsltlocale.h.
XSLTPUBFUN void XSLTCALL xsltFreeLocale | ( | xsltLocale | locale | ) |
xsltFreeLocale: @locale: the locale to free
Frees a locale created with xsltNewLocale
Definition at line 342 of file xsltlocale.c.
Referenced by xsltDefaultSortFunction(), and xsltFreeStylePreComp().
XSLTPUBFUN void XSLTCALL xsltFreeLocales | ( | void | ) |
xsltFreeLocales:
Cleanup function for the locale support on shutdown
Definition at line 63 of file xsltlocale.c.
Referenced by xsltCleanupGlobals().
XSLTPUBFUN int XSLTCALL xsltLocaleStrcmp | ( | xsltLocale | locale, |
const xsltLocaleChar * | str1, | ||
const xsltLocaleChar * | str2 | ||
) |
xsltLocaleStrcmp: @locale: a locale identifier @str1: a string transformed with xsltStrxfrm @str2: a string transformed with xsltStrxfrm
Compares two strings transformed with xsltStrxfrm
Returns a value < 0 if str1 sorts before str2, a value > 0 if str1 sorts after str2, 0 if str1 and str2 are equal wrt sorting
Definition at line 423 of file xsltlocale.c.
Referenced by xsltDefaultSortFunction().
XSLTPUBFUN xsltLocale XSLTCALL xsltNewLocale | ( | const xmlChar * | languageTag | ) |
xsltNewLocale: @languageTag: RFC 3066 language tag
Creates a new locale of an opaque system dependent type based on the language tag.
Returns the locale or NULL on error or if no matching locale was found
Definition at line 82 of file xsltlocale.c.
Referenced by xsltDefaultSortFunction(), and xsltSortComp().
XSLTPUBFUN xsltLocaleChar *XSLTCALL xsltStrxfrm | ( | xsltLocale | locale, |
const xmlChar * | string | ||
) |
xsltStrxfrm: @locale: locale created with xsltNewLocale @string: UTF-8 string to transform
Transforms a string according to locale. The transformed string must then be compared with xsltLocaleStrcmp and freed with xmlFree.
Returns the transformed string or NULL on error
Definition at line 360 of file xsltlocale.c.
Referenced by xsltComputeSortResultInternal().