/* * Summary: Locale handling * Description: Interfaces for locale handling. Needed for language dependent * sorting. * * Copy: See Copyright for the status of this software. * * Author: Nick Wellnhofer */ #ifndef __XML_XSLTLOCALE_H__ #define __XML_XSLTLOCALE_H__ #include <libxml/xmlstring.h> #ifdef XSLT_LOCALE_XLOCALE #include <locale.h> #include <xlocale.h> #ifdef __GLIBC__ /*locale_t is defined only if _GNU_SOURCE is defined*/ typedef __locale_t xsltLocale; #else typedef locale_t xsltLocale; #endif typedef xmlChar xsltLocaleChar; #elif defined(XSLT_LOCALE_WINAPI) #include <windows.h> #include <winnls.h> typedef LCID xsltLocale; typedef wchar_t xsltLocaleChar; #else /* * XSLT_LOCALE_NONE: * Macro indicating that locale are not supported */ #ifndef XSLT_LOCALE_NONE #define XSLT_LOCALE_NONE #endif typedef void *xsltLocale; typedef xmlChar xsltLocaleChar; #endif xsltLocale xsltNewLocale(const xmlChar *langName); void xsltFreeLocale(xsltLocale locale); xsltLocaleChar *xsltStrxfrm(xsltLocale locale, const xmlChar *string); int xsltLocaleStrcmp(xsltLocale locale, const xsltLocaleChar *str1, const xsltLocaleChar *str2); void xsltFreeLocales(void); #endif /* __XML_XSLTLOCALE_H__ */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
attributes.h | File | 930 B | 0644 |
|
documents.h | File | 2.64 KB | 0644 |
|
extensions.h | File | 6.74 KB | 0644 |
|
extra.h | File | 1.79 KB | 0644 |
|
functions.h | File | 1.96 KB | 0644 |
|
imports.h | File | 1.8 KB | 0644 |
|
keys.h | File | 1.13 KB | 0644 |
|
namespaces.h | File | 1.63 KB | 0644 |
|
numbersInternals.h | File | 1.97 KB | 0644 |
|
pattern.h | File | 1.95 KB | 0644 |
|
preproc.h | File | 892 B | 0644 |
|
security.h | File | 2.59 KB | 0644 |
|
templates.h | File | 2.21 KB | 0644 |
|
transform.h | File | 6.18 KB | 0644 |
|
variables.h | File | 2.53 KB | 0644 |
|
xslt.h | File | 1.92 KB | 0644 |
|
xsltInternals.h | File | 55.6 KB | 0644 |
|
xsltconfig.h | File | 3.32 KB | 0644 |
|
xsltexports.h | File | 3.35 KB | 0644 |
|
xsltlocale.h | File | 1.2 KB | 0644 |
|
xsltutils.h | File | 8.08 KB | 0644 |
|