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 |
|
---|
21 | /*
|
---|
22 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
23 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
24 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
25 | * a choice of LGPL license versions is made available with the language indicating
|
---|
26 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
27 | * of the LGPL is applied is otherwise unspecified.
|
---|
28 | */
|
---|
29 |
|
---|
30 | #ifndef __WINE_LOCALE_H
|
---|
31 | #define __WINE_LOCALE_H
|
---|
32 |
|
---|
33 | #include <crtdefs.h>
|
---|
34 |
|
---|
35 | #define LC_ALL 0
|
---|
36 | #define LC_COLLATE 1
|
---|
37 | #define LC_CTYPE 2
|
---|
38 | #define LC_MONETARY 3
|
---|
39 | #define LC_NUMERIC 4
|
---|
40 | #define LC_TIME 5
|
---|
41 | #define LC_MIN LC_ALL
|
---|
42 | #define LC_MAX LC_TIME
|
---|
43 |
|
---|
44 | #ifndef _LCONV_DEFINED
|
---|
45 | #define _LCONV_DEFINED
|
---|
46 | struct lconv
|
---|
47 | {
|
---|
48 | char* decimal_point;
|
---|
49 | char* thousands_sep;
|
---|
50 | char* grouping;
|
---|
51 | char* int_curr_symbol;
|
---|
52 | char* currency_symbol;
|
---|
53 | char* mon_decimal_point;
|
---|
54 | char* mon_thousands_sep;
|
---|
55 | char* mon_grouping;
|
---|
56 | char* positive_sign;
|
---|
57 | char* negative_sign;
|
---|
58 | char int_frac_digits;
|
---|
59 | char frac_digits;
|
---|
60 | char p_cs_precedes;
|
---|
61 | char p_sep_by_space;
|
---|
62 | char n_cs_precedes;
|
---|
63 | char n_sep_by_space;
|
---|
64 | char p_sign_posn;
|
---|
65 | char n_sign_posn;
|
---|
66 | };
|
---|
67 | #endif /* _LCONV_DEFINED */
|
---|
68 |
|
---|
69 |
|
---|
70 | #ifdef __cplusplus
|
---|
71 | extern "C" {
|
---|
72 | #endif
|
---|
73 |
|
---|
74 | char* __cdecl setlocale(int,const char*);
|
---|
75 | struct lconv* __cdecl localeconv(void);
|
---|
76 |
|
---|
77 | #ifndef _WLOCALE_DEFINED
|
---|
78 | #define _WLOCALE_DEFINED
|
---|
79 | wchar_t* __cdecl _wsetlocale(int,const wchar_t*);
|
---|
80 | #endif /* _WLOCALE_DEFINED */
|
---|
81 |
|
---|
82 | #ifdef __cplusplus
|
---|
83 | }
|
---|
84 | #endif
|
---|
85 |
|
---|
86 | #endif /* __WINE_LOCALE_H */
|
---|