ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

xsltlocale.h
Go to the documentation of this file.
00001 /*
00002  * Summary: Locale handling
00003  * Description: Interfaces for locale handling. Needed for language dependent
00004  *              sorting.
00005  *
00006  * Copy: See Copyright for the status of this software.
00007  *
00008  * Author: Nick Wellnhofer
00009  */
00010 
00011 #ifndef __XML_XSLTLOCALE_H__
00012 #define __XML_XSLTLOCALE_H__
00013 
00014 #include <libxml/xmlstring.h>
00015 
00016 #ifdef XSLT_LOCALE_XLOCALE
00017 
00018 #include <locale.h>
00019 #include <xlocale.h>
00020 
00021 #ifdef __GLIBC__
00022 /*locale_t is defined only if _GNU_SOURCE is defined*/
00023 typedef __locale_t xsltLocale;
00024 #else
00025 typedef locale_t xsltLocale;
00026 #endif
00027 typedef xmlChar xsltLocaleChar;
00028 
00029 #elif defined(XSLT_LOCALE_WINAPI)
00030 
00031 #include <windows.h>
00032 #include <winnls.h>
00033 
00034 typedef LCID xsltLocale;
00035 typedef wchar_t xsltLocaleChar;
00036 
00037 #else
00038 
00039 /*
00040  * XSLT_LOCALE_NONE:
00041  * Macro indicating that locale are not supported
00042  */
00043 #ifndef XSLT_LOCALE_NONE
00044 #define XSLT_LOCALE_NONE
00045 #endif
00046 
00047 typedef void *xsltLocale;
00048 typedef xmlChar xsltLocaleChar;
00049 
00050 #endif
00051 
00052 xsltLocale xsltNewLocale(const xmlChar *langName);
00053 void xsltFreeLocale(xsltLocale locale);
00054 xsltLocaleChar *xsltStrxfrm(xsltLocale locale, const xmlChar *string);
00055 int xsltLocaleStrcmp(xsltLocale locale, const xsltLocaleChar *str1, const xsltLocaleChar *str2);
00056 
00057 #endif /* __XML_XSLTLOCALE_H__ */

Generated on Mon May 28 2012 04:19:34 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.