Blame glib/libcharset/localcharset.h

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