Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / libedataserver / e-iconv.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* 
3  * e-iconv.h
4  * Copyright 2000, 2001, Ximian, Inc.
5  *
6  * Authors:
7  *   Michael Zucchi <notzed@ximian.com>
8  *   Jeffrey Stedfast <fejj@ximian.com>
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Library General Public
12  * License, version 2, as published by the Free Software Foundation.
13  *
14  * This library is distributed in the hope that it will be useful, but
15  * WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17  * Library General Public License for more details.
18  *
19  * You should have received a copy of the GNU Library General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22  * 02110-1301, USA.
23  */
24
25 #ifndef _E_ICONV_H_
26 #define _E_ICONV_H_
27
28 #include <iconv.h>
29
30 #ifdef __cplusplus
31 extern "C" {
32 #pragma }
33 #endif /* __cplusplus */
34
35 const char *e_iconv_charset_name(const char *charset);
36 iconv_t e_iconv_open(const char *oto, const char *ofrom);
37 size_t e_iconv(iconv_t cd, const char **inbuf, size_t *inbytesleft, char ** outbuf, size_t *outbytesleft);
38 void e_iconv_close(iconv_t ip);
39 const char *e_iconv_locale_charset(void);
40
41 /* languages */
42 const char *e_iconv_locale_language (void);
43 const char *e_iconv_charset_language (const char *charset);
44
45 #ifdef __cplusplus
46 }
47 #endif /* __cplusplus */
48
49 #endif /* !_E_ICONV_H_ */