Fixup compile
[wine/multimedia.git] / include / msvcrt / locale.h
blob5e0dd359c04caaa42246e0b852564d89807dddc5
1 /*
2 * Locale definitions
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
23 #include <crtdefs.h>
25 #define LC_ALL 0
26 #define LC_COLLATE 1
27 #define LC_CTYPE 2
28 #define LC_MONETARY 3
29 #define LC_NUMERIC 4
30 #define LC_TIME 5
31 #define LC_MIN LC_ALL
32 #define LC_MAX LC_TIME
34 #ifndef _LCONV_DEFINED
35 #define _LCONV_DEFINED
36 struct lconv
38 char* decimal_point;
39 char* thousands_sep;
40 char* grouping;
41 char* int_curr_symbol;
42 char* currency_symbol;
43 char* mon_decimal_point;
44 char* mon_thousands_sep;
45 char* mon_grouping;
46 char* positive_sign;
47 char* negative_sign;
48 char int_frac_digits;
49 char frac_digits;
50 char p_cs_precedes;
51 char p_sep_by_space;
52 char n_cs_precedes;
53 char n_sep_by_space;
54 char p_sign_posn;
55 char n_sign_posn;
57 #endif /* _LCONV_DEFINED */
60 #ifdef __cplusplus
61 extern "C" {
62 #endif
64 char* __cdecl setlocale(int,const char*);
65 struct lconv* __cdecl localeconv(void);
66 int __cdecl _configthreadlocale(int);
67 _locale_t __cdecl _get_current_locale(void);
68 _locale_t __cdecl _create_locale(int, const char*);
69 void __cdecl _free_locale(_locale_t);
71 #ifndef _WLOCALE_DEFINED
72 #define _WLOCALE_DEFINED
73 wchar_t* __cdecl _wsetlocale(int,const wchar_t*);
74 #endif /* _WLOCALE_DEFINED */
76 #ifdef __cplusplus
78 #endif
80 #endif /* __WINE_LOCALE_H */