xslt: Import upstream release 1.1.38.
[wine.git] / libs / xslt / libxslt / xsltlocale.h
blob10a4402f1f2eee0f05eae3b69b1b46c52e0bf4b6
1 /*
2 * Summary: Locale handling
3 * Description: Interfaces for locale handling. Needed for language dependent
4 * sorting.
6 * Copy: See Copyright for the status of this software.
8 * Author: Nick Wellnhofer
9 */
11 #ifndef __XML_XSLTLOCALE_H__
12 #define __XML_XSLTLOCALE_H__
14 #include <libxml/xmlstring.h>
15 #include "xsltexports.h"
17 XSLTPUBFUN void * XSLTCALL
18 xsltNewLocale (const xmlChar *langName,
19 int lowerFirst);
20 XSLTPUBFUN void XSLTCALL
21 xsltFreeLocale (void *locale);
22 XSLTPUBFUN xmlChar * XSLTCALL
23 xsltStrxfrm (void *locale,
24 const xmlChar *string);
25 XSLTPUBFUN void XSLTCALL
26 xsltFreeLocales (void);
28 /* Backward compatibility */
29 typedef void *xsltLocale;
30 typedef xmlChar xsltLocaleChar;
31 XSLTPUBFUN int XSLTCALL
32 xsltLocaleStrcmp (void *locale,
33 const xmlChar *str1,
34 const xmlChar *str2);
36 #endif /* __XML_XSLTLOCALE_H__ */