libcdio
0.83
Main Page
Data Structures
Files
File List
Globals
include
cdio
utf8.h
Go to the documentation of this file.
1
/*
2
$Id: utf8.h,v 1.2 2008/03/25 15:59:09 karl Exp $
3
4
Copyright (C) 2008 Rocky Bernstein <rocky@gnu.org>
5
Copyright (C) 2006 Burkhard Plaum <plaum@ipf.uni-stuttgart.de>
6
7
This program is free software: you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation, either version 3 of the License, or
10
(at your option) any later version.
11
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
/* UTF-8 support */
21
22
23
#include <
cdio/types.h
>
24
28
typedef
struct
cdio_charset_coverter_s
cdio_charset_coverter_t
;
29
36
cdio_charset_coverter_t
*
37
cdio_charset_converter_create
(
const
char
* src_charset,
38
const
char
* dst_charset);
39
44
void
cdio_charset_converter_destroy
(
cdio_charset_coverter_t
*cnv);
45
58
bool
cdio_charset_convert
(
cdio_charset_coverter_t
*cnv,
59
char
* src,
int
src_len,
60
char
** dst,
int
* dst_len);
61
74
bool
cdio_charset_from_utf8
(
cdio_utf8_t
* src,
char
** dst,
75
int
* dst_len,
const
char
* dst_charset);
76
90
bool
cdio_charset_to_utf8
(
char
*src,
size_t
src_len,
cdio_utf8_t
**dst,
91
const
char
* src_charset);
92
Generated for libcdio by
1.8.1.1