sl@0: /* sl@0: * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * Values appropriate for the formatting of monetary and other sl@0: * numberic quantities. sl@0: * sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: /** sl@0: @file sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: #ifndef _LOCALE_H_ sl@0: #define _LOCALE_H_ sl@0: #ifdef __cplusplus sl@0: extern "C" { sl@0: #endif sl@0: sl@0: #include "_ansi.h" sl@0: sl@0: #ifndef NULL sl@0: #define NULL 0L sl@0: #endif sl@0: sl@0: #define LC_ALL 0 sl@0: #define LC_COLLATE 1 sl@0: #define LC_CTYPE 2 sl@0: #define LC_MONETARY 3 sl@0: #define LC_NUMERIC 4 sl@0: #define LC_TIME 5 sl@0: sl@0: struct lconv sl@0: { sl@0: char *decimal_point; sl@0: char *thousands_sep; sl@0: char *grouping; sl@0: char *int_curr_symbol; sl@0: char *currency_symbol; sl@0: char *mon_decimal_point; sl@0: char *mon_thousands_sep; sl@0: char *mon_grouping; sl@0: char *positive_sign; sl@0: char *negative_sign; sl@0: char int_frac_digits; sl@0: char frac_digits; sl@0: char p_cs_precedes; sl@0: char p_sep_by_space; sl@0: char n_cs_precedes; sl@0: char n_sep_by_space; sl@0: char p_sign_posn; sl@0: char n_sign_posn; sl@0: }; sl@0: sl@0: IMPORT_C char *setlocale(int category, const char *locale); sl@0: IMPORT_C struct lconv *localeconv(void); sl@0: sl@0: #ifdef __cplusplus sl@0: } sl@0: #endif sl@0: #endif /* _LOCALE_H_ */