GnuCash
5.6-150-g038405b370+
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
+
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Related Functions
+
Files
File List
+
Globals
+
All
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Functions
c
d
f
g
i
n
o
p
q
s
t
u
x
Variables
+
Typedefs
a
b
g
l
o
p
q
s
t
+
Enumerations
c
d
f
g
p
q
r
s
u
+
Enumerator
a
c
d
e
g
n
q
s
t
u
w
+
Macros
a
c
e
f
g
m
n
o
p
q
s
t
v
x
y
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
core-utils
gnc-locale-utils.h
1
/********************************************************************\
2
* gnc-locale-utils.h -- Locale manipulation functions *
3
* Copyright (C) 2000 Dave Peticolas <dave@krondo.com> *
4
* *
5
* This program is free software; you can redistribute it and/or *
6
* modify it under the terms of the GNU General Public License as *
7
* published by the Free Software Foundation; either version 2 of *
8
* the License, or (at your option) any later version. *
9
* *
10
* This program is distributed in the hope that it will be useful, *
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13
* GNU General Public License for more details. *
14
* *
15
* You should have received a copy of the GNU General Public License*
16
* along with this program; if not, contact: *
17
* *
18
* Free Software Foundation Voice: +1-617-542-5942 *
19
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
20
* Boston, MA 02110-1301, USA gnu@gnu.org *
21
\********************************************************************/
22
#ifndef GNC_LOCALE_UTILS_H
23
#define GNC_LOCALE_UTILS_H
24
25
#include <glib.h>
26
#include <locale.h>
27
28
#ifdef __cplusplus
29
extern
"C"
30
{
31
#endif
32
33
/* The gnc_localeconv() subroutine returns an lconv structure
34
* containing locale information. If no locale is set, the structure
35
* is given default (en_US) values. */
36
struct
lconv * gnc_localeconv (
void
);
37
38
39
/* Returns the default ISO currency string of the current locale. */
40
const
char
* gnc_locale_default_iso_currency_code (
void
);
41
42
/* Returns the number of decimal place to print in the current locale */
43
int
gnc_locale_decimal_places (
void
);
44
45
/* Return the name of the currently set locale.
46
* The returned string should be freed by the caller. */
47
gchar *gnc_locale_name (
void
);
48
49
#ifdef __cplusplus
50
}
51
#endif
52
53
#endif
/* GNC_LOCALE_UTILS_H */
Generated by
1.8.14