<!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: uspoof.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">uspoof.h</div> </div> </div><!--header--> <div class="contents"> <a href="uspoof_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) 2008-2013, International Business Machines Corporation</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">* 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: uspoof.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">* tab size: 8 (not used)</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">* indentation:4</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">*</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">* created on: 2008Feb13</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">* created by: Andy Heninger</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> <span class="comment">* Unicode Spoof Detection</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">*/</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef USPOOF_H</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span><span class="preprocessor">#define USPOOF_H</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</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="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="uset_8h.html" title="C API: Unicode Set.">unicode/uset.h</a>"</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="parseerr_8h.html" title="C API: Parse Error Information.">unicode/parseerr.h</a>"</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</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="l00024"></a><span class="lineno"> 24</span> </div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#if !UCONFIG_NO_NORMALIZATION</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="unistr_8h.html" title="C++ API: Unicode String.">unicode/unistr.h</a>"</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="uniset_8h.html" title="C++ API: Unicode Set.">unicode/uniset.h</a>"</span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="keyword">struct </span><a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a>;</div> <div class="line"><a name="l00145"></a><span class="lineno"><a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f"> 145</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a>; </div> <div class="line"><a name="l00154"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155"> 154</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155" title="Enum for the kinds of checks that USpoofChecker can perform.">USpoofChecks</a> {</div> <div class="line"><a name="l00160"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155adc4588fd7ff74c3a6e5cc91d3a6f5d60"> 160</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155adc4588fd7ff74c3a6e5cc91d3a6f5d60" title="Single script confusable test.">USPOOF_SINGLE_SCRIPT_CONFUSABLE</a> = 1,</div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div> <div class="line"><a name="l00170"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a76a60327ab14a68342242aae60340106"> 170</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a76a60327ab14a68342242aae60340106" title="Mixed script confusable test.">USPOOF_MIXED_SCRIPT_CONFUSABLE</a> = 2,</div> <div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div> <div class="line"><a name="l00181"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155abfc834ae8c881e54a7922648d5fecead"> 181</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155abfc834ae8c881e54a7922648d5fecead" title="Whole script confusable test.">USPOOF_WHOLE_SCRIPT_CONFUSABLE</a> = 4,</div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  </div> <div class="line"><a name="l00189"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155ae65a72b384e76f7ac1cc4df1decd8057"> 189</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155ae65a72b384e76f7ac1cc4df1decd8057" title="Any Case Modifier for confusable identifier tests.">USPOOF_ANY_CASE</a> = 8,</div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div> <div class="line"><a name="l00204"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a1977848d7ccac6f3640fa684b452f69a"> 204</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a1977848d7ccac6f3640fa684b452f69a" title="Check that an identifier is no looser than the specified RestrictionLevel.">USPOOF_RESTRICTION_LEVEL</a> = 16,</div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="preprocessor">#ifndef U_HIDE_DEPRECATED_API </span></div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00212"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a68b7d294c1566c1f4a74e2b3a952a138"> 212</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a68b7d294c1566c1f4a74e2b3a952a138" title="Check that an identifier contains only characters from a single script (plus chars from the common an...">USPOOF_SINGLE_SCRIPT</a> = <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a1977848d7ccac6f3640fa684b452f69a" title="Check that an identifier is no looser than the specified RestrictionLevel.">USPOOF_RESTRICTION_LEVEL</a>,</div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DEPRECATED_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="preprocessor"></span> </div> <div class="line"><a name="l00221"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a7324a51073ca18279da8706d8c21ee0c"> 221</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a7324a51073ca18279da8706d8c21ee0c" title="Check an identifier for the presence of invisible characters, such as zero-width spaces, or character sequences that are likely not to display, such as multiple occurrences of the same non-spacing mark.">USPOOF_INVISIBLE</a> = 32,</div> <div class="line"><a name="l00222"></a><span class="lineno"> 222</span> </div> <div class="line"><a name="l00227"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a3f3e13d5b54cc156864a2aca221b3888"> 227</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a3f3e13d5b54cc156864a2aca221b3888" title="Check that an identifier contains only characters from a specified set of acceptable characters...">USPOOF_CHAR_LIMIT</a> = 64,</div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="preprocessor">#ifndef U_HIDE_DRAFT_API</span></div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00236"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a0fbfe4596de0672faf4f0d4f01a823f6"> 236</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a0fbfe4596de0672faf4f0d4f01a823f6" title="Check that an identifier does not include decimal digits from more than one numbering system...">USPOOF_MIXED_NUMBERS</a> = 128,</div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DRAFT_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00238"></a><span class="lineno"> 238</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00244"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a4450adc366e2178c451d89b2ea244123"> 244</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a4450adc366e2178c451d89b2ea244123" title="Enable all spoof checks.">USPOOF_ALL_CHECKS</a> = 0xFFFF,</div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div> <div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="preprocessor">#ifndef U_HIDE_DRAFT_API</span></div> <div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00259"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155aa7307e5bdc933ceba391fbbc22b382ab"> 259</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155aa7307e5bdc933ceba391fbbc22b382ab" title="Enable the return of auxillary (non-error) information in the upper bits of the check results value...">USPOOF_AUX_INFO</a> = 0x40000000</div> <div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DRAFT_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  } <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155" title="Enum for the kinds of checks that USpoofChecker can perform.">USpoofChecks</a>;</div> <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  </div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  </div> <div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="preprocessor">#ifndef U_HIDE_DRAFT_API</span></div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00271"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852"> 271</a></span>  <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852" title="Constants from UAX #39 for use in setRestrictionLevel(), and for returned identifier restriction leve...">URestrictionLevel</a> {</div> <div class="line"><a name="l00277"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a262982208b89a2649d0f31ea48e46765"> 277</a></span>  <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a262982208b89a2649d0f31ea48e46765" title="Only ASCII characters: U+0000..U+007F.">USPOOF_ASCII</a> = 0x10000000,</div> <div class="line"><a name="l00285"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af6dda9229dc422d3e8e41a23a1251060"> 285</a></span>  <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af6dda9229dc422d3e8e41a23a1251060" title="All characters in each identifier must be from a single script, or from the combinations: Latin + Han...">USPOOF_HIGHLY_RESTRICTIVE</a> = 0x20000000,</div> <div class="line"><a name="l00291"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a06d4bf8b1c05dca9a9ec69a0e926e117"> 291</a></span>  <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a06d4bf8b1c05dca9a9ec69a0e926e117" title="Allow Latin with other scripts except Cyrillic, Greek, Cherokee Otherwise, the same as Highly Restric...">USPOOF_MODERATELY_RESTRICTIVE</a> = 0x30000000,</div> <div class="line"><a name="l00297"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af1e2132b4067af2aec3460c679f7e598"> 297</a></span>  <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af1e2132b4067af2aec3460c679f7e598" title="Allow arbitrary mixtures of scripts.">USPOOF_MINIMALLY_RESTRICTIVE</a> = 0x40000000,</div> <div class="line"><a name="l00303"></a><span class="lineno"><a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af8c3d86392c0d18d51b05390483a036e"> 303</a></span>  <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af8c3d86392c0d18d51b05390483a036e" title="Any valid identifiers, including characters outside of the Identifier Profile.">USPOOF_UNRESTRICTIVE</a> = 0x50000000</div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  } <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852" title="Constants from UAX #39 for use in setRestrictionLevel(), and for returned identifier restriction leve...">URestrictionLevel</a>;</div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DRAFT_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00317"></a><span class="lineno"> 317</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="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> * U_EXPORT2</div> <div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <a class="code" href="uspoof_8h.html#afeff54ce632c1357e914334009becb62" title="Create a Unicode Spoof Checker, configured to perform all checks except for USPOOF_LOCALE_LIMIT and U...">uspoof_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="l00319"></a><span class="lineno"> 319</span> </div> <div class="line"><a name="l00320"></a><span class="lineno"> 320</span> </div> <div class="line"><a name="l00342"></a><span class="lineno"> 342</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="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> * U_EXPORT2</div> <div class="line"><a name="l00343"></a><span class="lineno"> 343</span> <a class="code" href="uspoof_8h.html#aa13a3dd9f673f9df317948eecab1a346" title="Open a Spoof checker from its serialized from, stored in 32-bit-aligned memory.">uspoof_openFromSerialized</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *data, int32_t length, int32_t *pActualLength,</div> <div class="line"><a name="l00344"></a><span class="lineno"> 344</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> *pErrorCode);</div> <div class="line"><a name="l00345"></a><span class="lineno"> 345</span> </div> <div class="line"><a name="l00377"></a><span class="lineno"> 377</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="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> * U_EXPORT2</div> <div class="line"><a name="l00378"></a><span class="lineno"> 378</span> <a class="code" href="uspoof_8h.html#a5332f41a9d13aec2cc115e6a24d08595" title="Open a Spoof Checker from the source form of the spoof data.">uspoof_openFromSource</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *confusables, int32_t confusablesLen,</div> <div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *confusablesWholeScript, int32_t confusablesWholeScriptLen,</div> <div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  int32_t *errType, <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a> *pe, <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="l00381"></a><span class="lineno"> 381</span> </div> <div class="line"><a name="l00382"></a><span class="lineno"> 382</span> </div> <div class="line"><a name="l00388"></a><span class="lineno"> 388</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="l00389"></a><span class="lineno"> 389</span> <a class="code" href="uspoof_8h.html#ab63b4f7780b1d6c57a31624ad5c3db41" title="Close a Spoof Checker, freeing any memory that was being held by its implementation.">uspoof_close</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc);</div> <div class="line"><a name="l00390"></a><span class="lineno"> 390</span> </div> <div class="line"><a name="l00391"></a><span class="lineno"> 391</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div> <div class="line"><a name="l00392"></a><span class="lineno"> 392</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00393"></a><span class="lineno"> 393</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="l00394"></a><span class="lineno"> 394</span> </div> <div class="line"><a name="l00404"></a><span class="lineno"> 404</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="classLocalUSpoofCheckerPointer.html" title=""Smart pointer" class, closes a USpoofChecker via uspoof_close().">LocalUSpoofCheckerPointer</a>, <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a>, <a class="code" href="uspoof_8h.html#ab63b4f7780b1d6c57a31624ad5c3db41" title="Close a Spoof Checker, freeing any memory that was being held by its implementation.">uspoof_close</a>);</div> <div class="line"><a name="l00405"></a><span class="lineno"> 405</span> </div> <div class="line"><a name="l00406"></a><span class="lineno"> 406</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="l00407"></a><span class="lineno"> 407</span> </div> <div class="line"><a name="l00408"></a><span class="lineno"> 408</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00409"></a><span class="lineno"> 409</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00419"></a><span class="lineno"> 419</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="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> * U_EXPORT2</div> <div class="line"><a name="l00420"></a><span class="lineno"> 420</span> <a class="code" href="uspoof_8h.html#a5a6a3fff21c2aa515d3e16da47609a48" title="Clone a Spoof Checker.">uspoof_clone</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc, <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="l00421"></a><span class="lineno"> 421</span> </div> <div class="line"><a name="l00422"></a><span class="lineno"> 422</span> </div> <div class="line"><a name="l00435"></a><span class="lineno"> 435</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="l00436"></a><span class="lineno"> 436</span> <a class="code" href="uspoof_8h.html#a1600b90af8fde36cf87d6c6be8df5af0" title="Specify the set of checks that will be performed by the check functions of this Spoof Checker...">uspoof_setChecks</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc, int32_t checks, <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="l00437"></a><span class="lineno"> 437</span> </div> <div class="line"><a name="l00449"></a><span class="lineno"> 449</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="l00450"></a><span class="lineno"> 450</span> <a class="code" href="uspoof_8h.html#a11c9d7b315c2f4b1011619bd4df91cf8" title="Get the set of checks that this Spoof Checker has been configured to perform.">uspoof_getChecks</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc, <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="l00451"></a><span class="lineno"> 451</span> </div> <div class="line"><a name="l00452"></a><span class="lineno"> 452</span> <span class="preprocessor">#ifndef U_HIDE_DRAFT_API</span></div> <div class="line"><a name="l00453"></a><span class="lineno"> 453</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00461"></a><span class="lineno"> 461</span> <a class="code" href="umachine_8h.html#a41691e68155dca13bc1f020fa30dac82" title="This is used to declare a function as a draft public ICU C API.">U_DRAFT</a> <span class="keywordtype">void</span> U_EXPORT2</div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</span> <a class="code" href="uspoof_8h.html#a27b9d377dbbfa2f8d678a9d3e46b546b" title="Set the loosest restriction level allowed.">uspoof_setRestrictionLevel</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc, <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852" title="Constants from UAX #39 for use in setRestrictionLevel(), and for returned identifier restriction leve...">URestrictionLevel</a> restrictionLevel);</div> <div class="line"><a name="l00463"></a><span class="lineno"> 463</span> </div> <div class="line"><a name="l00464"></a><span class="lineno"> 464</span> </div> <div class="line"><a name="l00472"></a><span class="lineno"> 472</span> <a class="code" href="umachine_8h.html#a41691e68155dca13bc1f020fa30dac82" title="This is used to declare a function as a draft public ICU C API.">U_DRAFT</a> <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852" title="Constants from UAX #39 for use in setRestrictionLevel(), and for returned identifier restriction leve...">URestrictionLevel</a> U_EXPORT2</div> <div class="line"><a name="l00473"></a><span class="lineno"> 473</span> <a class="code" href="uspoof_8h.html#a4d67fe2cfbff34474ad6d85a8135e785" title="Get the Restriction Level that will be tested if the checks include RESTRICTION_LEVEL.">uspoof_getRestrictionLevel</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc);</div> <div class="line"><a name="l00474"></a><span class="lineno"> 474</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DRAFT_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00475"></a><span class="lineno"> 475</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00518"></a><span class="lineno"> 518</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="l00519"></a><span class="lineno"> 519</span> <a class="code" href="uspoof_8h.html#aca1b0d0630a88af80c56e8205761f6a1" title="Limit characters that are acceptable in identifiers being checked to those normally used with the lan...">uspoof_setAllowedLocales</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc, <span class="keyword">const</span> <span class="keywordtype">char</span> *localesList, <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="l00520"></a><span class="lineno"> 520</span> </div> <div class="line"><a name="l00542"></a><span class="lineno"> 542</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="l00543"></a><span class="lineno"> 543</span> <a class="code" href="uspoof_8h.html#ae9105b5d6d3dd326dcfd60fe3730f5d0" title="Get a list of locales for the scripts that are acceptable in strings to be checked.">uspoof_getAllowedLocales</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc, <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="l00544"></a><span class="lineno"> 544</span> </div> <div class="line"><a name="l00545"></a><span class="lineno"> 545</span> </div> <div class="line"><a name="l00564"></a><span class="lineno"> 564</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="l00565"></a><span class="lineno"> 565</span> <a class="code" href="uspoof_8h.html#abe089c3471eb52dbbd7268c3eb9db695" title="Limit the acceptable characters to those specified by a Unicode Set.">uspoof_setAllowedChars</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc, <span class="keyword">const</span> <a class="code" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> *chars, <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="l00566"></a><span class="lineno"> 566</span> </div> <div class="line"><a name="l00567"></a><span class="lineno"> 567</span> </div> <div class="line"><a name="l00588"></a><span class="lineno"> 588</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="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> * U_EXPORT2</div> <div class="line"><a name="l00589"></a><span class="lineno"> 589</span> <a class="code" href="uspoof_8h.html#ab15e60d2aaaa9ea5d49eb4524c41fa9e" title="Get a USet for the characters permitted in an identifier.">uspoof_getAllowedChars</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc, <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="l00590"></a><span class="lineno"> 590</span> </div> <div class="line"><a name="l00591"></a><span class="lineno"> 591</span> </div> <div class="line"><a name="l00592"></a><span class="lineno"> 592</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div> <div class="line"><a name="l00593"></a><span class="lineno"> 593</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00611"></a><span class="lineno"> 611</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="l00612"></a><span class="lineno"> 612</span> <a class="code" href="uspoof_8h.html#a6193792292d9ead15f9832fcef6a704b" title="Limit the acceptable characters to those specified by a Unicode Set.">uspoof_setAllowedUnicodeSet</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc, <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings.">icu::UnicodeSet</a> *chars, <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="l00613"></a><span class="lineno"> 613</span> </div> <div class="line"><a name="l00614"></a><span class="lineno"> 614</span> </div> <div class="line"><a name="l00635"></a><span class="lineno"> 635</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="classicu_1_1UnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings.">icu::UnicodeSet</a> * U_EXPORT2</div> <div class="line"><a name="l00636"></a><span class="lineno"> 636</span> <a class="code" href="uspoof_8h.html#a882de7faa9049cb6c65f8a949a07a4e9" title="Get a UnicodeSet for the characters permitted in an identifier.">uspoof_getAllowedUnicodeSet</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc, <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="l00637"></a><span class="lineno"> 637</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00638"></a><span class="lineno"> 638</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00639"></a><span class="lineno"> 639</span> </div> <div class="line"><a name="l00666"></a><span class="lineno"> 666</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="l00667"></a><span class="lineno"> 667</span> <a class="code" href="uspoof_8h.html#aa6628f1b69565e660ecbb1f380ac72dc" title="Check the specified string for possible security issues.">uspoof_check</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc,</div> <div class="line"><a name="l00668"></a><span class="lineno"> 668</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> *<span class="keywordtype">id</span>, int32_t length, </div> <div class="line"><a name="l00669"></a><span class="lineno"> 669</span>  int32_t *position,</div> <div class="line"><a name="l00670"></a><span class="lineno"> 670</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> *status);</div> <div class="line"><a name="l00671"></a><span class="lineno"> 671</span> </div> <div class="line"><a name="l00672"></a><span class="lineno"> 672</span> </div> <div class="line"><a name="l00700"></a><span class="lineno"> 700</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="l00701"></a><span class="lineno"> 701</span> <a class="code" href="uspoof_8h.html#ac3c9dc9db498c19758e4144655919621" title="Check the specified string for possible security issues.">uspoof_checkUTF8</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc,</div> <div class="line"><a name="l00702"></a><span class="lineno"> 702</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keywordtype">id</span>, int32_t length,</div> <div class="line"><a name="l00703"></a><span class="lineno"> 703</span>  int32_t *position,</div> <div class="line"><a name="l00704"></a><span class="lineno"> 704</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> *status);</div> <div class="line"><a name="l00705"></a><span class="lineno"> 705</span> </div> <div class="line"><a name="l00706"></a><span class="lineno"> 706</span> </div> <div class="line"><a name="l00707"></a><span class="lineno"> 707</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div> <div class="line"><a name="l00708"></a><span class="lineno"> 708</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00731"></a><span class="lineno"> 731</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="l00732"></a><span class="lineno"> 732</span> <a class="code" href="uspoof_8h.html#ab826cb99a2ca41e8030ff55f471a9881" title="Check the specified string for possible security issues.">uspoof_checkUnicodeString</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc,</div> <div class="line"><a name="l00733"></a><span class="lineno"> 733</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">icu::UnicodeString</a> &<span class="keywordtype">id</span>, </div> <div class="line"><a name="l00734"></a><span class="lineno"> 734</span>  int32_t *position,</div> <div class="line"><a name="l00735"></a><span class="lineno"> 735</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> *status);</div> <div class="line"><a name="l00736"></a><span class="lineno"> 736</span> </div> <div class="line"><a name="l00737"></a><span class="lineno"> 737</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00738"></a><span class="lineno"> 738</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00739"></a><span class="lineno"> 739</span> </div> <div class="line"><a name="l00779"></a><span class="lineno"> 779</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="l00780"></a><span class="lineno"> 780</span> <a class="code" href="uspoof_8h.html#ac96fdf642bfd9efcd0d9956bd76cadaa" title="Check the whether two specified strings are visually confusable.">uspoof_areConfusable</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc,</div> <div class="line"><a name="l00781"></a><span class="lineno"> 781</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> *id1, int32_t length1,</div> <div class="line"><a name="l00782"></a><span class="lineno"> 782</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> *id2, int32_t length2,</div> <div class="line"><a name="l00783"></a><span class="lineno"> 783</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> *status);</div> <div class="line"><a name="l00784"></a><span class="lineno"> 784</span> </div> <div class="line"><a name="l00785"></a><span class="lineno"> 785</span> </div> <div class="line"><a name="l00786"></a><span class="lineno"> 786</span> </div> <div class="line"><a name="l00812"></a><span class="lineno"> 812</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="l00813"></a><span class="lineno"> 813</span> <a class="code" href="uspoof_8h.html#ae6f653c41a24abee03afb24e22d93466" title="Check the whether two specified strings are visually confusable.">uspoof_areConfusableUTF8</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc,</div> <div class="line"><a name="l00814"></a><span class="lineno"> 814</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *id1, int32_t length1,</div> <div class="line"><a name="l00815"></a><span class="lineno"> 815</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *id2, int32_t length2,</div> <div class="line"><a name="l00816"></a><span class="lineno"> 816</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> *status);</div> <div class="line"><a name="l00817"></a><span class="lineno"> 817</span> </div> <div class="line"><a name="l00818"></a><span class="lineno"> 818</span> </div> <div class="line"><a name="l00819"></a><span class="lineno"> 819</span> </div> <div class="line"><a name="l00820"></a><span class="lineno"> 820</span> </div> <div class="line"><a name="l00821"></a><span class="lineno"> 821</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div> <div class="line"><a name="l00822"></a><span class="lineno"> 822</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00843"></a><span class="lineno"> 843</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="l00844"></a><span class="lineno"> 844</span> <a class="code" href="uspoof_8h.html#a66d450097ce8ceca668cbcf21196b9ad" title="Check the whether two specified strings are visually confusable.">uspoof_areConfusableUnicodeString</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc,</div> <div class="line"><a name="l00845"></a><span class="lineno"> 845</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">icu::UnicodeString</a> &s1,</div> <div class="line"><a name="l00846"></a><span class="lineno"> 846</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">icu::UnicodeString</a> &s2,</div> <div class="line"><a name="l00847"></a><span class="lineno"> 847</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> *status);</div> <div class="line"><a name="l00848"></a><span class="lineno"> 848</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00849"></a><span class="lineno"> 849</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00850"></a><span class="lineno"> 850</span> </div> <div class="line"><a name="l00883"></a><span class="lineno"> 883</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="l00884"></a><span class="lineno"> 884</span> <a class="code" href="uspoof_8h.html#ac534ff73614148bad6c93320101f0c47" title="Get the "skeleton" for an identifier.">uspoof_getSkeleton</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc,</div> <div class="line"><a name="l00885"></a><span class="lineno"> 885</span>  uint32_t type,</div> <div class="line"><a name="l00886"></a><span class="lineno"> 886</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> *<span class="keywordtype">id</span>, int32_t length,</div> <div class="line"><a name="l00887"></a><span class="lineno"> 887</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> *dest, int32_t destCapacity,</div> <div class="line"><a name="l00888"></a><span class="lineno"> 888</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> *status);</div> <div class="line"><a name="l00889"></a><span class="lineno"> 889</span>  </div> <div class="line"><a name="l00925"></a><span class="lineno"> 925</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="l00926"></a><span class="lineno"> 926</span> <a class="code" href="uspoof_8h.html#a09942c6a49df736928aa5a5c1d329a83" title="Get the "skeleton" for an identifier.">uspoof_getSkeletonUTF8</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc,</div> <div class="line"><a name="l00927"></a><span class="lineno"> 927</span>  uint32_t type,</div> <div class="line"><a name="l00928"></a><span class="lineno"> 928</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keywordtype">id</span>, int32_t length,</div> <div class="line"><a name="l00929"></a><span class="lineno"> 929</span>  <span class="keywordtype">char</span> *dest, int32_t destCapacity,</div> <div class="line"><a name="l00930"></a><span class="lineno"> 930</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> *status);</div> <div class="line"><a name="l00931"></a><span class="lineno"> 931</span>  </div> <div class="line"><a name="l00932"></a><span class="lineno"> 932</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div> <div class="line"><a name="l00933"></a><span class="lineno"> 933</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00958"></a><span class="lineno"> 958</span> <a class="code" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a" title="Set to export library symbols from inside the i18n library, and to import them from outside...">U_I18N_API</a> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">icu::UnicodeString</a> & U_EXPORT2</div> <div class="line"><a name="l00959"></a><span class="lineno"> 959</span> <a class="code" href="uspoof_8h.html#afe14cbde824abd936c704b15e397a015" title="Get the "skeleton" for an identifier.">uspoof_getSkeletonUnicodeString</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc,</div> <div class="line"><a name="l00960"></a><span class="lineno"> 960</span>  uint32_t type,</div> <div class="line"><a name="l00961"></a><span class="lineno"> 961</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">icu::UnicodeString</a> &<span class="keywordtype">id</span>,</div> <div class="line"><a name="l00962"></a><span class="lineno"> 962</span>  <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">icu::UnicodeString</a> &dest,</div> <div class="line"><a name="l00963"></a><span class="lineno"> 963</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> *status);</div> <div class="line"><a name="l00964"></a><span class="lineno"> 964</span> <span class="preprocessor">#endif </span><span class="comment">/* U_SHOW_CPLUSPLUS_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00965"></a><span class="lineno"> 965</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00966"></a><span class="lineno"> 966</span> </div> <div class="line"><a name="l00967"></a><span class="lineno"> 967</span> <span class="preprocessor">#ifndef U_HIDE_DRAFT_API</span></div> <div class="line"><a name="l00968"></a><span class="lineno"> 968</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00979"></a><span class="lineno"> 979</span> <a class="code" href="umachine_8h.html#a41691e68155dca13bc1f020fa30dac82" title="This is used to declare a function as a draft public ICU C API.">U_DRAFT</a> <span class="keyword">const</span> <a class="code" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> * U_EXPORT2</div> <div class="line"><a name="l00980"></a><span class="lineno"> 980</span> <a class="code" href="uspoof_8h.html#a24be9382a3430bbf38abef96f168400b" title="Get the set of Candidate Characters for Inclusion in Identifiers, as defined in Unicode UAX #31...">uspoof_getInclusionSet</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="l00981"></a><span class="lineno"> 981</span> </div> <div class="line"><a name="l00993"></a><span class="lineno"> 993</span> <a class="code" href="umachine_8h.html#a41691e68155dca13bc1f020fa30dac82" title="This is used to declare a function as a draft public ICU C API.">U_DRAFT</a> <span class="keyword">const</span> <a class="code" href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a> * U_EXPORT2</div> <div class="line"><a name="l00994"></a><span class="lineno"> 994</span> <a class="code" href="uspoof_8h.html#a0eda41b7dffbb123fa62ac1271eee721" title="Get the set of characters from Recommended Scripts for Inclusion in Identifiers, as defined in Unicod...">uspoof_getRecommendedSet</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="l00995"></a><span class="lineno"> 995</span> </div> <div class="line"><a name="l00996"></a><span class="lineno"> 996</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div> <div class="line"><a name="l00997"></a><span class="lineno"> 997</span> <span class="preprocessor"></span></div> <div class="line"><a name="l01009"></a><span class="lineno"> 1009</span> <a class="code" href="umachine_8h.html#a41691e68155dca13bc1f020fa30dac82" title="This is used to declare a function as a draft public ICU C API.">U_DRAFT</a> <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings.">icu::UnicodeSet</a> * U_EXPORT2</div> <div class="line"><a name="l01010"></a><span class="lineno"> 1010</span> <a class="code" href="uspoof_8h.html#a30b3d5dcf1fa794ece93b32608aa803f" title="Get the set of Candidate Characters for Inclusion in Identifiers, as defined in Unicode UAX #31...">uspoof_getInclusionUnicodeSet</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="l01011"></a><span class="lineno"> 1011</span> </div> <div class="line"><a name="l01023"></a><span class="lineno"> 1023</span> <a class="code" href="umachine_8h.html#a41691e68155dca13bc1f020fa30dac82" title="This is used to declare a function as a draft public ICU C API.">U_DRAFT</a> <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings.">icu::UnicodeSet</a> * U_EXPORT2</div> <div class="line"><a name="l01024"></a><span class="lineno"> 1024</span> <a class="code" href="uspoof_8h.html#a6693fd20b81ff5adf95b5798fbc818f1" title="Get the set of characters from Recommended Scripts for Inclusion in Identifiers, as defined in Unicod...">uspoof_getRecommendedUnicodeSet</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="l01025"></a><span class="lineno"> 1025</span> </div> <div class="line"><a name="l01026"></a><span class="lineno"> 1026</span> <span class="preprocessor">#endif </span><span class="comment">/* U_SHOW_CPLUSPLUS_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l01027"></a><span class="lineno"> 1027</span> <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DRAFT_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l01028"></a><span class="lineno"> 1028</span> <span class="preprocessor"></span></div> <div class="line"><a name="l01051"></a><span class="lineno"> 1051</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="l01052"></a><span class="lineno"> 1052</span> <a class="code" href="uspoof_8h.html#a808f6fefabd028ea78931f85ec634022" title="Serialize the data for a spoof detector into a chunk of memory.">uspoof_serialize</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc,</div> <div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>  <span class="keywordtype">void</span> *data, int32_t capacity,</div> <div class="line"><a name="l01054"></a><span class="lineno"> 1054</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> *status);</div> <div class="line"><a name="l01055"></a><span class="lineno"> 1055</span> </div> <div class="line"><a name="l01056"></a><span class="lineno"> 1056</span> </div> <div class="line"><a name="l01057"></a><span class="lineno"> 1057</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l01058"></a><span class="lineno"> 1058</span> <span class="preprocessor"></span></div> <div class="line"><a name="l01059"></a><span class="lineno"> 1059</span> <span class="preprocessor">#endif </span><span class="comment">/* USPOOF_H */</span><span class="preprocessor"></span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 4 2013 14:10:22 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>