1 /* Message list character set conversion.
2 Copyright (C) 2001-2003 Free Software Foundation, Inc.
3 Written by Bruno Haible <haible@clisp.cons.org>, 2001.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2, or (at your option)
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software Foundation,
17 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
35 /* Converts the STRING through the conversion descriptor CD. */
36 extern char *convert_string (iconv_t cd
, const char *string
);
39 /* Converts the message list MLP to the (already canonicalized) encoding
40 CANON_TO_CODE. The (already canonicalized) encoding before conversion
41 can be passed as CANON_FROM_CODE; if NULL is passed instead, the
42 encoding is looked up in the header entry. */
44 iconv_message_list (message_list_ty
*mlp
,
45 const char *canon_from_code
,
46 const char *canon_to_code
,
47 const char *from_filename
);
49 /* Converts all the message lists in MDLP to the encoding TO_CODE. */
50 extern msgdomain_list_ty
*
51 iconv_msgdomain_list (msgdomain_list_ty
*mdlp
,
53 const char *from_filename
);
61 #endif /* _MSGL_ICONV_H */