4 * Copyright 2000 Francois Gouget.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #ifndef __WINE_LOCALE_H
21 #define __WINE_LOCALE_H
32 #define LC_MAX LC_TIME
34 #ifndef _LCONV_DEFINED
35 #define _LCONV_DEFINED
41 char* int_curr_symbol
;
42 char* currency_symbol
;
43 char* mon_decimal_point
;
44 char* mon_thousands_sep
;
57 wchar_t* _W_decimal_point
;
58 wchar_t* _W_thousands_sep
;
59 wchar_t* _W_int_curr_symbol
;
60 wchar_t* _W_currency_symbol
;
61 wchar_t* _W_mon_decimal_point
;
62 wchar_t* _W_mon_thousands_sep
;
63 wchar_t* _W_positive_sign
;
64 wchar_t* _W_negative_sign
;
67 #endif /* _LCONV_DEFINED */
71 #ifndef _CONFIG_LOCALE_SWT
72 #define _CONFIG_LOCALE_SWT
74 #define _ENABLE_PER_THREAD_LOCALE 0x1
75 #define _DISABLE_PER_THREAD_LOCALE 0x2
76 #define _ENABLE_PER_THREAD_LOCALE_GLOBAL 0x10
77 #define _DISABLE_PER_THREAD_LOCALE_GLOBAL 0x20
78 #define _ENABLE_PER_THREAD_LOCALE_NEW 0x100
79 #define _DISABLE_PER_THREAD_LOCALE_NEW 0x200
87 _ACRTIMP
char* __cdecl
setlocale(int,const char*);
88 _ACRTIMP
struct lconv
* __cdecl
localeconv(void);
89 _ACRTIMP
size_t __cdecl
_Strftime(char*,size_t,const char*,const struct tm
*,void*);
90 _ACRTIMP
int __cdecl
_configthreadlocale(int);
91 _ACRTIMP _locale_t __cdecl
_get_current_locale(void);
92 _ACRTIMP _locale_t __cdecl
_create_locale(int, const char*);
93 _ACRTIMP
void __cdecl
_free_locale(_locale_t
);
95 #ifndef _WLOCALE_DEFINED
96 #define _WLOCALE_DEFINED
97 _ACRTIMP
wchar_t* __cdecl
_wsetlocale(int,const wchar_t*);
98 #endif /* _WLOCALE_DEFINED */
104 #endif /* __WINE_LOCALE_H */