<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>ICU 52.1: ucnv_cb.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ICU 52.1  <span id="projectnumber">52.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.2 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_bdd9a5d540de89e9fe90efdfc6973a4f.html">common</a></li><li class="navelem"><a class="el" href="dir_f59c6450ff718ff1b085cfd1c36acbd7.html">unicode</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">ucnv_cb.h</div> </div> </div><!--header--> <div class="contents"> <a href="ucnv__cb_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">**********************************************************************</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">* Copyright (C) 2000-2004, International Business Machines</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">* Corporation and others. All Rights Reserved.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">**********************************************************************</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ucnv_cb.h:</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * External APIs for the ICU's codeset conversion library</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * Helena Shih</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * </span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * Modification History:</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> *</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * Date Name Description</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> */</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor">#ifndef UCNV_CB_H</span></div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor"></span><span class="preprocessor">#define UCNV_CB_H</span></div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor">#include "<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>"</span></div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="preprocessor">#if !UCONFIG_NO_CONVERSION</span></div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="preprocessor">#include "<a class="code" href="ucnv_8h.html" title="C API: Character conversion.">unicode/ucnv.h</a>"</span></div> <div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="preprocessor">#include "<a class="code" href="ucnv__err_8h.html" title="C UConverter predefined error callbacks.">unicode/ucnv_err.h</a>"</span></div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> U_EXPORT2</div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <a class="code" href="ucnv__cb_8h.html#aedc62c69262f4600b8822ff2c6e9e9a2" title="ONLY used by FromU callback functions.">ucnv_cbFromUWriteBytes</a> (<a class="code" href="structUConverterFromUnicodeArgs.html" title="The structure for the fromUnicode callback function parameter.">UConverterFromUnicodeArgs</a> *args,</div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* source,</div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  int32_t length,</div> <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  int32_t offsetIndex,</div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> * err);</div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> U_EXPORT2 </div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <a class="code" href="ucnv__cb_8h.html#a990ef0fed110f7aef812cbf695cee377" title="ONLY used by FromU callback functions.">ucnv_cbFromUWriteSub</a> (<a class="code" href="structUConverterFromUnicodeArgs.html" title="The structure for the fromUnicode callback function parameter.">UConverterFromUnicodeArgs</a> *args,</div> <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  int32_t offsetIndex,</div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> * err);</div> <div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div> <div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> U_EXPORT2 <a class="code" href="ucnv__cb_8h.html#a264e1a4c911822b1bd6cea0745638904" title="ONLY used by fromU callback functions.">ucnv_cbFromUWriteUChars</a>(<a class="code" href="structUConverterFromUnicodeArgs.html" title="The structure for the fromUnicode callback function parameter.">UConverterFromUnicodeArgs</a> *args,</div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>** source,</div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* sourceLimit,</div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  int32_t offsetIndex,</div> <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> * err);</div> <div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> U_EXPORT2 <a class="code" href="ucnv__cb_8h.html#abc92f1034969edf613e1bcafd5ae769b" title="ONLY used by ToU callback functions.">ucnv_cbToUWriteUChars</a> (<a class="code" href="structUConverterToUnicodeArgs.html" title="The structure for the toUnicode callback function parameter.">UConverterToUnicodeArgs</a> *args,</div> <div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* source,</div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  int32_t length,</div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  int32_t offsetIndex,</div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> * err);</div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div> <div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> U_EXPORT2 <a class="code" href="ucnv__cb_8h.html#a5a888b4e94100c12a88339ae3587688a" title="ONLY used by ToU callback functions.">ucnv_cbToUWriteSub</a> (<a class="code" href="structUConverterToUnicodeArgs.html" title="The structure for the toUnicode callback function parameter.">UConverterToUnicodeArgs</a> *args,</div> <div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  int32_t offsetIndex,</div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> * err);</div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="preprocessor">#endif</span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 4 2013 14:10:21 for ICU 52.1 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.2 </small></address> </body> </html>