Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wine-mirror
GitHub Repository: wine-mirror/wine
Path: blob/master/libs/xslt/libxslt/xsltlocale.h
4393 views
1
/*
2
* Summary: Locale handling
3
* Description: Interfaces for locale handling. Needed for language dependent
4
* sorting.
5
*
6
* Copy: See Copyright for the status of this software.
7
*
8
* Author: Nick Wellnhofer
9
*/
10
11
#ifndef __XML_XSLTLOCALE_H__
12
#define __XML_XSLTLOCALE_H__
13
14
#include <libxml/xmlstring.h>
15
#include "xsltexports.h"
16
17
#ifdef __cplusplus
18
extern "C" {
19
#endif
20
21
XSLTPUBFUN void * XSLTCALL
22
xsltNewLocale (const xmlChar *langName,
23
int lowerFirst);
24
XSLTPUBFUN void XSLTCALL
25
xsltFreeLocale (void *locale);
26
XSLTPUBFUN xmlChar * XSLTCALL
27
xsltStrxfrm (void *locale,
28
const xmlChar *string);
29
XSLTPUBFUN void XSLTCALL
30
xsltFreeLocales (void);
31
32
/* Backward compatibility */
33
typedef void *xsltLocale;
34
typedef xmlChar xsltLocaleChar;
35
XSLTPUBFUN int XSLTCALL
36
xsltLocaleStrcmp (void *locale,
37
const xmlChar *str1,
38
const xmlChar *str2);
39
40
#ifdef __cplusplus
41
}
42
#endif
43
44
#endif /* __XML_XSLTLOCALE_H__ */
45
46