Blame gllib/localcharset.h

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