1 /*
2 * Locale definitions
3 *
4 * Copyright 2000 Francois Gouget.
5 *
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.
10 *
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.
15 *
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
19 */
20 #ifndef __WINE_LOCALE_H
21 #define __WINE_LOCALE_H
22
23 #include <crtdefs.h>
24
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
33
34 #ifndef _LCONV_DEFINED
35 #define _LCONV_DEFINED
36 struct lconv
37 {
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;
56 };
57 #endif /* _LCONV_DEFINED */
58
59
60 #ifdef __cplusplus
61 extern "C" {
62 #endif
63
64 char* __cdecl setlocale(int,const char*);
65 struct lconv* __cdecl localeconv(void);
66
67 #ifndef _WLOCALE_DEFINED
68 #define _WLOCALE_DEFINED
69 wchar_t* __cdecl _wsetlocale(int,const wchar_t*);
70 #endif /* _WLOCALE_DEFINED */
71
72 #ifdef __cplusplus
73 }
74 #endif
75
76 #endif /* __WINE_LOCALE_H */
77
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.