<!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 4.8.1.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="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </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 4.8.1.1  <span id="projectnumber">4.8.1.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.1 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <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="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </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> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Pages</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </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-2010, 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> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a></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> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a></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> U_DEFINE_LOCAL_OPEN_POINTER(LocalUCharsetDetectorPointer, <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> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a></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> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a></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> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a></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> ** <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a></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> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a></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 <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a></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> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a></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 <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a></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 wchar_t if that is 16 bits wide; always assumed to be unsigned.">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="l00335"></a><span class="lineno"> 335</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> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a></div> <div class="line"><a name="l00336"></a><span class="lineno"> 336</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="l00337"></a><span class="lineno"> 337</span> </div> <div class="line"><a name="l00338"></a><span class="lineno"> 338</span> </div> <div class="line"><a name="l00349"></a><span class="lineno"> 349</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> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a></div> <div class="line"><a name="l00350"></a><span class="lineno"> 350</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="l00351"></a><span class="lineno"> 351</span> </div> <div class="line"><a name="l00352"></a><span class="lineno"> 352</span> </div> <div class="line"><a name="l00364"></a><span class="lineno"> 364</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> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a></div> <div class="line"><a name="l00365"></a><span class="lineno"> 365</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="l00366"></a><span class="lineno"> 366</span> </div> <div class="line"><a name="l00367"></a><span class="lineno"> 367</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00368"></a><span class="lineno"> 368</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="l00369"></a><span class="lineno"> 369</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00370"></a><span class="lineno"> 370</span> </div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.1 </small></address> </body> </html>