diff options
Diffstat (limited to 'docs/reference/html/gmime-gmime-iconv-utils.html')
-rw-r--r-- | docs/reference/html/gmime-gmime-iconv-utils.html | 229 |
1 files changed, 229 insertions, 0 deletions
diff --git a/docs/reference/html/gmime-gmime-iconv-utils.html b/docs/reference/html/gmime-gmime-iconv-utils.html new file mode 100644 index 0000000..1bec9fb --- /dev/null +++ b/docs/reference/html/gmime-gmime-iconv-utils.html @@ -0,0 +1,229 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>gmime-iconv-utils</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="index.html" title="GMime 2.6 Reference Manual"> +<link rel="up" href="core.html" title="Part III. GMime Core Reference"> +<link rel="prev" href="gmime-gmime-iconv.html" title="gmime-iconv"> +<link rel="next" href="gmime-gmime-encodings.html" title="gmime-encodings"> +<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="gmime-gmime-iconv.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="core.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">GMime 2.6 Reference Manual</th> +<td><a accesskey="n" href="gmime-gmime-encodings.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#gmime-gmime-iconv-utils.synopsis" class="shortcut">Top</a> + | + <a href="#gmime-gmime-iconv-utils.description" class="shortcut">Description</a> +</td></tr> +</table> +<div class="refentry"> +<a name="gmime-gmime-iconv-utils"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="gmime-gmime-iconv-utils.top_of_page"></a>gmime-iconv-utils</span></h2> +<p>gmime-iconv-utils — High-level routines for converting text from one charset to another</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv"> +<a name="gmime-gmime-iconv-utils.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"><span class="returnvalue">char</span> * <a class="link" href="gmime-gmime-iconv-utils.html#g-mime-iconv-strdup" title="g_mime_iconv_strdup ()">g_mime_iconv_strdup</a> (<em class="parameter"><code><span class="type">iconv_t</span> cd</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *str</code></em>); +<span class="returnvalue">char</span> * <a class="link" href="gmime-gmime-iconv-utils.html#g-mime-iconv-strndup" title="g_mime_iconv_strndup ()">g_mime_iconv_strndup</a> (<em class="parameter"><code><span class="type">iconv_t</span> cd</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><span class="type">size_t</span> n</code></em>); +<span class="returnvalue">char</span> * <a class="link" href="gmime-gmime-iconv-utils.html#g-mime-iconv-utf8-to-locale" title="g_mime_iconv_utf8_to_locale ()">g_mime_iconv_utf8_to_locale</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>); +<span class="returnvalue">char</span> * <a class="link" href="gmime-gmime-iconv-utils.html#g-mime-iconv-utf8-to-locale-length" title="g_mime_iconv_utf8_to_locale_length ()">g_mime_iconv_utf8_to_locale_length</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><span class="type">size_t</span> n</code></em>); +<span class="returnvalue">char</span> * <a class="link" href="gmime-gmime-iconv-utils.html#g-mime-iconv-locale-to-utf8" title="g_mime_iconv_locale_to_utf8 ()">g_mime_iconv_locale_to_utf8</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>); +<span class="returnvalue">char</span> * <a class="link" href="gmime-gmime-iconv-utils.html#g-mime-iconv-locale-to-utf8-length" title="g_mime_iconv_locale_to_utf8_length ()">g_mime_iconv_locale_to_utf8_length</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><span class="type">size_t</span> n</code></em>); +</pre> +</div> +<div class="refsect1"> +<a name="gmime-gmime-iconv-utils.description"></a><h2>Description</h2> +<p> +Charset conversion utility functions. +</p> +</div> +<div class="refsect1"> +<a name="gmime-gmime-iconv-utils.details"></a><h2>Details</h2> +<div class="refsect2"> +<a name="g-mime-iconv-strdup"></a><h3>g_mime_iconv_strdup ()</h3> +<pre class="programlisting"><span class="returnvalue">char</span> * g_mime_iconv_strdup (<em class="parameter"><code><span class="type">iconv_t</span> cd</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre> +<p> +Allocates a new string buffer containing <em class="parameter"><code>str</code></em> converted to the +destination charset described in <em class="parameter"><code>cd</code></em>. +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>cd</code></em> :</span></p></td> +<td>conversion descriptor</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td> +<td>string in source charset</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>a new string buffer containing the original string +converted to the new charset.</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2"> +<a name="g-mime-iconv-strndup"></a><h3>g_mime_iconv_strndup ()</h3> +<pre class="programlisting"><span class="returnvalue">char</span> * g_mime_iconv_strndup (<em class="parameter"><code><span class="type">iconv_t</span> cd</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><span class="type">size_t</span> n</code></em>);</pre> +<p> +Allocates a new string buffer containing the first <em class="parameter"><code>n</code></em> bytes of <em class="parameter"><code>str</code></em> +converted to the destination charset as described by the conversion +descriptor <em class="parameter"><code>cd</code></em>. +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>cd</code></em> :</span></p></td> +<td>conversion descriptor</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td> +<td>string in source charset</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td> +<td>number of bytes to convert</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>a new string buffer containing the first <em class="parameter"><code>n</code></em> bytes of +<em class="parameter"><code>str</code></em> converted to the destination charset as described by the +conversion descriptor <em class="parameter"><code>cd</code></em>.</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2"> +<a name="g-mime-iconv-utf8-to-locale"></a><h3>g_mime_iconv_utf8_to_locale ()</h3> +<pre class="programlisting"><span class="returnvalue">char</span> * g_mime_iconv_utf8_to_locale (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre> +<p> +Allocates a new string buffer containing <em class="parameter"><code>str</code></em> converted to the +user's locale charset. +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td> +<td>string in UTF-8 charset</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>a new string buffer containing <em class="parameter"><code>str</code></em> converted to the +user's locale charset.</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2"> +<a name="g-mime-iconv-utf8-to-locale-length"></a><h3>g_mime_iconv_utf8_to_locale_length ()</h3> +<pre class="programlisting"><span class="returnvalue">char</span> * g_mime_iconv_utf8_to_locale_length (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><span class="type">size_t</span> n</code></em>);</pre> +<p> +Allocates a new string buffer containing the first <em class="parameter"><code>n</code></em> bytes of +<em class="parameter"><code>str</code></em> converted to the user's locale charset. +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td> +<td>string in UTF-8 charset</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td> +<td>number of bytes to convert</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>a new string buffer containing the first <em class="parameter"><code>n</code></em> bytes of +<em class="parameter"><code>str</code></em> converted to the user's locale charset.</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2"> +<a name="g-mime-iconv-locale-to-utf8"></a><h3>g_mime_iconv_locale_to_utf8 ()</h3> +<pre class="programlisting"><span class="returnvalue">char</span> * g_mime_iconv_locale_to_utf8 (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre> +<p> +Allocates a new string buffer containing <em class="parameter"><code>str</code></em> in UTF-8. +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td> +<td>string in locale charset</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>a new string buffer containing <em class="parameter"><code>str</code></em> converted to UTF-8.</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2"> +<a name="g-mime-iconv-locale-to-utf8-length"></a><h3>g_mime_iconv_locale_to_utf8_length ()</h3> +<pre class="programlisting"><span class="returnvalue">char</span> * g_mime_iconv_locale_to_utf8_length (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><span class="type">size_t</span> n</code></em>);</pre> +<p> +Allocates a new string buffer containing the first <em class="parameter"><code>n</code></em> bytes of +<em class="parameter"><code>str</code></em> converted to UTF-8. +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td> +<td>string in locale charset</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td> +<td>number of bytes to convert</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>a new string buffer containing the first <em class="parameter"><code>n</code></em> bytes of +<em class="parameter"><code>str</code></em> converted to UTF-8.</td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.18</div> +</body> +</html>
\ No newline at end of file |