00001 /* Determine a canonical name for the current locale's character encoding. 00002 Copyright (C) 2000-2003 Free Software Foundation, Inc. 00003 This file is part of the GNU CHARSET Library. 00004 00005 This program is free software; you can redistribute it and/or modify it 00006 under the terms of the GNU Library General Public License as published 00007 by the Free Software Foundation; either version 2, or (at your option) 00008 any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 You should have received a copy of the GNU Library General Public 00016 License along with this program; if not, write to the Free Software 00017 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 00018 USA. */ 00019 00020 #ifndef _LOCALCHARSET_H 00021 #define _LOCALCHARSET_H 00022 00023 00024 #ifdef __cplusplus 00025 extern "C" { 00026 #endif 00027 00028 00029 /* Determine the current locale's character encoding, and canonicalize it 00030 into one of the canonical names listed in config.charset. 00031 The result must not be freed; it is statically allocated. 00032 If the canonical name cannot be determined, the result is a non-canonical 00033 name. */ 00034 extern const char * locale_charset (void); 00035 00036 00037 #ifdef __cplusplus 00038 } 00039 #endif 00040 00041 00042 #endif /* _LOCALCHARSET_H */
1.5.9