charset.h

00001 /*****************************************************************
00002  * gmerlin - a general purpose multimedia framework and applications
00003  *
00004  * Copyright (c) 2001 - 2010 Members of the Gmerlin project
00005  * gmerlin-general@lists.sourceforge.net
00006  * http://gmerlin.sourceforge.net
00007  *
00008  * This program is free software: you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation, either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00020  * *****************************************************************/
00021 
00022 
00023 /* Charset utilities (charset.c) */
00024 
00036 typedef struct bg_charset_converter_s bg_charset_converter_t;
00037 
00047 bg_charset_converter_t *
00048 bg_charset_converter_create(const char * in_charset,
00049                             const char * out_charset);
00050 
00055 void bg_charset_converter_destroy(bg_charset_converter_t * cnv);
00056 
00065 char * bg_convert_string(bg_charset_converter_t * cnv,
00066                            const char * in_string, int in_len,
00067                            int * out_len);
00068 
Generated on Sun Feb 28 07:34:31 2010 for gmerlin by  doxygen 1.6.3