xsltlocale.h 942 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. #ifndef __XML_XSLTLOCALE_H__
  11. #define __XML_XSLTLOCALE_H__
  12. #include <libxml/xmlstring.h>
  13. #include "xsltexports.h"
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  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);
  27. /* Backward compatibility */
  28. typedef void *xsltLocale;
  29. typedef xmlChar xsltLocaleChar;
  30. XSLTPUBFUN int XSLTCALL
  31. xsltLocaleStrcmp (void *locale,
  32. const xmlChar *str1,
  33. const xmlChar *str2);
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. #endif /* __XML_XSLTLOCALE_H__ */