Initialize the gmime for upstream
[platform/upstream/gmime.git] / docs / reference / html / GMimeFilterCharset.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
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">
13 </head>
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">
16 <tr valign="middle">
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>
22 </tr>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#GMimeFilterCharset.synopsis" class="shortcut">Top</a>
25                    | 
26                   <a href="#GMimeFilterCharset.description" class="shortcut">Description</a>
27                    | 
28                   <a href="#GMimeFilterCharset.object-hierarchy" class="shortcut">Object Hierarchy</a>
29 </td></tr>
30 </table>
31 <div class="refentry">
32 <a name="GMimeFilterCharset"></a><div class="titlepage"></div>
33 <div class="refnamediv"><table width="100%"><tr>
34 <td valign="top">
35 <h2><span class="refentrytitle"><a name="GMimeFilterCharset.top_of_page"></a>GMimeFilterCharset</span></h2>
36 <p>GMimeFilterCharset — Charset-conversion filter</p>
37 </td>
38 <td valign="top" align="right"></td>
39 </tr></table></div>
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>);
45 </pre>
46 </div>
47 <div class="refsect1">
48 <a name="GMimeFilterCharset.object-hierarchy"></a><h2>Object Hierarchy</h2>
49 <pre class="synopsis">
50   GObject
51    +----<a class="link" href="GMimeFilter.html" title="GMimeFilter">GMimeFilter</a>
52          +----GMimeFilterCharset
53 </pre>
54 </div>
55 <div class="refsect1">
56 <a name="GMimeFilterCharset.description"></a><h2>Description</h2>
57 <p>
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
59 to another.
60 </p>
61 </div>
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>
67 <p>
68 A filter to convert between charsets.
69 </p>
70 <div class="variablelist"><table border="0">
71 <col align="left" valign="top">
72 <tbody></tbody>
73 </table></div>
74 </div>
75 <hr>
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>
80 <p>
81 Creates a new <a class="link" href="GMimeFilterCharset.html" title="GMimeFilterCharset"><span class="type">GMimeFilterCharset</span></a> filter.
82 </p>
83 <div class="variablelist"><table border="0">
84 <col align="left" valign="top">
85 <tbody>
86 <tr>
87 <td><p><span class="term"><em class="parameter"><code>from_charset</code></em> :</span></p></td>
88 <td>charset to convert from</td>
89 </tr>
90 <tr>
91 <td><p><span class="term"><em class="parameter"><code>to_charset</code></em> :</span></p></td>
92 <td>charset to convert to</td>
93 </tr>
94 <tr>
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
97 not possible.</td>
98 </tr>
99 </tbody>
100 </table></div>
101 </div>
102 </div>
103 </div>
104 <div class="footer">
105 <hr>
106           Generated by GTK-Doc V1.18</div>
107 </body>
108 </html>