JezK
Edit File: uspoof_8h_source.html
<!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"/> <meta name="generator" content="Doxygen 1.8.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>ICU 60.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 id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">ICU 60.1  <span id="projectnumber">60.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></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">// © 2016 and later: Unicode, Inc. and others.</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// License & terms of use: http://www.unicode.org/copyright.html</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">/*</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">***************************************************************************</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">* Copyright (C) 2008-2016, International Business Machines Corporation</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">* and others. All Rights Reserved.</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">***************************************************************************</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">* file name: uspoof.h</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">* encoding: UTF-8</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">* tab size: 8 (not used)</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">* indentation:4</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">* created on: 2008Feb13</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">* created by: Andy Heninger</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> <span class="comment">* Unicode Spoof Detection</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 USPOOF_H</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define USPOOF_H</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</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">unicode/utypes.h</a>"</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "<a class="code" href="uset_8h.html">unicode/uset.h</a>"</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "<a class="code" href="parseerr_8h.html">unicode/parseerr.h</a>"</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="localpointer_8h.html">unicode/localpointer.h</a>"</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#if !UCONFIG_NO_NORMALIZATION</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="unistr_8h.html">unicode/unistr.h</a>"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="uniset_8h.html">unicode/uniset.h</a>"</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span> <span class="keyword">struct </span><a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a>;</div><div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f"> 374</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a>; </div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span> <span class="keyword">struct </span><a class="code" href="uspoof_8h.html#ab4d0a57ce124af1f838739437aae20f9">USpoofCheckResult</a>;</div><div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="uspoof_8h.html#ab4d0a57ce124af1f838739437aae20f9"> 381</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="uspoof_8h.html#ab4d0a57ce124af1f838739437aae20f9">USpoofCheckResult</a> <a class="code" href="uspoof_8h.html#ab4d0a57ce124af1f838739437aae20f9">USpoofCheckResult</a>;</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span> </div><div class="line"><a name="l00390"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155"> 390</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155">USpoofChecks</a> {</div><div class="line"><a name="l00399"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155adc4588fd7ff74c3a6e5cc91d3a6f5d60"> 399</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155adc4588fd7ff74c3a6e5cc91d3a6f5d60">USPOOF_SINGLE_SCRIPT_CONFUSABLE</a> = 1,</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span> </div><div class="line"><a name="l00409"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a76a60327ab14a68342242aae60340106"> 409</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a76a60327ab14a68342242aae60340106">USPOOF_MIXED_SCRIPT_CONFUSABLE</a> = 2,</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span> </div><div class="line"><a name="l00419"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155abfc834ae8c881e54a7922648d5fecead"> 419</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155abfc834ae8c881e54a7922648d5fecead">USPOOF_WHOLE_SCRIPT_CONFUSABLE</a> = 4,</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span> </div><div class="line"><a name="l00430"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a42d6035a2e66bfcf39b0e838168afdba"> 430</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a42d6035a2e66bfcf39b0e838168afdba">USPOOF_CONFUSABLE</a> = <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155adc4588fd7ff74c3a6e5cc91d3a6f5d60">USPOOF_SINGLE_SCRIPT_CONFUSABLE</a> | <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a76a60327ab14a68342242aae60340106">USPOOF_MIXED_SCRIPT_CONFUSABLE</a> | <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155abfc834ae8c881e54a7922648d5fecead">USPOOF_WHOLE_SCRIPT_CONFUSABLE</a>,</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span> </div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span> <span class="preprocessor">#ifndef U_HIDE_DEPRECATED_API</span></div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span> </div><div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155ae65a72b384e76f7ac1cc4df1decd8057"> 438</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155ae65a72b384e76f7ac1cc4df1decd8057">USPOOF_ANY_CASE</a> = 8,</div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DEPRECATED_API */</span><span class="preprocessor"></span></div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span> </div><div class="line"><a name="l00454"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a1977848d7ccac6f3640fa684b452f69a"> 454</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a1977848d7ccac6f3640fa684b452f69a">USPOOF_RESTRICTION_LEVEL</a> = 16,</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span> </div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span> <span class="preprocessor">#ifndef U_HIDE_DEPRECATED_API</span></div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span> </div><div class="line"><a name="l00462"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a68b7d294c1566c1f4a74e2b3a952a138"> 462</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a68b7d294c1566c1f4a74e2b3a952a138">USPOOF_SINGLE_SCRIPT</a> = <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a1977848d7ccac6f3640fa684b452f69a">USPOOF_RESTRICTION_LEVEL</a>,</div><div class="line"><a name="l00463"></a><span class="lineno"> 463</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DEPRECATED_API */</span><span class="preprocessor"></span></div><div class="line"><a name="l00464"></a><span class="lineno"> 464</span> </div><div class="line"><a name="l00471"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a7324a51073ca18279da8706d8c21ee0c"> 471</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a7324a51073ca18279da8706d8c21ee0c">USPOOF_INVISIBLE</a> = 32,</div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span> </div><div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a3f3e13d5b54cc156864a2aca221b3888"> 478</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a3f3e13d5b54cc156864a2aca221b3888">USPOOF_CHAR_LIMIT</a> = 64,</div><div class="line"><a name="l00479"></a><span class="lineno"> 479</span> </div><div class="line"><a name="l00486"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a0fbfe4596de0672faf4f0d4f01a823f6"> 486</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a0fbfe4596de0672faf4f0d4f01a823f6">USPOOF_MIXED_NUMBERS</a> = 128,</div><div class="line"><a name="l00487"></a><span class="lineno"> 487</span> </div><div class="line"><a name="l00493"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a4450adc366e2178c451d89b2ea244123"> 493</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a4450adc366e2178c451d89b2ea244123">USPOOF_ALL_CHECKS</a> = 0xFFFF,</div><div class="line"><a name="l00494"></a><span class="lineno"> 494</span> </div><div class="line"><a name="l00507"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155aa7307e5bdc933ceba391fbbc22b382ab"> 507</a></span>  <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155aa7307e5bdc933ceba391fbbc22b382ab">USPOOF_AUX_INFO</a> = 0x40000000</div><div class="line"><a name="l00508"></a><span class="lineno"> 508</span> </div><div class="line"><a name="l00509"></a><span class="lineno"> 509</span>  } <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155">USpoofChecks</a>;</div><div class="line"><a name="l00510"></a><span class="lineno"> 510</span> </div><div class="line"><a name="l00511"></a><span class="lineno"> 511</span> </div><div class="line"><a name="l00521"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852"> 521</a></span>  <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852">URestrictionLevel</a> {</div><div class="line"><a name="l00528"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a262982208b89a2649d0f31ea48e46765"> 528</a></span>  <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a262982208b89a2649d0f31ea48e46765">USPOOF_ASCII</a> = 0x10000000,</div><div class="line"><a name="l00535"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a0488c3736f11d8808ac55f72a3c6bde2"> 535</a></span>  <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a0488c3736f11d8808ac55f72a3c6bde2">USPOOF_SINGLE_SCRIPT_RESTRICTIVE</a> = 0x20000000,</div><div class="line"><a name="l00549"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af6dda9229dc422d3e8e41a23a1251060"> 549</a></span>  <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af6dda9229dc422d3e8e41a23a1251060">USPOOF_HIGHLY_RESTRICTIVE</a> = 0x30000000,</div><div class="line"><a name="l00557"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a06d4bf8b1c05dca9a9ec69a0e926e117"> 557</a></span>  <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a06d4bf8b1c05dca9a9ec69a0e926e117">USPOOF_MODERATELY_RESTRICTIVE</a> = 0x40000000,</div><div class="line"><a name="l00563"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af1e2132b4067af2aec3460c679f7e598"> 563</a></span>  <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af1e2132b4067af2aec3460c679f7e598">USPOOF_MINIMALLY_RESTRICTIVE</a> = 0x50000000,</div><div class="line"><a name="l00569"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af8c3d86392c0d18d51b05390483a036e"> 569</a></span>  <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af8c3d86392c0d18d51b05390483a036e">USPOOF_UNRESTRICTIVE</a> = 0x60000000,</div><div class="line"><a name="l00575"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a900ac32a2451a70f42c424445f0f3b6f"> 575</a></span>  <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a900ac32a2451a70f42c424445f0f3b6f">USPOOF_RESTRICTION_LEVEL_MASK</a> = 0x7F000000,</div><div class="line"><a name="l00576"></a><span class="lineno"> 576</span> <span class="preprocessor">#ifndef U_HIDE_INTERNAL_API</span></div><div class="line"><a name="l00577"></a><span class="lineno"> 577</span> </div><div class="line"><a name="l00581"></a><span class="lineno"><a class="line" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a3744a1ffbcb1b9c30f484034d0843025"> 581</a></span>  <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a3744a1ffbcb1b9c30f484034d0843025">USPOOF_UNDEFINED_RESTRICTIVE</a> = -1</div><div class="line"><a name="l00582"></a><span class="lineno"> 582</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_INTERNAL_API */</span><span class="preprocessor"></span></div><div class="line"><a name="l00583"></a><span class="lineno"> 583</span>  } <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852">URestrictionLevel</a>;</div><div class="line"><a name="l00584"></a><span class="lineno"> 584</span> </div><div class="line"><a name="l00595"></a><span class="lineno"> 595</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> * U_EXPORT2</div><div class="line"><a name="l00596"></a><span class="lineno"> 596</span> <a class="code" href="uspoof_8h.html#afeff54ce632c1357e914334009becb62">uspoof_open</a>(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00597"></a><span class="lineno"> 597</span> </div><div class="line"><a name="l00598"></a><span class="lineno"> 598</span> </div><div class="line"><a name="l00620"></a><span class="lineno"> 620</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> * U_EXPORT2</div><div class="line"><a name="l00621"></a><span class="lineno"> 621</span> <a class="code" href="uspoof_8h.html#aa13a3dd9f673f9df317948eecab1a346">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="l00622"></a><span class="lineno"> 622</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *pErrorCode);</div><div class="line"><a name="l00623"></a><span class="lineno"> 623</span> </div><div class="line"><a name="l00654"></a><span class="lineno"> 654</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> * U_EXPORT2</div><div class="line"><a name="l00655"></a><span class="lineno"> 655</span> <a class="code" href="uspoof_8h.html#a5332f41a9d13aec2cc115e6a24d08595">uspoof_openFromSource</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *confusables, int32_t confusablesLen,</div><div class="line"><a name="l00656"></a><span class="lineno"> 656</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *confusablesWholeScript, int32_t confusablesWholeScriptLen,</div><div class="line"><a name="l00657"></a><span class="lineno"> 657</span>  int32_t *errType, <a class="code" href="structUParseError.html">UParseError</a> *pe, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00658"></a><span class="lineno"> 658</span> </div><div class="line"><a name="l00659"></a><span class="lineno"> 659</span> </div><div class="line"><a name="l00665"></a><span class="lineno"> 665</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <span class="keywordtype">void</span> U_EXPORT2</div><div class="line"><a name="l00666"></a><span class="lineno"> 666</span> <a class="code" href="uspoof_8h.html#ab63b4f7780b1d6c57a31624ad5c3db41">uspoof_close</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc);</div><div class="line"><a name="l00667"></a><span class="lineno"> 667</span> </div><div class="line"><a name="l00668"></a><span class="lineno"> 668</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div><div class="line"><a name="l00669"></a><span class="lineno"> 669</span> </div><div class="line"><a name="l00670"></a><span class="lineno"> 670</span> <a class="code" href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b">U_NAMESPACE_BEGIN</a></div><div class="line"><a name="l00671"></a><span class="lineno"> 671</span> </div><div class="line"><a name="l00681"></a><span class="lineno"> 681</span> <a class="code" href="localpointer_8h.html#a3030f841466c4bbbd465ac9c4b999549">U_DEFINE_LOCAL_OPEN_POINTER</a>(<a class="code" href="classLocalUSpoofCheckerPointer.html">LocalUSpoofCheckerPointer</a>, <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a>, <a class="code" href="uspoof_8h.html#ab63b4f7780b1d6c57a31624ad5c3db41">uspoof_close</a>);</div><div class="line"><a name="l00682"></a><span class="lineno"> 682</span> </div><div class="line"><a name="l00683"></a><span class="lineno"> 683</span> <a class="code" href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933">U_NAMESPACE_END</a></div><div class="line"><a name="l00684"></a><span class="lineno"> 684</span> </div><div class="line"><a name="l00685"></a><span class="lineno"> 685</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00686"></a><span class="lineno"> 686</span> </div><div class="line"><a name="l00696"></a><span class="lineno"> 696</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> * U_EXPORT2</div><div class="line"><a name="l00697"></a><span class="lineno"> 697</span> <a class="code" href="uspoof_8h.html#a5a6a3fff21c2aa515d3e16da47609a48">uspoof_clone</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00698"></a><span class="lineno"> 698</span> </div><div class="line"><a name="l00699"></a><span class="lineno"> 699</span> </div><div class="line"><a name="l00737"></a><span class="lineno"> 737</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <span class="keywordtype">void</span> U_EXPORT2</div><div class="line"><a name="l00738"></a><span class="lineno"> 738</span> <a class="code" href="uspoof_8h.html#a0d28ac52f3daa1317d3f3a6ee1324dab">uspoof_setChecks</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc, int32_t checks, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00739"></a><span class="lineno"> 739</span> </div><div class="line"><a name="l00751"></a><span class="lineno"> 751</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> int32_t U_EXPORT2</div><div class="line"><a name="l00752"></a><span class="lineno"> 752</span> <a class="code" href="uspoof_8h.html#ae1a26eb3a73953e1fea08af8270f5252">uspoof_getChecks</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00753"></a><span class="lineno"> 753</span> </div><div class="line"><a name="l00765"></a><span class="lineno"> 765</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <span class="keywordtype">void</span> U_EXPORT2</div><div class="line"><a name="l00766"></a><span class="lineno"> 766</span> <a class="code" href="uspoof_8h.html#aa15e811b7f72face34a24012a02a945e">uspoof_setRestrictionLevel</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc, <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852">URestrictionLevel</a> restrictionLevel);</div><div class="line"><a name="l00767"></a><span class="lineno"> 767</span> </div><div class="line"><a name="l00768"></a><span class="lineno"> 768</span> </div><div class="line"><a name="l00776"></a><span class="lineno"> 776</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852">URestrictionLevel</a> U_EXPORT2</div><div class="line"><a name="l00777"></a><span class="lineno"> 777</span> <a class="code" href="uspoof_8h.html#a2a7ef2dca2d8d13cbedbda6d0a975cf3">uspoof_getRestrictionLevel</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc);</div><div class="line"><a name="l00778"></a><span class="lineno"> 778</span> </div><div class="line"><a name="l00821"></a><span class="lineno"> 821</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <span class="keywordtype">void</span> U_EXPORT2</div><div class="line"><a name="l00822"></a><span class="lineno"> 822</span> <a class="code" href="uspoof_8h.html#a51e28e636fbb5707f66ef4d4caff5de0">uspoof_setAllowedLocales</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc, <span class="keyword">const</span> <span class="keywordtype">char</span> *localesList, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00823"></a><span class="lineno"> 823</span> </div><div class="line"><a name="l00845"></a><span class="lineno"> 845</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <span class="keyword">const</span> <span class="keywordtype">char</span> * U_EXPORT2</div><div class="line"><a name="l00846"></a><span class="lineno"> 846</span> <a class="code" href="uspoof_8h.html#a94abb819283a77089262185711d855e9">uspoof_getAllowedLocales</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00847"></a><span class="lineno"> 847</span> </div><div class="line"><a name="l00848"></a><span class="lineno"> 848</span> </div><div class="line"><a name="l00867"></a><span class="lineno"> 867</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <span class="keywordtype">void</span> U_EXPORT2</div><div class="line"><a name="l00868"></a><span class="lineno"> 868</span> <a class="code" href="uspoof_8h.html#a39e66376b958996302cd4a53b16c0548">uspoof_setAllowedChars</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">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">UErrorCode</a> *status);</div><div class="line"><a name="l00869"></a><span class="lineno"> 869</span> </div><div class="line"><a name="l00870"></a><span class="lineno"> 870</span> </div><div class="line"><a name="l00891"></a><span class="lineno"> 891</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">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="l00892"></a><span class="lineno"> 892</span> <a class="code" href="uspoof_8h.html#afcb9c0b2ba947138032ab2ee53004485">uspoof_getAllowedChars</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00893"></a><span class="lineno"> 893</span> </div><div class="line"><a name="l00894"></a><span class="lineno"> 894</span> </div><div class="line"><a name="l00895"></a><span class="lineno"> 895</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div><div class="line"><a name="l00896"></a><span class="lineno"> 896</span> </div><div class="line"><a name="l00914"></a><span class="lineno"> 914</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <span class="keywordtype">void</span> U_EXPORT2</div><div class="line"><a name="l00915"></a><span class="lineno"> 915</span> <a class="code" href="uspoof_8h.html#a41c7478556f4004eccea6fb3feca0bdb">uspoof_setAllowedUnicodeSet</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc, <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeSet.html">icu::UnicodeSet</a> *chars, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00916"></a><span class="lineno"> 916</span> </div><div class="line"><a name="l00917"></a><span class="lineno"> 917</span> </div><div class="line"><a name="l00938"></a><span class="lineno"> 938</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeSet.html">icu::UnicodeSet</a> * U_EXPORT2</div><div class="line"><a name="l00939"></a><span class="lineno"> 939</span> <a class="code" href="uspoof_8h.html#a5a5b3dff0328db93ac6494f8de2a612b">uspoof_getAllowedUnicodeSet</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00940"></a><span class="lineno"> 940</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00941"></a><span class="lineno"> 941</span> </div><div class="line"><a name="l00942"></a><span class="lineno"> 942</span> </div><div class="line"><a name="l00975"></a><span class="lineno"> 975</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> int32_t U_EXPORT2</div><div class="line"><a name="l00976"></a><span class="lineno"> 976</span> <a class="code" href="uspoof_8h.html#a21bb11dd91519e5033d43036a30e4d67">uspoof_check</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc,</div><div class="line"><a name="l00977"></a><span class="lineno"> 977</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *<span class="keywordtype">id</span>, int32_t length,</div><div class="line"><a name="l00978"></a><span class="lineno"> 978</span>  int32_t *position,</div><div class="line"><a name="l00979"></a><span class="lineno"> 979</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l00980"></a><span class="lineno"> 980</span> </div><div class="line"><a name="l00981"></a><span class="lineno"> 981</span> </div><div class="line"><a name="l01014"></a><span class="lineno"> 1014</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> int32_t U_EXPORT2</div><div class="line"><a name="l01015"></a><span class="lineno"> 1015</span> <a class="code" href="uspoof_8h.html#a14443b1ccec5e500b1ce0c0b259b313a">uspoof_checkUTF8</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc,</div><div class="line"><a name="l01016"></a><span class="lineno"> 1016</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="l01017"></a><span class="lineno"> 1017</span>  int32_t *position,</div><div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01019"></a><span class="lineno"> 1019</span> </div><div class="line"><a name="l01020"></a><span class="lineno"> 1020</span> </div><div class="line"><a name="l01021"></a><span class="lineno"> 1021</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div><div class="line"><a name="l01022"></a><span class="lineno"> 1022</span> </div><div class="line"><a name="l01050"></a><span class="lineno"> 1050</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> int32_t U_EXPORT2</div><div class="line"><a name="l01051"></a><span class="lineno"> 1051</span> <a class="code" href="uspoof_8h.html#ae165c7f55213376cda5274045a4cd888">uspoof_checkUnicodeString</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc,</div><div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html">icu::UnicodeString</a> &<span class="keywordtype">id</span>,</div><div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>  int32_t *position,</div><div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01055"></a><span class="lineno"> 1055</span> <span class="preprocessor">#endif</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> </div><div class="line"><a name="l01086"></a><span class="lineno"> 1086</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> int32_t U_EXPORT2</div><div class="line"><a name="l01087"></a><span class="lineno"> 1087</span> <a class="code" href="uspoof_8h.html#a35799d1ada95191a370d4fc0f786c254">uspoof_check2</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc,</div><div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a>* <span class="keywordtype">id</span>, int32_t length,</div><div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>  <a class="code" href="uspoof_8h.html#ab4d0a57ce124af1f838739437aae20f9">USpoofCheckResult</a>* checkResult,</div><div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01091"></a><span class="lineno"> 1091</span> </div><div class="line"><a name="l01123"></a><span class="lineno"> 1123</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> int32_t U_EXPORT2</div><div class="line"><a name="l01124"></a><span class="lineno"> 1124</span> <a class="code" href="uspoof_8h.html#a49a4b61b46f21bc83a6e1d83ff0d5461">uspoof_check2UTF8</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc,</div><div class="line"><a name="l01125"></a><span class="lineno"> 1125</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="l01126"></a><span class="lineno"> 1126</span>  <a class="code" href="uspoof_8h.html#ab4d0a57ce124af1f838739437aae20f9">USpoofCheckResult</a>* checkResult,</div><div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01128"></a><span class="lineno"> 1128</span> </div><div class="line"><a name="l01129"></a><span class="lineno"> 1129</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div><div class="line"><a name="l01130"></a><span class="lineno"> 1130</span> </div><div class="line"><a name="l01155"></a><span class="lineno"> 1155</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> int32_t U_EXPORT2</div><div class="line"><a name="l01156"></a><span class="lineno"> 1156</span> <a class="code" href="uspoof_8h.html#a27e0eed62e51b6a4603b9b9380781248">uspoof_check2UnicodeString</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc,</div><div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html">icu::UnicodeString</a> &<span class="keywordtype">id</span>,</div><div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>  <a class="code" href="uspoof_8h.html#ab4d0a57ce124af1f838739437aae20f9">USpoofCheckResult</a>* checkResult,</div><div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01160"></a><span class="lineno"> 1160</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l01161"></a><span class="lineno"> 1161</span> </div><div class="line"><a name="l01180"></a><span class="lineno"> 1180</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <a class="code" href="uspoof_8h.html#ab4d0a57ce124af1f838739437aae20f9">USpoofCheckResult</a>* U_EXPORT2</div><div class="line"><a name="l01181"></a><span class="lineno"> 1181</span> <a class="code" href="uspoof_8h.html#a9b6d7df787c72a548498cdfb9fa6a0d3">uspoof_openCheckResult</a>(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01182"></a><span class="lineno"> 1182</span> </div><div class="line"><a name="l01190"></a><span class="lineno"> 1190</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <span class="keywordtype">void</span> U_EXPORT2</div><div class="line"><a name="l01191"></a><span class="lineno"> 1191</span> <a class="code" href="uspoof_8h.html#a971c135f8213282ead3df531196e1339">uspoof_closeCheckResult</a>(<a class="code" href="uspoof_8h.html#ab4d0a57ce124af1f838739437aae20f9">USpoofCheckResult</a> *checkResult);</div><div class="line"><a name="l01192"></a><span class="lineno"> 1192</span> </div><div class="line"><a name="l01193"></a><span class="lineno"> 1193</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div><div class="line"><a name="l01194"></a><span class="lineno"> 1194</span> </div><div class="line"><a name="l01195"></a><span class="lineno"> 1195</span> <a class="code" href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b">U_NAMESPACE_BEGIN</a></div><div class="line"><a name="l01196"></a><span class="lineno"> 1196</span> </div><div class="line"><a name="l01206"></a><span class="lineno"> 1206</span> <a class="code" href="localpointer_8h.html#a3030f841466c4bbbd465ac9c4b999549">U_DEFINE_LOCAL_OPEN_POINTER</a>(<a class="code" href="classLocalUSpoofCheckResultPointer.html">LocalUSpoofCheckResultPointer</a>, <a class="code" href="uspoof_8h.html#ab4d0a57ce124af1f838739437aae20f9">USpoofCheckResult</a>, <a class="code" href="uspoof_8h.html#a971c135f8213282ead3df531196e1339">uspoof_closeCheckResult</a>);</div><div class="line"><a name="l01207"></a><span class="lineno"> 1207</span> </div><div class="line"><a name="l01208"></a><span class="lineno"> 1208</span> <a class="code" href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933">U_NAMESPACE_END</a></div><div class="line"><a name="l01209"></a><span class="lineno"> 1209</span> </div><div class="line"><a name="l01210"></a><span class="lineno"> 1210</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l01211"></a><span class="lineno"> 1211</span> </div><div class="line"><a name="l01226"></a><span class="lineno"> 1226</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> int32_t U_EXPORT2</div><div class="line"><a name="l01227"></a><span class="lineno"> 1227</span> <a class="code" href="uspoof_8h.html#ab6e08f6f3f4672b3a3adc69327a19b20">uspoof_getCheckResultChecks</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ab4d0a57ce124af1f838739437aae20f9">USpoofCheckResult</a> *checkResult, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01228"></a><span class="lineno"> 1228</span> </div><div class="line"><a name="l01239"></a><span class="lineno"> 1239</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <a class="code" href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852">URestrictionLevel</a> U_EXPORT2</div><div class="line"><a name="l01240"></a><span class="lineno"> 1240</span> <a class="code" href="uspoof_8h.html#aaa9a738dcc75c4cd982ed8007bab5d40">uspoof_getCheckResultRestrictionLevel</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ab4d0a57ce124af1f838739437aae20f9">USpoofCheckResult</a> *checkResult, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01241"></a><span class="lineno"> 1241</span> </div><div class="line"><a name="l01253"></a><span class="lineno"> 1253</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">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="l01254"></a><span class="lineno"> 1254</span> <a class="code" href="uspoof_8h.html#addd2914ca00bbc282c87657c448ff0c8">uspoof_getCheckResultNumerics</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ab4d0a57ce124af1f838739437aae20f9">USpoofCheckResult</a> *checkResult, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01255"></a><span class="lineno"> 1255</span> </div><div class="line"><a name="l01256"></a><span class="lineno"> 1256</span> </div><div class="line"><a name="l01300"></a><span class="lineno"> 1300</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> int32_t U_EXPORT2</div><div class="line"><a name="l01301"></a><span class="lineno"> 1301</span> <a class="code" href="uspoof_8h.html#abf7d471023c957586eec6c790f6436e6">uspoof_areConfusable</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc,</div><div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *id1, int32_t length1,</div><div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *id2, int32_t length2,</div><div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01305"></a><span class="lineno"> 1305</span> </div><div class="line"><a name="l01306"></a><span class="lineno"> 1306</span> </div><div class="line"><a name="l01307"></a><span class="lineno"> 1307</span> </div><div class="line"><a name="l01333"></a><span class="lineno"> 1333</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> int32_t U_EXPORT2</div><div class="line"><a name="l01334"></a><span class="lineno"> 1334</span> <a class="code" href="uspoof_8h.html#aa1a1840ebe1d9b90429faed50063b63e">uspoof_areConfusableUTF8</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc,</div><div class="line"><a name="l01335"></a><span class="lineno"> 1335</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *id1, int32_t length1,</div><div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *id2, int32_t length2,</div><div class="line"><a name="l01337"></a><span class="lineno"> 1337</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01338"></a><span class="lineno"> 1338</span> </div><div class="line"><a name="l01339"></a><span class="lineno"> 1339</span> </div><div class="line"><a name="l01340"></a><span class="lineno"> 1340</span> </div><div class="line"><a name="l01341"></a><span class="lineno"> 1341</span> </div><div class="line"><a name="l01342"></a><span class="lineno"> 1342</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div><div class="line"><a name="l01343"></a><span class="lineno"> 1343</span> </div><div class="line"><a name="l01364"></a><span class="lineno"> 1364</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> int32_t U_EXPORT2</div><div class="line"><a name="l01365"></a><span class="lineno"> 1365</span> <a class="code" href="uspoof_8h.html#aed5fb4ecf6a816ea23874f35514e7553">uspoof_areConfusableUnicodeString</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc,</div><div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html">icu::UnicodeString</a> &s1,</div><div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html">icu::UnicodeString</a> &s2,</div><div class="line"><a name="l01368"></a><span class="lineno"> 1368</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01369"></a><span class="lineno"> 1369</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l01370"></a><span class="lineno"> 1370</span> </div><div class="line"><a name="l01371"></a><span class="lineno"> 1371</span> </div><div class="line"><a name="l01403"></a><span class="lineno"> 1403</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> int32_t U_EXPORT2</div><div class="line"><a name="l01404"></a><span class="lineno"> 1404</span> <a class="code" href="uspoof_8h.html#ab5d4f956191fe5395bdaeb57e8a667f9">uspoof_getSkeleton</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc,</div><div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>  uint32_t type,</div><div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *<span class="keywordtype">id</span>, int32_t length,</div><div class="line"><a name="l01407"></a><span class="lineno"> 1407</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *dest, int32_t destCapacity,</div><div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01409"></a><span class="lineno"> 1409</span> </div><div class="line"><a name="l01443"></a><span class="lineno"> 1443</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> int32_t U_EXPORT2</div><div class="line"><a name="l01444"></a><span class="lineno"> 1444</span> <a class="code" href="uspoof_8h.html#a4b9d8c2ad5a77b364fff8abe29d9e1db">uspoof_getSkeletonUTF8</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc,</div><div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>  uint32_t type,</div><div class="line"><a name="l01446"></a><span class="lineno"> 1446</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="l01447"></a><span class="lineno"> 1447</span>  <span class="keywordtype">char</span> *dest, int32_t destCapacity,</div><div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01449"></a><span class="lineno"> 1449</span> </div><div class="line"><a name="l01450"></a><span class="lineno"> 1450</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div><div class="line"><a name="l01451"></a><span class="lineno"> 1451</span> </div><div class="line"><a name="l01474"></a><span class="lineno"> 1474</span> <a class="code" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="code" href="classicu_1_1UnicodeString.html">icu::UnicodeString</a> & U_EXPORT2</div><div class="line"><a name="l01475"></a><span class="lineno"> 1475</span> <a class="code" href="uspoof_8h.html#a964c0b001cb9a5b3ffb08ae1df8e7556">uspoof_getSkeletonUnicodeString</a>(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc,</div><div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>  uint32_t type,</div><div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html">icu::UnicodeString</a> &<span class="keywordtype">id</span>,</div><div class="line"><a name="l01478"></a><span class="lineno"> 1478</span>  <a class="code" href="classicu_1_1UnicodeString.html">icu::UnicodeString</a> &dest,</div><div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01480"></a><span class="lineno"> 1480</span> <span class="preprocessor">#endif </span><span class="comment">/* U_SHOW_CPLUSPLUS_API */</span><span class="preprocessor"></span></div><div class="line"><a name="l01481"></a><span class="lineno"> 1481</span> </div><div class="line"><a name="l01494"></a><span class="lineno"> 1494</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">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="l01495"></a><span class="lineno"> 1495</span> <a class="code" href="uspoof_8h.html#a238dd6a2e20212b3a14c392355ecc62d">uspoof_getInclusionSet</a>(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01496"></a><span class="lineno"> 1496</span> </div><div class="line"><a name="l01509"></a><span class="lineno"> 1509</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">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="l01510"></a><span class="lineno"> 1510</span> <a class="code" href="uspoof_8h.html#a708cce542934ad1d604518ed48162bbc">uspoof_getRecommendedSet</a>(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01511"></a><span class="lineno"> 1511</span> </div><div class="line"><a name="l01512"></a><span class="lineno"> 1512</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div><div class="line"><a name="l01513"></a><span class="lineno"> 1513</span> </div><div class="line"><a name="l01526"></a><span class="lineno"> 1526</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeSet.html">icu::UnicodeSet</a> * U_EXPORT2</div><div class="line"><a name="l01527"></a><span class="lineno"> 1527</span> <a class="code" href="uspoof_8h.html#a244a3f41ef710e3689a9bb741638a37f">uspoof_getInclusionUnicodeSet</a>(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01528"></a><span class="lineno"> 1528</span> </div><div class="line"><a name="l01541"></a><span class="lineno"> 1541</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeSet.html">icu::UnicodeSet</a> * U_EXPORT2</div><div class="line"><a name="l01542"></a><span class="lineno"> 1542</span> <a class="code" href="uspoof_8h.html#aa74301abff43c60ecbdd1e8229127250">uspoof_getRecommendedUnicodeSet</a>(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01543"></a><span class="lineno"> 1543</span> </div><div class="line"><a name="l01544"></a><span class="lineno"> 1544</span> <span class="preprocessor">#endif </span><span class="comment">/* U_SHOW_CPLUSPLUS_API */</span><span class="preprocessor"></span></div><div class="line"><a name="l01545"></a><span class="lineno"> 1545</span> </div><div class="line"><a name="l01568"></a><span class="lineno"> 1568</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> int32_t U_EXPORT2</div><div class="line"><a name="l01569"></a><span class="lineno"> 1569</span> <a class="code" href="uspoof_8h.html#afffc5760a76109170f4a03ea57964e6c">uspoof_serialize</a>(<a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a> *sc,</div><div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>  <span class="keywordtype">void</span> *data, int32_t capacity,</div><div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status);</div><div class="line"><a name="l01572"></a><span class="lineno"> 1572</span> </div><div class="line"><a name="l01573"></a><span class="lineno"> 1573</span> </div><div class="line"><a name="l01574"></a><span class="lineno"> 1574</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l01575"></a><span class="lineno"> 1575</span> </div><div class="line"><a name="l01576"></a><span class="lineno"> 1576</span> <span class="preprocessor">#endif </span><span class="comment">/* USPOOF_H */</span><span class="preprocessor"></span></div><div class="ttc" id="uspoof_8h_html_ab63b4f7780b1d6c57a31624ad5c3db41"><div class="ttname"><a href="uspoof_8h.html#ab63b4f7780b1d6c57a31624ad5c3db41">uspoof_close</a></div><div class="ttdeci">void uspoof_close(USpoofChecker *sc)</div><div class="ttdoc">Close a Spoof Checker, freeing any memory that was being held by its implementation. </div></div> <div class="ttc" id="uspoof_8h_html_a244a3f41ef710e3689a9bb741638a37f"><div class="ttname"><a href="uspoof_8h.html#a244a3f41ef710e3689a9bb741638a37f">uspoof_getInclusionUnicodeSet</a></div><div class="ttdeci">U_STABLE const icu::UnicodeSet *U_EXPORT2 uspoof_getInclusionUnicodeSet(UErrorCode *status)</div><div class="ttdoc">Get the set of Candidate Characters for Inclusion in Identifiers, as defined in http://unicode.org/Public/security/latest/xidmodifications.txt and documented in http://www.unicode.org/reports/tr39/, Unicode Security Mechanisms. </div></div> <div class="ttc" id="uspoof_8h_html_a566eea7ea15156355085eb7ff5013852"><div class="ttname"><a href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852">URestrictionLevel</a></div><div class="ttdeci">URestrictionLevel</div><div class="ttdoc">Constants from UAX #39 for use in uspoof_setRestrictionLevel, and for returned identifier restriction...</div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00521">uspoof.h:521</a></div></div> <div class="ttc" id="uspoof_8h_html_a0dbd60e53a571689baf65c63f4de8155a7324a51073ca18279da8706d8c21ee0c"><div class="ttname"><a href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a7324a51073ca18279da8706d8c21ee0c">USPOOF_INVISIBLE</a></div><div class="ttdoc">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. </div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00471">uspoof.h:471</a></div></div> <div class="ttc" id="uspoof_8h_html_a0dbd60e53a571689baf65c63f4de8155a68b7d294c1566c1f4a74e2b3a952a138"><div class="ttname"><a href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a68b7d294c1566c1f4a74e2b3a952a138">USPOOF_SINGLE_SCRIPT</a></div><div class="ttdoc">Check that an identifier contains only characters from a single script (plus chars from the common an...</div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00462">uspoof.h:462</a></div></div> <div class="ttc" id="uspoof_8h_html_ae1a26eb3a73953e1fea08af8270f5252"><div class="ttname"><a href="uspoof_8h.html#ae1a26eb3a73953e1fea08af8270f5252">uspoof_getChecks</a></div><div class="ttdeci">U_STABLE int32_t U_EXPORT2 uspoof_getChecks(const USpoofChecker *sc, UErrorCode *status)</div><div class="ttdoc">Get the set of checks that this Spoof Checker has been configured to perform. </div></div> <div class="ttc" id="uspoof_8h_html_ab4d0a57ce124af1f838739437aae20f9"><div class="ttname"><a href="uspoof_8h.html#ab4d0a57ce124af1f838739437aae20f9">USpoofCheckResult</a></div><div class="ttdeci">struct USpoofCheckResult USpoofCheckResult</div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00381">uspoof.h:381</a></div></div> <div class="ttc" id="uspoof_8h_html_ab6e08f6f3f4672b3a3adc69327a19b20"><div class="ttname"><a href="uspoof_8h.html#ab6e08f6f3f4672b3a3adc69327a19b20">uspoof_getCheckResultChecks</a></div><div class="ttdeci">U_NAMESPACE_END U_STABLE int32_t U_EXPORT2 uspoof_getCheckResultChecks(const USpoofCheckResult *checkResult, UErrorCode *status)</div><div class="ttdoc">Indicates which of the spoof check(s) have failed. </div></div> <div class="ttc" id="uspoof_8h_html_a5a6a3fff21c2aa515d3e16da47609a48"><div class="ttname"><a href="uspoof_8h.html#a5a6a3fff21c2aa515d3e16da47609a48">uspoof_clone</a></div><div class="ttdeci">USpoofChecker * uspoof_clone(const USpoofChecker *sc, UErrorCode *status)</div><div class="ttdoc">Clone a Spoof Checker. </div></div> <div class="ttc" id="uspoof_8h_html_a566eea7ea15156355085eb7ff5013852a262982208b89a2649d0f31ea48e46765"><div class="ttname"><a href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a262982208b89a2649d0f31ea48e46765">USPOOF_ASCII</a></div><div class="ttdoc">All characters in the string are in the identifier profile and all characters in the string are in th...</div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00528">uspoof.h:528</a></div></div> <div class="ttc" id="uspoof_8h_html_a964c0b001cb9a5b3ffb08ae1df8e7556"><div class="ttname"><a href="uspoof_8h.html#a964c0b001cb9a5b3ffb08ae1df8e7556">uspoof_getSkeletonUnicodeString</a></div><div class="ttdeci">U_I18N_API icu::UnicodeString &U_EXPORT2 uspoof_getSkeletonUnicodeString(const USpoofChecker *sc, uint32_t type, const icu::UnicodeString &id, icu::UnicodeString &dest, UErrorCode *status)</div><div class="ttdoc">Get the "skeleton" for an identifier. </div></div> <div class="ttc" id="uspoof_8h_html_a0dbd60e53a571689baf65c63f4de8155a3f3e13d5b54cc156864a2aca221b3888"><div class="ttname"><a href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a3f3e13d5b54cc156864a2aca221b3888">USPOOF_CHAR_LIMIT</a></div><div class="ttdoc">Check that an identifier contains only characters from a specified set of acceptable characters...</div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00478">uspoof.h:478</a></div></div> <div class="ttc" id="uspoof_8h_html_a566eea7ea15156355085eb7ff5013852af1e2132b4067af2aec3460c679f7e598"><div class="ttname"><a href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af1e2132b4067af2aec3460c679f7e598">USPOOF_MINIMALLY_RESTRICTIVE</a></div><div class="ttdoc">All characters in the string are in the identifier profile. </div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00563">uspoof.h:563</a></div></div> <div class="ttc" id="uspoof_8h_html_a0dbd60e53a571689baf65c63f4de8155"><div class="ttname"><a href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155">USpoofChecks</a></div><div class="ttdeci">USpoofChecks</div><div class="ttdoc">Enum for the kinds of checks that USpoofChecker can perform. </div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00390">uspoof.h:390</a></div></div> <div class="ttc" id="unistr_8h_html"><div class="ttname"><a href="unistr_8h.html">unistr.h</a></div><div class="ttdoc">C++ API: Unicode String. </div></div> <div class="ttc" id="uspoof_8h_html_afeff54ce632c1357e914334009becb62"><div class="ttname"><a href="uspoof_8h.html#afeff54ce632c1357e914334009becb62">uspoof_open</a></div><div class="ttdeci">USpoofChecker * uspoof_open(UErrorCode *status)</div><div class="ttdoc">Create a Unicode Spoof Checker, configured to perform all checks except for USPOOF_LOCALE_LIMIT and U...</div></div> <div class="ttc" id="uspoof_8h_html_a49a4b61b46f21bc83a6e1d83ff0d5461"><div class="ttname"><a href="uspoof_8h.html#a49a4b61b46f21bc83a6e1d83ff0d5461">uspoof_check2UTF8</a></div><div class="ttdeci">U_STABLE int32_t U_EXPORT2 uspoof_check2UTF8(const USpoofChecker *sc, const char *id, int32_t length, USpoofCheckResult *checkResult, UErrorCode *status)</div><div class="ttdoc">Check the specified string for possible security issues. </div></div> <div class="ttc" id="uspoof_8h_html_a971c135f8213282ead3df531196e1339"><div class="ttname"><a href="uspoof_8h.html#a971c135f8213282ead3df531196e1339">uspoof_closeCheckResult</a></div><div class="ttdeci">U_STABLE void U_EXPORT2 uspoof_closeCheckResult(USpoofCheckResult *checkResult)</div><div class="ttdoc">Close a USpoofCheckResult, freeing any memory that was being held by its implementation. </div></div> <div class="ttc" id="uspoof_8h_html_a0dbd60e53a571689baf65c63f4de8155a42d6035a2e66bfcf39b0e838168afdba"><div class="ttname"><a href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a42d6035a2e66bfcf39b0e838168afdba">USPOOF_CONFUSABLE</a></div><div class="ttdoc">Enable this flag in uspoof_setChecks to turn on all types of confusables. </div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00430">uspoof.h:430</a></div></div> <div class="ttc" id="uspoof_8h_html_a5332f41a9d13aec2cc115e6a24d08595"><div class="ttname"><a href="uspoof_8h.html#a5332f41a9d13aec2cc115e6a24d08595">uspoof_openFromSource</a></div><div class="ttdeci">USpoofChecker * uspoof_openFromSource(const char *confusables, int32_t confusablesLen, const char *confusablesWholeScript, int32_t confusablesWholeScriptLen, int32_t *errType, UParseError *pe, UErrorCode *status)</div><div class="ttdoc">Open a Spoof Checker from the source form of the spoof data. </div></div> <div class="ttc" id="uspoof_8h_html_a708cce542934ad1d604518ed48162bbc"><div class="ttname"><a href="uspoof_8h.html#a708cce542934ad1d604518ed48162bbc">uspoof_getRecommendedSet</a></div><div class="ttdeci">U_STABLE const USet *U_EXPORT2 uspoof_getRecommendedSet(UErrorCode *status)</div><div class="ttdoc">Get the set of characters from Recommended Scripts for Inclusion in Identifiers, as defined in http:/...</div></div> <div class="ttc" id="uset_8h_html"><div class="ttname"><a href="uset_8h.html">uset.h</a></div><div class="ttdoc">C API: Unicode Set. </div></div> <div class="ttc" id="uspoof_8h_html_a39e66376b958996302cd4a53b16c0548"><div class="ttname"><a href="uspoof_8h.html#a39e66376b958996302cd4a53b16c0548">uspoof_setAllowedChars</a></div><div class="ttdeci">U_STABLE void U_EXPORT2 uspoof_setAllowedChars(USpoofChecker *sc, const USet *chars, UErrorCode *status)</div><div class="ttdoc">Limit the acceptable characters to those specified by a Unicode Set. </div></div> <div class="ttc" id="uspoof_8h_html_a0dbd60e53a571689baf65c63f4de8155a4450adc366e2178c451d89b2ea244123"><div class="ttname"><a href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a4450adc366e2178c451d89b2ea244123">USPOOF_ALL_CHECKS</a></div><div class="ttdoc">Enable all spoof checks. </div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00493">uspoof.h:493</a></div></div> <div class="ttc" id="utypes_8h_html_ab9d90a30137b6ec046fe59e79b09745a"><div class="ttname"><a href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a></div><div class="ttdeci">#define U_I18N_API</div><div class="ttdoc">Set to export library symbols from inside the i18n library, and to import them from outside...</div><div class="ttdef"><b>Definition:</b> <a href="utypes_8h_source.html#l00360">utypes.h:360</a></div></div> <div class="ttc" id="uspoof_8h_html_aaa9a738dcc75c4cd982ed8007bab5d40"><div class="ttname"><a href="uspoof_8h.html#aaa9a738dcc75c4cd982ed8007bab5d40">uspoof_getCheckResultRestrictionLevel</a></div><div class="ttdeci">U_STABLE URestrictionLevel U_EXPORT2 uspoof_getCheckResultRestrictionLevel(const USpoofCheckResult *checkResult, UErrorCode *status)</div><div class="ttdoc">Gets the restriction level that the text meets, if the USPOOF_RESTRICTION_LEVEL check was enabled; ot...</div></div> <div class="ttc" id="uversion_8h_html_a7d9374e037299886d4192b763b4c5e8b"><div class="ttname"><a href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b">U_NAMESPACE_BEGIN</a></div><div class="ttdeci">#define U_NAMESPACE_BEGIN</div><div class="ttdoc">This is used to begin a declaration of a public ICU C++ API. </div><div class="ttdef"><b>Definition:</b> <a href="uversion_8h_source.html#l00131">uversion.h:131</a></div></div> <div class="ttc" id="uspoof_8h_html_a94abb819283a77089262185711d855e9"><div class="ttname"><a href="uspoof_8h.html#a94abb819283a77089262185711d855e9">uspoof_getAllowedLocales</a></div><div class="ttdeci">U_STABLE const char *U_EXPORT2 uspoof_getAllowedLocales(USpoofChecker *sc, UErrorCode *status)</div><div class="ttdoc">Get a list of locales for the scripts that are acceptable in strings to be checked. </div></div> <div class="ttc" id="uspoof_8h_html_a0dbd60e53a571689baf65c63f4de8155ae65a72b384e76f7ac1cc4df1decd8057"><div class="ttname"><a href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155ae65a72b384e76f7ac1cc4df1decd8057">USPOOF_ANY_CASE</a></div><div class="ttdoc">This flag is deprecated and no longer affects the behavior of SpoofChecker. </div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00438">uspoof.h:438</a></div></div> <div class="ttc" id="uspoof_8h_html_a0dbd60e53a571689baf65c63f4de8155abfc834ae8c881e54a7922648d5fecead"><div class="ttname"><a href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155abfc834ae8c881e54a7922648d5fecead">USPOOF_WHOLE_SCRIPT_CONFUSABLE</a></div><div class="ttdoc">When performing the two-string uspoof_areConfusable test, this flag in the return value indicates tha...</div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00419">uspoof.h:419</a></div></div> <div class="ttc" id="localpointer_8h_html_a3030f841466c4bbbd465ac9c4b999549"><div class="ttname"><a href="localpointer_8h.html#a3030f841466c4bbbd465ac9c4b999549">U_DEFINE_LOCAL_OPEN_POINTER</a></div><div class="ttdeci">#define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction)</div><div class="ttdoc">"Smart pointer" definition macro, deletes objects via the closeFunction. </div><div class="ttdef"><b>Definition:</b> <a href="localpointer_8h_source.html#l00487">localpointer.h:487</a></div></div> <div class="ttc" id="localpointer_8h_html"><div class="ttname"><a href="localpointer_8h.html">localpointer.h</a></div><div class="ttdoc">C++ API: "Smart pointers" for use with and in ICU4C C++ code. </div></div> <div class="ttc" id="uspoof_8h_html_aa74301abff43c60ecbdd1e8229127250"><div class="ttname"><a href="uspoof_8h.html#aa74301abff43c60ecbdd1e8229127250">uspoof_getRecommendedUnicodeSet</a></div><div class="ttdeci">U_STABLE const icu::UnicodeSet *U_EXPORT2 uspoof_getRecommendedUnicodeSet(UErrorCode *status)</div><div class="ttdoc">Get the set of characters from Recommended Scripts for Inclusion in Identifiers, as defined in http:/...</div></div> <div class="ttc" id="uspoof_8h_html_aa15e811b7f72face34a24012a02a945e"><div class="ttname"><a href="uspoof_8h.html#aa15e811b7f72face34a24012a02a945e">uspoof_setRestrictionLevel</a></div><div class="ttdeci">U_STABLE void U_EXPORT2 uspoof_setRestrictionLevel(USpoofChecker *sc, URestrictionLevel restrictionLevel)</div><div class="ttdoc">Set the loosest restriction level allowed for strings. </div></div> <div class="ttc" id="uspoof_8h_html_a566eea7ea15156355085eb7ff5013852a06d4bf8b1c05dca9a9ec69a0e926e117"><div class="ttname"><a href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a06d4bf8b1c05dca9a9ec69a0e926e117">USPOOF_MODERATELY_RESTRICTIVE</a></div><div class="ttdoc">The string classifies as Highly Restrictive, or all characters in the string are in the identifier pr...</div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00557">uspoof.h:557</a></div></div> <div class="ttc" id="uspoof_8h_html_a0dbd60e53a571689baf65c63f4de8155a0fbfe4596de0672faf4f0d4f01a823f6"><div class="ttname"><a href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a0fbfe4596de0672faf4f0d4f01a823f6">USPOOF_MIXED_NUMBERS</a></div><div class="ttdoc">Check that an identifier does not mix numbers from different numbering systems. </div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00486">uspoof.h:486</a></div></div> <div class="ttc" id="uspoof_8h_html_a566eea7ea15156355085eb7ff5013852a0488c3736f11d8808ac55f72a3c6bde2"><div class="ttname"><a href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a0488c3736f11d8808ac55f72a3c6bde2">USPOOF_SINGLE_SCRIPT_RESTRICTIVE</a></div><div class="ttdoc">The string classifies as ASCII-Only, or all characters in the string are in the identifier profile an...</div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00535">uspoof.h:535</a></div></div> <div class="ttc" id="uspoof_8h_html_a566eea7ea15156355085eb7ff5013852af6dda9229dc422d3e8e41a23a1251060"><div class="ttname"><a href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af6dda9229dc422d3e8e41a23a1251060">USPOOF_HIGHLY_RESTRICTIVE</a></div><div class="ttdoc">The string classifies as Single Script, or all characters in the string are in the identifier profile...</div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00549">uspoof.h:549</a></div></div> <div class="ttc" id="uspoof_8h_html_ab5d4f956191fe5395bdaeb57e8a667f9"><div class="ttname"><a href="uspoof_8h.html#ab5d4f956191fe5395bdaeb57e8a667f9">uspoof_getSkeleton</a></div><div class="ttdeci">U_STABLE int32_t U_EXPORT2 uspoof_getSkeleton(const USpoofChecker *sc, uint32_t type, const UChar *id, int32_t length, UChar *dest, int32_t destCapacity, UErrorCode *status)</div><div class="ttdoc">Get the "skeleton" for an identifier. </div></div> <div class="ttc" id="uspoof_8h_html_aa1a1840ebe1d9b90429faed50063b63e"><div class="ttname"><a href="uspoof_8h.html#aa1a1840ebe1d9b90429faed50063b63e">uspoof_areConfusableUTF8</a></div><div class="ttdeci">U_STABLE int32_t U_EXPORT2 uspoof_areConfusableUTF8(const USpoofChecker *sc, const char *id1, int32_t length1, const char *id2, int32_t length2, UErrorCode *status)</div><div class="ttdoc">A version of uspoof_areConfusable accepting strings in UTF-8 format. </div></div> <div class="ttc" id="uspoof_8h_html_aa13a3dd9f673f9df317948eecab1a346"><div class="ttname"><a href="uspoof_8h.html#aa13a3dd9f673f9df317948eecab1a346">uspoof_openFromSerialized</a></div><div class="ttdeci">USpoofChecker * uspoof_openFromSerialized(const void *data, int32_t length, int32_t *pActualLength, UErrorCode *pErrorCode)</div><div class="ttdoc">Open a Spoof checker from its serialized form, stored in 32-bit-aligned memory. </div></div> <div class="ttc" id="uspoof_8h_html_a35799d1ada95191a370d4fc0f786c254"><div class="ttname"><a href="uspoof_8h.html#a35799d1ada95191a370d4fc0f786c254">uspoof_check2</a></div><div class="ttdeci">U_STABLE int32_t U_EXPORT2 uspoof_check2(const USpoofChecker *sc, const UChar *id, int32_t length, USpoofCheckResult *checkResult, UErrorCode *status)</div><div class="ttdoc">Check the specified string for possible security issues. </div></div> <div class="ttc" id="uspoof_8h_html_a41c7478556f4004eccea6fb3feca0bdb"><div class="ttname"><a href="uspoof_8h.html#a41c7478556f4004eccea6fb3feca0bdb">uspoof_setAllowedUnicodeSet</a></div><div class="ttdeci">U_STABLE void U_EXPORT2 uspoof_setAllowedUnicodeSet(USpoofChecker *sc, const icu::UnicodeSet *chars, UErrorCode *status)</div><div class="ttdoc">Limit the acceptable characters to those specified by a Unicode Set. </div></div> <div class="ttc" id="uspoof_8h_html_a51e28e636fbb5707f66ef4d4caff5de0"><div class="ttname"><a href="uspoof_8h.html#a51e28e636fbb5707f66ef4d4caff5de0">uspoof_setAllowedLocales</a></div><div class="ttdeci">U_STABLE void U_EXPORT2 uspoof_setAllowedLocales(USpoofChecker *sc, const char *localesList, UErrorCode *status)</div><div class="ttdoc">Limit characters that are acceptable in identifiers being checked to those normally used with the lan...</div></div> <div class="ttc" id="classicu_1_1UnicodeSet_html"><div class="ttname"><a href="classicu_1_1UnicodeSet.html">icu::UnicodeSet</a></div><div class="ttdoc">A mutable set of Unicode characters and multicharacter strings. </div><div class="ttdef"><b>Definition:</b> <a href="uniset_8h_source.html#l00278">uniset.h:278</a></div></div> <div class="ttc" id="uspoof_8h_html_ad5e4927218c9e62595a67378cf6e371f"><div class="ttname"><a href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">USpoofChecker</a></div><div class="ttdeci">struct USpoofChecker USpoofChecker</div><div class="ttdoc">typedef for C of USpoofChecker </div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00374">uspoof.h:374</a></div></div> <div class="ttc" id="uspoof_8h_html_a9b6d7df787c72a548498cdfb9fa6a0d3"><div class="ttname"><a href="uspoof_8h.html#a9b6d7df787c72a548498cdfb9fa6a0d3">uspoof_openCheckResult</a></div><div class="ttdeci">U_STABLE USpoofCheckResult *U_EXPORT2 uspoof_openCheckResult(UErrorCode *status)</div><div class="ttdoc">Create a USpoofCheckResult, used by the uspoof_check2 class of functions to return information about ...</div></div> <div class="ttc" id="classLocalUSpoofCheckerPointer_html"><div class="ttname"><a href="classLocalUSpoofCheckerPointer.html">LocalUSpoofCheckerPointer</a></div><div class="ttdoc">"Smart pointer" class, closes a USpoofChecker via uspoof_close(). </div></div> <div class="ttc" id="uspoof_8h_html_addd2914ca00bbc282c87657c448ff0c8"><div class="ttname"><a href="uspoof_8h.html#addd2914ca00bbc282c87657c448ff0c8">uspoof_getCheckResultNumerics</a></div><div class="ttdeci">U_STABLE const USet *U_EXPORT2 uspoof_getCheckResultNumerics(const USpoofCheckResult *checkResult, UErrorCode *status)</div><div class="ttdoc">Gets the set of numerics found in the string, if the USPOOF_MIXED_NUMBERS check was enabled; otherwis...</div></div> <div class="ttc" id="uspoof_8h_html_a0dbd60e53a571689baf65c63f4de8155adc4588fd7ff74c3a6e5cc91d3a6f5d60"><div class="ttname"><a href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155adc4588fd7ff74c3a6e5cc91d3a6f5d60">USPOOF_SINGLE_SCRIPT_CONFUSABLE</a></div><div class="ttdoc">When performing the two-string uspoof_areConfusable test, this flag in the return value indicates tha...</div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00399">uspoof.h:399</a></div></div> <div class="ttc" id="umachine_8h_html_a6bb9fad572d65b305324ef288165e2ac"><div class="ttname"><a href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a></div><div class="ttdeci">uint16_t UChar</div><div class="ttdoc">The base type for UTF-16 code units and pointers. </div><div class="ttdef"><b>Definition:</b> <a href="umachine_8h_source.html#l00349">umachine.h:349</a></div></div> <div class="ttc" id="uversion_8h_html_a3da1f00f3b02976ac53c014a3e4c0933"><div class="ttname"><a href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933">U_NAMESPACE_END</a></div><div class="ttdeci">#define U_NAMESPACE_END</div><div class="ttdoc">This is used to end a declaration of a public ICU C++ API. </div><div class="ttdef"><b>Definition:</b> <a href="uversion_8h_source.html#l00132">uversion.h:132</a></div></div> <div class="ttc" id="ucnv_8h_html_adce3fef7c15d7c78196bf977ac96ec9c"><div class="ttname"><a href="ucnv_8h.html#adce3fef7c15d7c78196bf977ac96ec9c">USet</a></div><div class="ttdeci">struct USet USet</div><div class="ttdef"><b>Definition:</b> <a href="ucnv_8h_source.html#l00069">ucnv.h:69</a></div></div> <div class="ttc" id="parseerr_8h_html"><div class="ttname"><a href="parseerr_8h.html">parseerr.h</a></div><div class="ttdoc">C API: Parse Error Information. </div></div> <div class="ttc" id="uspoof_8h_html_a5a5b3dff0328db93ac6494f8de2a612b"><div class="ttname"><a href="uspoof_8h.html#a5a5b3dff0328db93ac6494f8de2a612b">uspoof_getAllowedUnicodeSet</a></div><div class="ttdeci">U_STABLE const icu::UnicodeSet *U_EXPORT2 uspoof_getAllowedUnicodeSet(const USpoofChecker *sc, UErrorCode *status)</div><div class="ttdoc">Get a UnicodeSet for the characters permitted in an identifier. </div></div> <div class="ttc" id="uspoof_8h_html_a2a7ef2dca2d8d13cbedbda6d0a975cf3"><div class="ttname"><a href="uspoof_8h.html#a2a7ef2dca2d8d13cbedbda6d0a975cf3">uspoof_getRestrictionLevel</a></div><div class="ttdeci">U_STABLE URestrictionLevel U_EXPORT2 uspoof_getRestrictionLevel(const USpoofChecker *sc)</div><div class="ttdoc">Get the Restriction Level that will be tested if the checks include USPOOF_RESTRICTION_LEVEL. </div></div> <div class="ttc" id="utypes_8h_html_a3343c1c8a8377277046774691c98d78c"><div class="ttname"><a href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a></div><div class="ttdeci">UErrorCode</div><div class="ttdoc">Error code to replace exception handling, so that the code is compatible with all C++ compilers...</div><div class="ttdef"><b>Definition:</b> <a href="utypes_8h_source.html#l00396">utypes.h:396</a></div></div> <div class="ttc" id="uspoof_8h_html_a0dbd60e53a571689baf65c63f4de8155a76a60327ab14a68342242aae60340106"><div class="ttname"><a href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a76a60327ab14a68342242aae60340106">USPOOF_MIXED_SCRIPT_CONFUSABLE</a></div><div class="ttdoc">When performing the two-string uspoof_areConfusable test, this flag in the return value indicates tha...</div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00409">uspoof.h:409</a></div></div> <div class="ttc" id="uspoof_8h_html_a14443b1ccec5e500b1ce0c0b259b313a"><div class="ttname"><a href="uspoof_8h.html#a14443b1ccec5e500b1ce0c0b259b313a">uspoof_checkUTF8</a></div><div class="ttdeci">U_STABLE int32_t U_EXPORT2 uspoof_checkUTF8(const USpoofChecker *sc, const char *id, int32_t length, int32_t *position, UErrorCode *status)</div><div class="ttdoc">Check the specified string for possible security issues. </div></div> <div class="ttc" id="uspoof_8h_html_a0d28ac52f3daa1317d3f3a6ee1324dab"><div class="ttname"><a href="uspoof_8h.html#a0d28ac52f3daa1317d3f3a6ee1324dab">uspoof_setChecks</a></div><div class="ttdeci">U_STABLE void U_EXPORT2 uspoof_setChecks(USpoofChecker *sc, int32_t checks, UErrorCode *status)</div><div class="ttdoc">Specify the bitmask of checks that will be performed by uspoof_check. </div></div> <div class="ttc" id="uspoof_8h_html_a21bb11dd91519e5033d43036a30e4d67"><div class="ttname"><a href="uspoof_8h.html#a21bb11dd91519e5033d43036a30e4d67">uspoof_check</a></div><div class="ttdeci">U_STABLE int32_t U_EXPORT2 uspoof_check(const USpoofChecker *sc, const UChar *id, int32_t length, int32_t *position, UErrorCode *status)</div><div class="ttdoc">Check the specified string for possible security issues. </div></div> <div class="ttc" id="uspoof_8h_html_a0dbd60e53a571689baf65c63f4de8155aa7307e5bdc933ceba391fbbc22b382ab"><div class="ttname"><a href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155aa7307e5bdc933ceba391fbbc22b382ab">USPOOF_AUX_INFO</a></div><div class="ttdoc">Enable the return of auxillary (non-error) information in the upper bits of the check results value...</div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00507">uspoof.h:507</a></div></div> <div class="ttc" id="uspoof_8h_html_a27e0eed62e51b6a4603b9b9380781248"><div class="ttname"><a href="uspoof_8h.html#a27e0eed62e51b6a4603b9b9380781248">uspoof_check2UnicodeString</a></div><div class="ttdeci">U_STABLE int32_t U_EXPORT2 uspoof_check2UnicodeString(const USpoofChecker *sc, const icu::UnicodeString &id, USpoofCheckResult *checkResult, UErrorCode *status)</div><div class="ttdoc">Check the specified string for possible security issues. </div></div> <div class="ttc" id="uspoof_8h_html_ae165c7f55213376cda5274045a4cd888"><div class="ttname"><a href="uspoof_8h.html#ae165c7f55213376cda5274045a4cd888">uspoof_checkUnicodeString</a></div><div class="ttdeci">U_STABLE int32_t U_EXPORT2 uspoof_checkUnicodeString(const USpoofChecker *sc, const icu::UnicodeString &id, int32_t *position, UErrorCode *status)</div><div class="ttdoc">Check the specified string for possible security issues. </div></div> <div class="ttc" id="uspoof_8h_html_a0dbd60e53a571689baf65c63f4de8155a1977848d7ccac6f3640fa684b452f69a"><div class="ttname"><a href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a1977848d7ccac6f3640fa684b452f69a">USPOOF_RESTRICTION_LEVEL</a></div><div class="ttdoc">Check that an identifier is no looser than the specified RestrictionLevel. </div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00454">uspoof.h:454</a></div></div> <div class="ttc" id="structUParseError_html"><div class="ttname"><a href="structUParseError.html">UParseError</a></div><div class="ttdoc">A UParseError struct is used to returned detailed information about parsing errors. </div><div class="ttdef"><b>Definition:</b> <a href="parseerr_8h_source.html#l00058">parseerr.h:58</a></div></div> <div class="ttc" id="utypes_8h_html"><div class="ttname"><a href="utypes_8h.html">utypes.h</a></div><div class="ttdoc">Basic definitions for ICU, for both C and C++ APIs. </div></div> <div class="ttc" id="uspoof_8h_html_a238dd6a2e20212b3a14c392355ecc62d"><div class="ttname"><a href="uspoof_8h.html#a238dd6a2e20212b3a14c392355ecc62d">uspoof_getInclusionSet</a></div><div class="ttdeci">U_STABLE const USet *U_EXPORT2 uspoof_getInclusionSet(UErrorCode *status)</div><div class="ttdoc">Get the set of Candidate Characters for Inclusion in Identifiers, as defined in http://unicode.org/Public/security/latest/xidmodifications.txt and documented in http://www.unicode.org/reports/tr39/, Unicode Security Mechanisms. </div></div> <div class="ttc" id="uspoof_8h_html_a566eea7ea15156355085eb7ff5013852a900ac32a2451a70f42c424445f0f3b6f"><div class="ttname"><a href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a900ac32a2451a70f42c424445f0f3b6f">USPOOF_RESTRICTION_LEVEL_MASK</a></div><div class="ttdoc">Mask for selecting the Restriction Level bits from the return value of uspoof_check. </div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00575">uspoof.h:575</a></div></div> <div class="ttc" id="uspoof_8h_html_afffc5760a76109170f4a03ea57964e6c"><div class="ttname"><a href="uspoof_8h.html#afffc5760a76109170f4a03ea57964e6c">uspoof_serialize</a></div><div class="ttdeci">U_STABLE int32_t U_EXPORT2 uspoof_serialize(USpoofChecker *sc, void *data, int32_t capacity, UErrorCode *status)</div><div class="ttdoc">Serialize the data for a spoof detector into a chunk of memory. </div></div> <div class="ttc" id="uspoof_8h_html_aed5fb4ecf6a816ea23874f35514e7553"><div class="ttname"><a href="uspoof_8h.html#aed5fb4ecf6a816ea23874f35514e7553">uspoof_areConfusableUnicodeString</a></div><div class="ttdeci">U_STABLE int32_t U_EXPORT2 uspoof_areConfusableUnicodeString(const USpoofChecker *sc, const icu::UnicodeString &s1, const icu::UnicodeString &s2, UErrorCode *status)</div><div class="ttdoc">A version of uspoof_areConfusable accepting UnicodeStrings. </div></div> <div class="ttc" id="uspoof_8h_html_a566eea7ea15156355085eb7ff5013852af8c3d86392c0d18d51b05390483a036e"><div class="ttname"><a href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852af8c3d86392c0d18d51b05390483a036e">USPOOF_UNRESTRICTIVE</a></div><div class="ttdoc">Any valid identifiers, including characters outside of the Identifier Profile. </div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00569">uspoof.h:569</a></div></div> <div class="ttc" id="uspoof_8h_html_afcb9c0b2ba947138032ab2ee53004485"><div class="ttname"><a href="uspoof_8h.html#afcb9c0b2ba947138032ab2ee53004485">uspoof_getAllowedChars</a></div><div class="ttdeci">U_STABLE const USet *U_EXPORT2 uspoof_getAllowedChars(const USpoofChecker *sc, UErrorCode *status)</div><div class="ttdoc">Get a USet for the characters permitted in an identifier. </div></div> <div class="ttc" id="classicu_1_1UnicodeString_html"><div class="ttname"><a href="classicu_1_1UnicodeString.html">icu::UnicodeString</a></div><div class="ttdoc">UnicodeString is a string class that stores Unicode characters directly and provides similar function...</div><div class="ttdef"><b>Definition:</b> <a href="unistr_8h_source.html#l00286">unistr.h:286</a></div></div> <div class="ttc" id="classLocalUSpoofCheckResultPointer_html"><div class="ttname"><a href="classLocalUSpoofCheckResultPointer.html">LocalUSpoofCheckResultPointer</a></div><div class="ttdoc">"Smart pointer" class, closes a USpoofCheckResult via uspoof_closeCheckResult. </div></div> <div class="ttc" id="uspoof_8h_html_abf7d471023c957586eec6c790f6436e6"><div class="ttname"><a href="uspoof_8h.html#abf7d471023c957586eec6c790f6436e6">uspoof_areConfusable</a></div><div class="ttdeci">U_STABLE int32_t U_EXPORT2 uspoof_areConfusable(const USpoofChecker *sc, const UChar *id1, int32_t length1, const UChar *id2, int32_t length2, UErrorCode *status)</div><div class="ttdoc">Check the whether two specified strings are visually confusable. </div></div> <div class="ttc" id="uspoof_8h_html_a4b9d8c2ad5a77b364fff8abe29d9e1db"><div class="ttname"><a href="uspoof_8h.html#a4b9d8c2ad5a77b364fff8abe29d9e1db">uspoof_getSkeletonUTF8</a></div><div class="ttdeci">U_STABLE int32_t U_EXPORT2 uspoof_getSkeletonUTF8(const USpoofChecker *sc, uint32_t type, const char *id, int32_t length, char *dest, int32_t destCapacity, UErrorCode *status)</div><div class="ttdoc">Get the "skeleton" for an identifier. </div></div> <div class="ttc" id="uspoof_8h_html_a566eea7ea15156355085eb7ff5013852a3744a1ffbcb1b9c30f484034d0843025"><div class="ttname"><a href="uspoof_8h.html#a566eea7ea15156355085eb7ff5013852a3744a1ffbcb1b9c30f484034d0843025">USPOOF_UNDEFINED_RESTRICTIVE</a></div><div class="ttdoc">An undefined restriction level. </div><div class="ttdef"><b>Definition:</b> <a href="uspoof_8h_source.html#l00581">uspoof.h:581</a></div></div> <div class="ttc" id="umachine_8h_html_af3e3799716eaa41e3f49c7bf18c62b98"><div class="ttname"><a href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a></div><div class="ttdeci">#define U_STABLE</div><div class="ttdoc">This is used to declare a function as a stable public ICU C API. </div><div class="ttdef"><b>Definition:</b> <a href="umachine_8h_source.html#l00111">umachine.h:111</a></div></div> <div class="ttc" id="uniset_8h_html"><div class="ttname"><a href="uniset_8h.html">uniset.h</a></div><div class="ttdoc">C++ API: Unicode Set. </div></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.14 </small></address> </body> </html>