Blame intl/localcharset.h
|
Packit Service |
a721b1 |
/* Determine a canonical name for the current locale's character encoding.
|
|
Packit Service |
a721b1 |
Copyright (C) 2000-2003 Free Software Foundation, Inc.
|
|
Packit Service |
a721b1 |
This file is part of the GNU CHARSET Library.
|
|
Packit Service |
a721b1 |
|
|
Packit Service |
a721b1 |
This program is free software; you can redistribute it and/or modify it
|
|
Packit Service |
a721b1 |
under the terms of the GNU Library General Public License as published
|
|
Packit Service |
a721b1 |
by the Free Software Foundation; either version 2, or (at your option)
|
|
Packit Service |
a721b1 |
any later version.
|
|
Packit Service |
a721b1 |
|
|
Packit Service |
a721b1 |
This program is distributed in the hope that it will be useful,
|
|
Packit Service |
a721b1 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
a721b1 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
a721b1 |
Library General Public License for more details.
|
|
Packit Service |
a721b1 |
|
|
Packit Service |
a721b1 |
You should have received a copy of the GNU Library General Public
|
|
Packit Service |
a721b1 |
License along with this program; if not, write to the Free Software
|
|
Packit Service |
a721b1 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
|
Packit Service |
a721b1 |
USA. */
|
|
Packit Service |
a721b1 |
|
|
Packit Service |
a721b1 |
#ifndef _LOCALCHARSET_H
|
|
Packit Service |
a721b1 |
#define _LOCALCHARSET_H
|
|
Packit Service |
a721b1 |
|
|
Packit Service |
a721b1 |
|
|
Packit Service |
a721b1 |
#ifdef __cplusplus
|
|
Packit Service |
a721b1 |
extern "C" {
|
|
Packit Service |
a721b1 |
#endif
|
|
Packit Service |
a721b1 |
|
|
Packit Service |
a721b1 |
|
|
Packit Service |
a721b1 |
/* Determine the current locale's character encoding, and canonicalize it
|
|
Packit Service |
a721b1 |
into one of the canonical names listed in config.charset.
|
|
Packit Service |
a721b1 |
The result must not be freed; it is statically allocated.
|
|
Packit Service |
a721b1 |
If the canonical name cannot be determined, the result is a non-canonical
|
|
Packit Service |
a721b1 |
name. */
|
|
Packit Service |
a721b1 |
extern const char * locale_charset (void);
|
|
Packit Service |
a721b1 |
|
|
Packit Service |
a721b1 |
|
|
Packit Service |
a721b1 |
#ifdef __cplusplus
|
|
Packit Service |
a721b1 |
}
|
|
Packit Service |
a721b1 |
#endif
|
|
Packit Service |
a721b1 |
|
|
Packit Service |
a721b1 |
|
|
Packit Service |
a721b1 |
#endif /* _LOCALCHARSET_H */
|