localcharset.h revision 1.1.1.1.8.2 1 1.1.1.1.8.2 tls /* Determine a canonical name for the current locale's character encoding.
2 1.1.1.1.8.2 tls Copyright (C) 2000-2003 Free Software Foundation, Inc.
3 1.1.1.1.8.2 tls This file is part of the GNU CHARSET Library.
4 1.1.1.1.8.2 tls
5 1.1.1.1.8.2 tls This program is free software; you can redistribute it and/or modify it
6 1.1.1.1.8.2 tls under the terms of the GNU Library General Public License as published
7 1.1.1.1.8.2 tls by the Free Software Foundation; either version 2, or (at your option)
8 1.1.1.1.8.2 tls any later version.
9 1.1.1.1.8.2 tls
10 1.1.1.1.8.2 tls This program is distributed in the hope that it will be useful,
11 1.1.1.1.8.2 tls but WITHOUT ANY WARRANTY; without even the implied warranty of
12 1.1.1.1.8.2 tls MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 1.1.1.1.8.2 tls Library General Public License for more details.
14 1.1.1.1.8.2 tls
15 1.1.1.1.8.2 tls You should have received a copy of the GNU Library General Public
16 1.1.1.1.8.2 tls License along with this program; if not, write to the Free Software
17 1.1.1.1.8.2 tls Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301,
18 1.1.1.1.8.2 tls USA. */
19 1.1.1.1.8.2 tls
20 1.1.1.1.8.2 tls #ifndef _LOCALCHARSET_H
21 1.1.1.1.8.2 tls #define _LOCALCHARSET_H
22 1.1.1.1.8.2 tls
23 1.1.1.1.8.2 tls
24 1.1.1.1.8.2 tls #ifdef __cplusplus
25 1.1.1.1.8.2 tls extern "C" {
26 1.1.1.1.8.2 tls #endif
27 1.1.1.1.8.2 tls
28 1.1.1.1.8.2 tls
29 1.1.1.1.8.2 tls /* Determine the current locale's character encoding, and canonicalize it
30 1.1.1.1.8.2 tls into one of the canonical names listed in config.charset.
31 1.1.1.1.8.2 tls The result must not be freed; it is statically allocated.
32 1.1.1.1.8.2 tls If the canonical name cannot be determined, the result is a non-canonical
33 1.1.1.1.8.2 tls name. */
34 1.1.1.1.8.2 tls extern const char * locale_charset (void);
35 1.1.1.1.8.2 tls
36 1.1.1.1.8.2 tls
37 1.1.1.1.8.2 tls #ifdef __cplusplus
38 1.1.1.1.8.2 tls }
39 1.1.1.1.8.2 tls #endif
40 1.1.1.1.8.2 tls
41 1.1.1.1.8.2 tls
42 1.1.1.1.8.2 tls #endif /* _LOCALCHARSET_H */
43