author | sl |
Tue, 10 Jun 2014 14:32:02 +0200 | |
changeset 1 | 260cb5ec6c19 |
permissions | -rw-r--r-- |
1 /*
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
3 * All rights reserved.
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 *
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
11 *
12 * Contributors:
13 *
14 * Description:
15 * Values appropriate for the formatting of monetary and other
16 * numberic quantities.
17 *
18 *
19 */
23 /**
24 @file
25 @publishedAll
26 @released
27 */
28 #ifndef _LOCALE_H_
29 #define _LOCALE_H_
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
34 #include "_ansi.h"
36 #ifndef NULL
37 #define NULL 0L
38 #endif
40 #define LC_ALL 0
41 #define LC_COLLATE 1
42 #define LC_CTYPE 2
43 #define LC_MONETARY 3
44 #define LC_NUMERIC 4
45 #define LC_TIME 5
47 struct lconv
48 {
49 char *decimal_point;
50 char *thousands_sep;
51 char *grouping;
52 char *int_curr_symbol;
53 char *currency_symbol;
54 char *mon_decimal_point;
55 char *mon_thousands_sep;
56 char *mon_grouping;
57 char *positive_sign;
58 char *negative_sign;
59 char int_frac_digits;
60 char frac_digits;
61 char p_cs_precedes;
62 char p_sep_by_space;
63 char n_cs_precedes;
64 char n_sep_by_space;
65 char p_sign_posn;
66 char n_sign_posn;
67 };
69 IMPORT_C char *setlocale(int category, const char *locale);
70 IMPORT_C struct lconv *localeconv(void);
72 #ifdef __cplusplus
73 }
74 #endif
75 #endif /* _LOCALE_H_ */