| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
|
|---|
| 2 | <html>
|
|---|
| 3 | <head>
|
|---|
| 4 | <meta name="GENERATOR" content="PasDoc 0.9.0">
|
|---|
| 5 | <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
|---|
| 6 | <title>synaicnv</title>
|
|---|
| 7 | <link rel="StyleSheet" type="text/css" href="pasdoc.css">
|
|---|
| 8 | </head>
|
|---|
| 9 | <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
|
|---|
| 10 | <h1 class="unit">Unit synaicnv</h1>
|
|---|
| 11 | <table class="sections">
|
|---|
| 12 | <tr>
|
|---|
| 13 | <td><a class="section" href="#@Description">Description</a></td><td><a class="section" href="#@Uses">uses</a></td><td>Classes, Interfaces, Objects and Records</td><td><a class="section" href="#@FuncsProcs">Functions and Procedures</a></td><td><a class="section" href="#@Types">Types</a></td><td><a class="section" href="#@Constants">Constants</a></td><td><a class="section" href="#@Variables">Variables</a></td></tr></table>
|
|---|
| 14 | <a name="@Description"></a><h2 class="description">Description</h2>
|
|---|
| 15 | <p>
|
|---|
| 16 | LibIconv support</p>
|
|---|
| 17 | <p>
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 | <p>This unit is Pascal interface to LibIconv library for charset translations. LibIconv is loaded dynamicly on-demand. If this library is not found in system, requested LibIconv function just return errorcode.</p>
|
|---|
| 21 | <a name="@Uses"></a><h2 class="uses">uses</h2>
|
|---|
| 22 | <ul class="useslist"><li><a href="synafpc.html">synafpc</a></li><li>Windows</li></ul><h2 class="overview">Overview</h2>
|
|---|
| 23 | <a name="@FuncsProcs"></a><h3 class="summary">Functions and Procedures</h3>
|
|---|
| 24 | <table class="summary">
|
|---|
| 25 | <tr class="list">
|
|---|
| 26 | <td class="itemcode"><code>function <b><a href="synaicnv.html#SynaIconvOpen">SynaIconvOpen</a></b>(const tocode, fromcode: Ansistring): <a href="synaicnv.html#iconv_t">iconv_t</a>;</code></td>
|
|---|
| 27 | </tr>
|
|---|
| 28 | <tr class="list2">
|
|---|
| 29 | <td class="itemcode"><code>function <b><a href="synaicnv.html#SynaIconvOpenTranslit">SynaIconvOpenTranslit</a></b>(const tocode, fromcode: Ansistring): <a href="synaicnv.html#iconv_t">iconv_t</a>;</code></td>
|
|---|
| 30 | </tr>
|
|---|
| 31 | <tr class="list">
|
|---|
| 32 | <td class="itemcode"><code>function <b><a href="synaicnv.html#SynaIconvOpenIgnore">SynaIconvOpenIgnore</a></b>(const tocode, fromcode: Ansistring): <a href="synaicnv.html#iconv_t">iconv_t</a>;</code></td>
|
|---|
| 33 | </tr>
|
|---|
| 34 | <tr class="list2">
|
|---|
| 35 | <td class="itemcode"><code>function <b><a href="synaicnv.html#SynaIconv">SynaIconv</a></b>(cd: <a href="synaicnv.html#iconv_t">iconv_t</a>; inbuf: AnsiString; var outbuf: AnsiString): integer;</code></td>
|
|---|
| 36 | </tr>
|
|---|
| 37 | <tr class="list">
|
|---|
| 38 | <td class="itemcode"><code>function <b><a href="synaicnv.html#SynaIconvClose">SynaIconvClose</a></b>(var cd: <a href="synaicnv.html#iconv_t">iconv_t</a>): integer;</code></td>
|
|---|
| 39 | </tr>
|
|---|
| 40 | <tr class="list2">
|
|---|
| 41 | <td class="itemcode"><code>function <b><a href="synaicnv.html#SynaIconvCtl">SynaIconvCtl</a></b>(cd: <a href="synaicnv.html#iconv_t">iconv_t</a>; request: integer; argument: <a href="synaicnv.html#argptr">argptr</a>): integer;</code></td>
|
|---|
| 42 | </tr>
|
|---|
| 43 | <tr class="list">
|
|---|
| 44 | <td class="itemcode"><code>function <b><a href="synaicnv.html#IsIconvloaded">IsIconvloaded</a></b>: Boolean;</code></td>
|
|---|
| 45 | </tr>
|
|---|
| 46 | <tr class="list2">
|
|---|
| 47 | <td class="itemcode"><code>function <b><a href="synaicnv.html#InitIconvInterface">InitIconvInterface</a></b>: Boolean;</code></td>
|
|---|
| 48 | </tr>
|
|---|
| 49 | <tr class="list">
|
|---|
| 50 | <td class="itemcode"><code>function <b><a href="synaicnv.html#DestroyIconvInterface">DestroyIconvInterface</a></b>: Boolean;</code></td>
|
|---|
| 51 | </tr>
|
|---|
| 52 | </table>
|
|---|
| 53 | <a name="@Types"></a><h3 class="summary">Types</h3>
|
|---|
| 54 | <table class="summary">
|
|---|
| 55 | <tr class="list">
|
|---|
| 56 | <td class="itemcode"><code><b><a href="synaicnv.html#size_t">size_t</a></b> = Cardinal;</code></td>
|
|---|
| 57 | </tr>
|
|---|
| 58 | <tr class="list2">
|
|---|
| 59 | <td class="itemcode"><code><b><a href="synaicnv.html#iconv_t">iconv_t</a></b> = Pointer;</code></td>
|
|---|
| 60 | </tr>
|
|---|
| 61 | <tr class="list">
|
|---|
| 62 | <td class="itemcode"><code><b><a href="synaicnv.html#argptr">argptr</a></b> = <a href="synaicnv.html#iconv_t">iconv_t</a>;</code></td>
|
|---|
| 63 | </tr>
|
|---|
| 64 | </table>
|
|---|
| 65 | <a name="@Constants"></a><h3 class="summary">Constants</h3>
|
|---|
| 66 | <table class="summary">
|
|---|
| 67 | <tr class="list">
|
|---|
| 68 | <td class="itemcode"><code><b><a href="synaicnv.html#DLLIconvName">DLLIconvName</a></b> = 'iconv.dll';</code></td>
|
|---|
| 69 | </tr>
|
|---|
| 70 | <tr class="list2">
|
|---|
| 71 | <td class="itemcode"><code><b><a href="synaicnv.html#ICONV_TRIVIALP">ICONV_TRIVIALP</a></b> = 0;</code></td>
|
|---|
| 72 | </tr>
|
|---|
| 73 | <tr class="list">
|
|---|
| 74 | <td class="itemcode"><code><b><a href="synaicnv.html#ICONV_GET_TRANSLITERATE">ICONV_GET_TRANSLITERATE</a></b> = 1;</code></td>
|
|---|
| 75 | </tr>
|
|---|
| 76 | <tr class="list2">
|
|---|
| 77 | <td class="itemcode"><code><b><a href="synaicnv.html#ICONV_SET_TRANSLITERATE">ICONV_SET_TRANSLITERATE</a></b> = 2;</code></td>
|
|---|
| 78 | </tr>
|
|---|
| 79 | <tr class="list">
|
|---|
| 80 | <td class="itemcode"><code><b><a href="synaicnv.html#ICONV_GET_DISCARD_ILSEQ">ICONV_GET_DISCARD_ILSEQ</a></b> = 3;</code></td>
|
|---|
| 81 | </tr>
|
|---|
| 82 | <tr class="list2">
|
|---|
| 83 | <td class="itemcode"><code><b><a href="synaicnv.html#ICONV_SET_DISCARD_ILSEQ">ICONV_SET_DISCARD_ILSEQ</a></b> = 4;</code></td>
|
|---|
| 84 | </tr>
|
|---|
| 85 | </table>
|
|---|
| 86 | <a name="@Variables"></a><h3 class="summary">Variables</h3>
|
|---|
| 87 | <table class="summary">
|
|---|
| 88 | <tr class="list">
|
|---|
| 89 | <td class="itemcode"><code><b><a href="synaicnv.html#iconvLibHandle">iconvLibHandle</a></b>: <a href="synafpc.html#TLibHandle">TLibHandle</a> = 0;</code></td>
|
|---|
| 90 | </tr>
|
|---|
| 91 | </table>
|
|---|
| 92 | <h2 class="description">Description</h2>
|
|---|
| 93 | <h3 class="detail">Functions and Procedures</h3>
|
|---|
| 94 | <table class="detail">
|
|---|
| 95 | <tr class="list">
|
|---|
| 96 | <td class="itemcode"><a name="SynaIconvOpen"></a><code>function <b>SynaIconvOpen</b>(const tocode, fromcode: Ansistring): <a href="synaicnv.html#iconv_t">iconv_t</a>;</code></td>
|
|---|
| 97 | </tr>
|
|---|
| 98 | </table>
|
|---|
| 99 | <table class="detail">
|
|---|
| 100 | <tr class="list">
|
|---|
| 101 | <td class="itemcode"><a name="SynaIconvOpenTranslit"></a><code>function <b>SynaIconvOpenTranslit</b>(const tocode, fromcode: Ansistring): <a href="synaicnv.html#iconv_t">iconv_t</a>;</code></td>
|
|---|
| 102 | </tr>
|
|---|
| 103 | </table>
|
|---|
| 104 | <table class="detail">
|
|---|
| 105 | <tr class="list">
|
|---|
| 106 | <td class="itemcode"><a name="SynaIconvOpenIgnore"></a><code>function <b>SynaIconvOpenIgnore</b>(const tocode, fromcode: Ansistring): <a href="synaicnv.html#iconv_t">iconv_t</a>;</code></td>
|
|---|
| 107 | </tr>
|
|---|
| 108 | </table>
|
|---|
| 109 | <table class="detail">
|
|---|
| 110 | <tr class="list">
|
|---|
| 111 | <td class="itemcode"><a name="SynaIconv"></a><code>function <b>SynaIconv</b>(cd: <a href="synaicnv.html#iconv_t">iconv_t</a>; inbuf: AnsiString; var outbuf: AnsiString): integer;</code></td>
|
|---|
| 112 | </tr>
|
|---|
| 113 | </table>
|
|---|
| 114 | <table class="detail">
|
|---|
| 115 | <tr class="list">
|
|---|
| 116 | <td class="itemcode"><a name="SynaIconvClose"></a><code>function <b>SynaIconvClose</b>(var cd: <a href="synaicnv.html#iconv_t">iconv_t</a>): integer;</code></td>
|
|---|
| 117 | </tr>
|
|---|
| 118 | </table>
|
|---|
| 119 | <table class="detail">
|
|---|
| 120 | <tr class="list">
|
|---|
| 121 | <td class="itemcode"><a name="SynaIconvCtl"></a><code>function <b>SynaIconvCtl</b>(cd: <a href="synaicnv.html#iconv_t">iconv_t</a>; request: integer; argument: <a href="synaicnv.html#argptr">argptr</a>): integer;</code></td>
|
|---|
| 122 | </tr>
|
|---|
| 123 | </table>
|
|---|
| 124 | <table class="detail">
|
|---|
| 125 | <tr class="list">
|
|---|
| 126 | <td class="itemcode"><a name="IsIconvloaded"></a><code>function <b>IsIconvloaded</b>: Boolean;</code></td>
|
|---|
| 127 | </tr>
|
|---|
| 128 | </table>
|
|---|
| 129 | <table class="detail">
|
|---|
| 130 | <tr class="list">
|
|---|
| 131 | <td class="itemcode"><a name="InitIconvInterface"></a><code>function <b>InitIconvInterface</b>: Boolean;</code></td>
|
|---|
| 132 | </tr>
|
|---|
| 133 | </table>
|
|---|
| 134 | <table class="detail">
|
|---|
| 135 | <tr class="list">
|
|---|
| 136 | <td class="itemcode"><a name="DestroyIconvInterface"></a><code>function <b>DestroyIconvInterface</b>: Boolean;</code></td>
|
|---|
| 137 | </tr>
|
|---|
| 138 | </table>
|
|---|
| 139 | <h3 class="detail">Types</h3>
|
|---|
| 140 | <table class="detail">
|
|---|
| 141 | <tr class="list">
|
|---|
| 142 | <td class="itemcode"><a name="size_t"></a><code><b>size_t</b> = Cardinal;</code></td>
|
|---|
| 143 | </tr>
|
|---|
| 144 | </table>
|
|---|
| 145 | <table class="detail">
|
|---|
| 146 | <tr class="list">
|
|---|
| 147 | <td class="itemcode"><a name="iconv_t"></a><code><b>iconv_t</b> = Pointer;</code></td>
|
|---|
| 148 | </tr>
|
|---|
| 149 | </table>
|
|---|
| 150 | <table class="detail">
|
|---|
| 151 | <tr class="list">
|
|---|
| 152 | <td class="itemcode"><a name="argptr"></a><code><b>argptr</b> = <a href="synaicnv.html#iconv_t">iconv_t</a>;</code></td>
|
|---|
| 153 | </tr>
|
|---|
| 154 | </table>
|
|---|
| 155 | <h3 class="detail">Constants</h3>
|
|---|
| 156 | <table class="detail">
|
|---|
| 157 | <tr class="list">
|
|---|
| 158 | <td class="itemcode"><a name="DLLIconvName"></a><code><b>DLLIconvName</b> = 'iconv.dll';</code></td>
|
|---|
| 159 | </tr>
|
|---|
| 160 | </table>
|
|---|
| 161 | <table class="detail">
|
|---|
| 162 | <tr class="list">
|
|---|
| 163 | <td class="itemcode"><a name="ICONV_TRIVIALP"></a><code><b>ICONV_TRIVIALP</b> = 0;</code></td>
|
|---|
| 164 | </tr>
|
|---|
| 165 | </table>
|
|---|
| 166 | <table class="detail">
|
|---|
| 167 | <tr class="list">
|
|---|
| 168 | <td class="itemcode"><a name="ICONV_GET_TRANSLITERATE"></a><code><b>ICONV_GET_TRANSLITERATE</b> = 1;</code></td>
|
|---|
| 169 | </tr>
|
|---|
| 170 | </table>
|
|---|
| 171 | <table class="detail">
|
|---|
| 172 | <tr class="list">
|
|---|
| 173 | <td class="itemcode"><a name="ICONV_SET_TRANSLITERATE"></a><code><b>ICONV_SET_TRANSLITERATE</b> = 2;</code></td>
|
|---|
| 174 | </tr>
|
|---|
| 175 | </table>
|
|---|
| 176 | <table class="detail">
|
|---|
| 177 | <tr class="list">
|
|---|
| 178 | <td class="itemcode"><a name="ICONV_GET_DISCARD_ILSEQ"></a><code><b>ICONV_GET_DISCARD_ILSEQ</b> = 3;</code></td>
|
|---|
| 179 | </tr>
|
|---|
| 180 | </table>
|
|---|
| 181 | <table class="detail">
|
|---|
| 182 | <tr class="list">
|
|---|
| 183 | <td class="itemcode"><a name="ICONV_SET_DISCARD_ILSEQ"></a><code><b>ICONV_SET_DISCARD_ILSEQ</b> = 4;</code></td>
|
|---|
| 184 | </tr>
|
|---|
| 185 | </table>
|
|---|
| 186 | <h3 class="detail">Variables</h3>
|
|---|
| 187 | <table class="detail">
|
|---|
| 188 | <tr class="list">
|
|---|
| 189 | <td class="itemcode"><a name="iconvLibHandle"></a><code><b>iconvLibHandle</b>: <a href="synafpc.html#TLibHandle">TLibHandle</a> = 0;</code></td>
|
|---|
| 190 | </tr>
|
|---|
| 191 | </table>
|
|---|
| 192 | <hr noshade size="1"><span class="appinfo"><em>Generated by <a target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.9.0</a> on 2012-04-23 21:38:52</em>
|
|---|
| 193 | </span>
|
|---|
| 194 | </body></html>
|
|---|