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