Blame intl/localcharset.h

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