1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>GMimeFilterCharset</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GMime 2.6 Reference Manual">
8 <link rel="up" href="Filters.html" title="Stream Filters">
9 <link rel="prev" href="GMimeFilterBest.html" title="GMimeFilterBest">
10 <link rel="next" href="GMimeFilterCRLF.html" title="GMimeFilterCRLF">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17 <td><a accesskey="p" href="GMimeFilterBest.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="Filters.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center">GMime 2.6 Reference Manual</th>
21 <td><a accesskey="n" href="GMimeFilterCRLF.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#GMimeFilterCharset.synopsis" class="shortcut">Top</a>
26 <a href="#GMimeFilterCharset.description" class="shortcut">Description</a>
28 <a href="#GMimeFilterCharset.object-hierarchy" class="shortcut">Object Hierarchy</a>
31 <div class="refentry">
32 <a name="GMimeFilterCharset"></a><div class="titlepage"></div>
33 <div class="refnamediv"><table width="100%"><tr>
35 <h2><span class="refentrytitle"><a name="GMimeFilterCharset.top_of_page"></a>GMimeFilterCharset</span></h2>
36 <p>GMimeFilterCharset — Charset-conversion filter</p>
38 <td valign="top" align="right"></td>
40 <div class="refsynopsisdiv">
41 <a name="GMimeFilterCharset.synopsis"></a><h2>Synopsis</h2>
42 <pre class="synopsis">struct <a class="link" href="GMimeFilterCharset.html#GMimeFilterCharset-struct" title="struct GMimeFilterCharset">GMimeFilterCharset</a>;
43 <a class="link" href="GMimeFilter.html" title="GMimeFilter"><span class="returnvalue">GMimeFilter</span></a> * <a class="link" href="GMimeFilterCharset.html#g-mime-filter-charset-new" title="g_mime_filter_charset_new ()">g_mime_filter_charset_new</a> (<em class="parameter"><code>const <span class="type">char</span> *from_charset</code></em>,
44 <em class="parameter"><code>const <span class="type">char</span> *to_charset</code></em>);
47 <div class="refsect1">
48 <a name="GMimeFilterCharset.object-hierarchy"></a><h2>Object Hierarchy</h2>
49 <pre class="synopsis">
51 +----<a class="link" href="GMimeFilter.html" title="GMimeFilter">GMimeFilter</a>
52 +----GMimeFilterCharset
55 <div class="refsect1">
56 <a name="GMimeFilterCharset.description"></a><h2>Description</h2>
58 A <a class="link" href="GMimeFilter.html" title="GMimeFilter"><span class="type">GMimeFilter</span></a> which is used for converting text from one charset
62 <div class="refsect1">
63 <a name="GMimeFilterCharset.details"></a><h2>Details</h2>
64 <div class="refsect2">
65 <a name="GMimeFilterCharset-struct"></a><h3>struct GMimeFilterCharset</h3>
66 <pre class="programlisting">struct GMimeFilterCharset;</pre>
68 A filter to convert between charsets.
70 <div class="variablelist"><table border="0">
71 <col align="left" valign="top">
76 <div class="refsect2">
77 <a name="g-mime-filter-charset-new"></a><h3>g_mime_filter_charset_new ()</h3>
78 <pre class="programlisting"><a class="link" href="GMimeFilter.html" title="GMimeFilter"><span class="returnvalue">GMimeFilter</span></a> * g_mime_filter_charset_new (<em class="parameter"><code>const <span class="type">char</span> *from_charset</code></em>,
79 <em class="parameter"><code>const <span class="type">char</span> *to_charset</code></em>);</pre>
81 Creates a new <a class="link" href="GMimeFilterCharset.html" title="GMimeFilterCharset"><span class="type">GMimeFilterCharset</span></a> filter.
83 <div class="variablelist"><table border="0">
84 <col align="left" valign="top">
87 <td><p><span class="term"><em class="parameter"><code>from_charset</code></em> :</span></p></td>
88 <td>charset to convert from</td>
91 <td><p><span class="term"><em class="parameter"><code>to_charset</code></em> :</span></p></td>
92 <td>charset to convert to</td>
95 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
96 <td>a new charset filter or <code class="literal">NULL</code> if the charset conversion is
106 Generated by GTK-Doc V1.18</div>