<!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: ucsdet.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_73bc6a9bb617ea1bc89a10aa59ce84e4.html">i18n</a></li><li class="navelem"><a class="el" href="dir_0119ce638985e8a1561a00fdb5f76ff6.html">unicode</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">ucsdet.h</div> </div> </div><!--header--> <div class="contents"> <a href="ucsdet_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) 2005-2013, 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"> * file name: ucsdet.h</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * encoding: US-ASCII</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * indentation:4</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"> * created on: 2005Aug04</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * created by: Andy Heninger</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * ICU Character Set Detection, API for C</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> *</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * Draft version 18 Oct 2005</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> *</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> */</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifndef __UCSDET_H</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor"></span><span class="preprocessor">#define __UCSDET_H</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</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="l00023"></a><span class="lineno"> 23</span> </div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#if !UCONFIG_NO_CONVERSION</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="localpointer_8h.html" title="C++ API: "Smart pointers" for use with and in ICU4C C++ code.">unicode/localpointer.h</a>"</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="uenum_8h.html" title="C API: String Enumeration.">unicode/uenum.h</a>"</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">struct </span><a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a>;</div> <div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d"> 54</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a> <a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a>;</div> <div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">struct </span><a class="code" href="ucsdet_8h.html#a4e40a6a6dae057f9257e144fc65ba667" title="Opaque structure representing a match that was identified from a charset detection operation...">UCharsetMatch</a>;</div> <div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="ucsdet_8h.html#a4e40a6a6dae057f9257e144fc65ba667"> 62</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="ucsdet_8h.html#a4e40a6a6dae057f9257e144fc65ba667" title="Opaque structure representing a match that was identified from a charset detection operation...">UCharsetMatch</a> <a class="code" href="ucsdet_8h.html#a4e40a6a6dae057f9257e144fc65ba667" title="Opaque structure representing a match that was identified from a charset detection operation...">UCharsetMatch</a>;</div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</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> <a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a> * U_EXPORT2</div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <a class="code" href="ucsdet_8h.html#abf2d3c7b731982895433cfbeb6c29cdd" title="Open a charset detector.">ucsdet_open</a>(<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> *status);</div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</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="l00085"></a><span class="lineno"> 85</span> <a class="code" href="ucsdet_8h.html#a84dab4d2c56fedb624a01db170ba698c" title="Close a charset detector.">ucsdet_close</a>(<a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a> *ucsd);</div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <a class="code" href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b" title="This is used to begin a declaration of a public ICU C++ API.">U_NAMESPACE_BEGIN</a></div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div> <div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <a class="code" href="localpointer_8h.html#a3030f841466c4bbbd465ac9c4b999549" title=""Smart pointer" definition macro, deletes objects via the closeFunction.">U_DEFINE_LOCAL_OPEN_POINTER</a>(<a class="code" href="classLocalUCharsetDetectorPointer.html" title=""Smart pointer" class, closes a UCharsetDetector via ucsdet_close().">LocalUCharsetDetectorPointer</a>, <a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a>, <a class="code" href="ucsdet_8h.html#a84dab4d2c56fedb624a01db170ba698c" title="Close a charset detector.">ucsdet_close</a>);</div> <div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div> <div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <a class="code" href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933" title="This is used to end a declaration of a public ICU C++ API.">U_NAMESPACE_END</a></div> <div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div> <div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</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="l00122"></a><span class="lineno"> 122</span> <a class="code" href="ucsdet_8h.html#abb128d8c30fd92d47110a3ca3499c5b2" title="Set the input byte data whose charset is to detected.">ucsdet_setText</a>(<a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a> *ucsd, <span class="keyword">const</span> <span class="keywordtype">char</span> *textIn, int32_t len, <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> *status);</div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</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="l00144"></a><span class="lineno"> 144</span> <a class="code" href="ucsdet_8h.html#a94e2837151f289f01977a211c8a8e06f" title="Set the declared encoding for charset detection.">ucsdet_setDeclaredEncoding</a>(<a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a> *ucsd, <span class="keyword">const</span> <span class="keywordtype">char</span> *encoding, int32_t length, <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> *status);</div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div> <div class="line"><a name="l00172"></a><span class="lineno"> 172</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="keyword">const</span> <a class="code" href="ucsdet_8h.html#a4e40a6a6dae057f9257e144fc65ba667" title="Opaque structure representing a match that was identified from a charset detection operation...">UCharsetMatch</a> * U_EXPORT2</div> <div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <a class="code" href="ucsdet_8h.html#aff2633b5055d472cff4108d94f97cf7d" title="Return the charset that best matches the supplied input data.">ucsdet_detect</a>(<a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a> *ucsd, <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> *status);</div> <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  </div> <div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</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="keyword">const</span> <a class="code" href="ucsdet_8h.html#a4e40a6a6dae057f9257e144fc65ba667" title="Opaque structure representing a match that was identified from a charset detection operation...">UCharsetMatch</a> ** U_EXPORT2</div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <a class="code" href="ucsdet_8h.html#a307dfacd517a92891d1f98d513429bda" title="Find all charset matches that appear to be consistent with the input, returning an array of results...">ucsdet_detectAll</a>(<a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a> *ucsd, int32_t *matchesFound, <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> *status);</div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span> </div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</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="keyword">const</span> <span class="keywordtype">char</span> * U_EXPORT2</div> <div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <a class="code" href="ucsdet_8h.html#ab9433e14dbe7704a4cf9b2b2f1a7377b" title="Get the name of the charset represented by a UCharsetMatch.">ucsdet_getName</a>(<span class="keyword">const</span> <a class="code" href="ucsdet_8h.html#a4e40a6a6dae057f9257e144fc65ba667" title="Opaque structure representing a match that was identified from a charset detection operation...">UCharsetMatch</a> *ucsm, <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> *status);</div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</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> int32_t U_EXPORT2</div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span> <a class="code" href="ucsdet_8h.html#aa1dd7ce8c727d855697aac1f35df71ed" title="Get a confidence number for the quality of the match of the byte data with the charset.">ucsdet_getConfidence</a>(<span class="keyword">const</span> <a class="code" href="ucsdet_8h.html#a4e40a6a6dae057f9257e144fc65ba667" title="Opaque structure representing a match that was identified from a charset detection operation...">UCharsetMatch</a> *ucsm, <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> *status);</div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span> </div> <div class="line"><a name="l00284"></a><span class="lineno"> 284</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="keyword">const</span> <span class="keywordtype">char</span> * U_EXPORT2</div> <div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <a class="code" href="ucsdet_8h.html#a54b1e448b1d9cce1ac017962aaa801aa" title="Get the RFC 3066 code for the language of the input data.">ucsdet_getLanguage</a>(<span class="keyword">const</span> <a class="code" href="ucsdet_8h.html#a4e40a6a6dae057f9257e144fc65ba667" title="Opaque structure representing a match that was identified from a charset detection operation...">UCharsetMatch</a> *ucsm, <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> *status);</div> <div class="line"><a name="l00286"></a><span class="lineno"> 286</span> </div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div> <div class="line"><a name="l00310"></a><span class="lineno"> 310</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> int32_t U_EXPORT2</div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <a class="code" href="ucsdet_8h.html#a30fd9ddb4090bd730caa49c22a3880e1" title="Get the entire input text as a UChar string, placing it into a caller-supplied buffer.">ucsdet_getUChars</a>(<span class="keyword">const</span> <a class="code" href="ucsdet_8h.html#a4e40a6a6dae057f9257e144fc65ba667" title="Opaque structure representing a match that was identified from a charset detection operation...">UCharsetMatch</a> *ucsm,</div> <div class="line"><a name="l00312"></a><span class="lineno"> 312</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> *buf, int32_t cap, <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> *status);</div> <div class="line"><a name="l00313"></a><span class="lineno"> 313</span> </div> <div class="line"><a name="l00314"></a><span class="lineno"> 314</span> </div> <div class="line"><a name="l00315"></a><span class="lineno"> 315</span> </div> <div class="line"><a name="l00344"></a><span class="lineno"> 344</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> <a class="code" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d" title="structure representing an enumeration object instance">UEnumeration</a> * U_EXPORT2</div> <div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <a class="code" href="ucsdet_8h.html#a60dcfd7a2b826b995c86becf2f802016" title="Get an iterator over the set of all detectable charsets - over the charsets that are known to the cha...">ucsdet_getAllDetectableCharsets</a>(<span class="keyword">const</span> <a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a> *ucsd, <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> *status);</div> <div class="line"><a name="l00346"></a><span class="lineno"> 346</span> </div> <div class="line"><a name="l00358"></a><span class="lineno"> 358</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> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> U_EXPORT2</div> <div class="line"><a name="l00359"></a><span class="lineno"> 359</span> <a class="code" href="ucsdet_8h.html#a04e3e10583476b1b53a677ebb5acfe67" title="Test whether input filtering is enabled for this charset detector.">ucsdet_isInputFilterEnabled</a>(<span class="keyword">const</span> <a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a> *ucsd);</div> <div class="line"><a name="l00360"></a><span class="lineno"> 360</span> </div> <div class="line"><a name="l00361"></a><span class="lineno"> 361</span> </div> <div class="line"><a name="l00373"></a><span class="lineno"> 373</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> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> U_EXPORT2</div> <div class="line"><a name="l00374"></a><span class="lineno"> 374</span> <a class="code" href="ucsdet_8h.html#ad4911fca8b4685bba2c1b77ea2d2b535" title="Enable filtering of input text.">ucsdet_enableInputFilter</a>(<a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a> *ucsd, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> filter);</div> <div class="line"><a name="l00375"></a><span class="lineno"> 375</span> </div> <div class="line"><a name="l00376"></a><span class="lineno"> 376</span> <span class="preprocessor">#ifndef U_HIDE_INTERNAL_API</span></div> <div class="line"><a name="l00377"></a><span class="lineno"> 377</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00390"></a><span class="lineno"> 390</span> <a class="code" href="umachine_8h.html#a161dba69f4e479c3626793efc42f94ba" title="This is used to declare a function as an internal ICU C API.">U_INTERNAL</a> <a class="code" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d" title="structure representing an enumeration object instance">UEnumeration</a> * U_EXPORT2</div> <div class="line"><a name="l00391"></a><span class="lineno"> 391</span> <a class="code" href="ucsdet_8h.html#a6675b4b134d4a466ccd404de5b786d54" title="Get an iterator over the set of detectable charsets - over the charsets that are enabled by the speci...">ucsdet_getDetectableCharsets</a>(<span class="keyword">const</span> <a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a> *ucsd, <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> *status);</div> <div class="line"><a name="l00392"></a><span class="lineno"> 392</span> </div> <div class="line"><a name="l00406"></a><span class="lineno"> 406</span> <a class="code" href="umachine_8h.html#a161dba69f4e479c3626793efc42f94ba" title="This is used to declare a function as an internal ICU C API.">U_INTERNAL</a> <span class="keywordtype">void</span> U_EXPORT2</div> <div class="line"><a name="l00407"></a><span class="lineno"> 407</span> <a class="code" href="ucsdet_8h.html#a8320689559aa9f530a8d44b6a0988ffe" title="Enable or disable individual charset encoding.">ucsdet_setDetectableCharset</a>(<a class="code" href="ucsdet_8h.html#a8f341f9c43bf58b112afd70c8a94c45d" title="Structure representing a charset detector.">UCharsetDetector</a> *ucsd, <span class="keyword">const</span> <span class="keywordtype">char</span> *encoding, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> enabled, <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> *status);</div> <div class="line"><a name="l00408"></a><span class="lineno"> 408</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_INTERNAL_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00409"></a><span class="lineno"> 409</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00410"></a><span class="lineno"> 410</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00411"></a><span class="lineno"> 411</span> <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* __UCSDET_H */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00412"></a><span class="lineno"> 412</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00413"></a><span class="lineno"> 413</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>