From 9ae85b8c071909a5dceaf50cf14b84916140f7d6 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 25 Feb 2003 22:37:11 +0000 Subject: New internal function to parse the locale language code. (e_iconv_init): 2003-02-25 Jeffrey Stedfast * gal/util/e-iconv.c (locale_parse_lang): New internal function to parse the locale language code. (e_iconv_init): Parse and set the locale_lang variable. (e_iconv_locale_language): Return the locale_lang. (e_iconv_charset_language): Map some CJKR charsets to a language code. svn path=/trunk/; revision=20063 --- e-util/e-iconv.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'e-util/e-iconv.h') diff --git a/e-util/e-iconv.h b/e-util/e-iconv.h index daf97a30ab..14b93853d5 100644 --- a/e-util/e-iconv.h +++ b/e-util/e-iconv.h @@ -5,6 +5,7 @@ * * Authors: * Michael Zucchi + * Jeffrey Stedfast * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -37,6 +38,10 @@ size_t e_iconv(iconv_t cd, const char **inbuf, size_t *inbytesleft, char ** outb void e_iconv_close(iconv_t ip); const char *e_iconv_locale_charset(void); +/* languages */ +const char *e_iconv_locale_language (void); +const char *e_iconv_charset_language (const char *charset); + #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit