Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > f51238514e2abe817779ad2fe01b0759 > files > 773

icu-doc-4.4-2.1mdv2010.2.i586.rpm

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!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"/>
<title>ICU 4.4: uspoof.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>uspoof.h</h1><a href="uspoof_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">***************************************************************************</span>
<a name="l00003"></a>00003 <span class="comment">* Copyright (C) 2008-2010, International Business Machines Corporation</span>
<a name="l00004"></a>00004 <span class="comment">* and others. All Rights Reserved.</span>
<a name="l00005"></a>00005 <span class="comment">***************************************************************************</span>
<a name="l00006"></a>00006 <span class="comment">*   file name:  uspoof.h</span>
<a name="l00007"></a>00007 <span class="comment">*   encoding:   US-ASCII</span>
<a name="l00008"></a>00008 <span class="comment">*   tab size:   8 (not used)</span>
<a name="l00009"></a>00009 <span class="comment">*   indentation:4</span>
<a name="l00010"></a>00010 <span class="comment">*</span>
<a name="l00011"></a>00011 <span class="comment">*   created on: 2008Feb13</span>
<a name="l00012"></a>00012 <span class="comment">*   created by: Andy Heninger</span>
<a name="l00013"></a>00013 <span class="comment">*</span>
<a name="l00014"></a>00014 <span class="comment">*   Unicode Spoof Detection</span>
<a name="l00015"></a>00015 <span class="comment">*/</span>
<a name="l00016"></a>00016 
<a name="l00022"></a>00022 <span class="preprocessor">#ifndef USPOOF_H</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#define USPOOF_H</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>&quot;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &quot;<a class="code" href="uset_8h.html" title="C API: Unicode Set.">unicode/uset.h</a>&quot;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &quot;<a class="code" href="parseerr_8h.html" title="C API: Parse Error Information.">unicode/parseerr.h</a>&quot;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &quot;<a class="code" href="localpointer_8h.html" title="C++ API: &amp;quot;Smart pointers&amp;quot; for use with and in ICU4C C++ code.">unicode/localpointer.h</a>&quot;</span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="preprocessor">#if !UCONFIG_NO_NORMALIZATION</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span>
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="unistr_8h.html" title="C++ API: Unicode String.">unicode/unistr.h</a>&quot;</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &quot;<a class="code" href="uniset_8h.html" title="C++ API: Unicode Set.">unicode/uniset.h</a>&quot;</span>
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 <a class="code" href="uversion_8h.html#aa0c93141ff345327f966fda6c3a2366f" title="This is used to specify that the rest of the code uses the public ICU C++ API namespace...">U_NAMESPACE_USE</a>
<a name="l00038"></a>00038 <span class="preprocessor">#endif</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span>
<a name="l00040"></a>00040 
<a name="l00151"></a>00151 <span class="keyword">struct </span><a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a>;
<a name="l00152"></a><a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f">00152</a> <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>; 
<a name="l00161"></a><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155">00161</a> <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> {
<a name="l00167"></a><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155adc4588fd7ff74c3a6e5cc91d3a6f5d60">00167</a>     <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155adc4588fd7ff74c3a6e5cc91d3a6f5d60" title="Single script confusable test.">USPOOF_SINGLE_SCRIPT_CONFUSABLE</a> =   1,
<a name="l00168"></a>00168 
<a name="l00177"></a><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a76a60327ab14a68342242aae60340106">00177</a>     <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a76a60327ab14a68342242aae60340106" title="Mixed script confusable test.">USPOOF_MIXED_SCRIPT_CONFUSABLE</a>  =   2,
<a name="l00178"></a>00178 
<a name="l00188"></a><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155abfc834ae8c881e54a7922648d5fecead">00188</a>     <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155abfc834ae8c881e54a7922648d5fecead" title="Whole script confusable test.">USPOOF_WHOLE_SCRIPT_CONFUSABLE</a>  =   4,
<a name="l00189"></a>00189     
<a name="l00196"></a><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155ae65a72b384e76f7ac1cc4df1decd8057">00196</a>     <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155ae65a72b384e76f7ac1cc4df1decd8057" title="Any Case Modifier for confusable identifier tests.">USPOOF_ANY_CASE</a>                 =   8,
<a name="l00197"></a>00197 
<a name="l00202"></a><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a68b7d294c1566c1f4a74e2b3a952a138">00202</a>     <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a68b7d294c1566c1f4a74e2b3a952a138" title="Check that an identifier contains only characters from a single script (plus chars...">USPOOF_SINGLE_SCRIPT</a>            =  16,
<a name="l00203"></a>00203     
<a name="l00210"></a><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a7324a51073ca18279da8706d8c21ee0c">00210</a>     <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a7324a51073ca18279da8706d8c21ee0c" title="Check an identifier for the presence of invisible characters, such as zero-width...">USPOOF_INVISIBLE</a>                =  32,
<a name="l00211"></a>00211 
<a name="l00216"></a><a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a3f3e13d5b54cc156864a2aca221b3888">00216</a>     <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155a3f3e13d5b54cc156864a2aca221b3888" title="Check that an identifier contains only characters from a specified set of acceptable...">USPOOF_CHAR_LIMIT</a>               =  64,
<a name="l00217"></a>00217 
<a name="l00218"></a>00218     USPOOF_ALL_CHECKS               = 0x7f
<a name="l00219"></a>00219     } <a class="code" href="uspoof_8h.html#a0dbd60e53a571689baf65c63f4de8155" title="Enum for the kinds of checks that USpoofChecker can perform.">USpoofChecks</a>;
<a name="l00220"></a>00220     
<a name="l00221"></a>00221     
<a name="l00232"></a>00232 <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> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00233"></a>00233 <a class="code" href="uspoof_8h.html#afeff54ce632c1357e914334009becb62" title="Create a Unicode Spoof Checker, configured to perform all checks except for USPOOF_LOCALE_LIMIT...">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...">UErrorCode</a> *status);
<a name="l00234"></a>00234 
<a name="l00235"></a>00235 
<a name="l00257"></a>00257 <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df" title="This is used to declare a function as a public ICU C API.">U_CAPI</a> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00258"></a>00258 <a class="code" href="uspoof_8h.html#abf24810ddfa72bb63a2780f157bb7916" 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,
<a name="l00259"></a>00259                           <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *pErrorCode);
<a name="l00260"></a>00260 
<a name="l00292"></a>00292 <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df" title="This is used to declare a function as a public ICU C API.">U_CAPI</a> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00293"></a>00293 <a class="code" href="uspoof_8h.html#af8bbe0cb32bb948e3ac349844b9990a1" 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,
<a name="l00294"></a>00294                       <span class="keyword">const</span> <span class="keywordtype">char</span> *confusablesWholeScript, int32_t confusablesWholeScriptLen,
<a name="l00295"></a>00295                       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...">UErrorCode</a> *status);
<a name="l00296"></a>00296 
<a name="l00297"></a>00297 
<a name="l00303"></a>00303 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00304"></a>00304 <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);
<a name="l00305"></a>00305 
<a name="l00306"></a>00306 <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span>
<a name="l00307"></a>00307 <span class="preprocessor"></span>
<a name="l00308"></a>00308 <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>
<a name="l00309"></a>00309 
<a name="l00319"></a>00319 U_DEFINE_LOCAL_OPEN_POINTER(LocalUSpoofCheckerPointer, <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>);
<a name="l00320"></a>00320 
<a name="l00321"></a>00321 <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>
<a name="l00322"></a>00322 
<a name="l00323"></a>00323 <span class="preprocessor">#endif</span>
<a name="l00324"></a>00324 <span class="preprocessor"></span>
<a name="l00334"></a>00334 <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> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00335"></a>00335 <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...">UErrorCode</a> *status);
<a name="l00336"></a>00336 
<a name="l00337"></a>00337 
<a name="l00350"></a>00350 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00351"></a>00351 <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...">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...">UErrorCode</a> *status);
<a name="l00352"></a>00352 
<a name="l00364"></a>00364 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00365"></a>00365 <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...">UErrorCode</a> *status);
<a name="l00366"></a>00366 
<a name="l00409"></a>00409 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00410"></a>00410 <a class="code" href="uspoof_8h.html#aca1b0d0630a88af80c56e8205761f6a1" title="Limit characters that are acceptable in identifiers being checked to those normally...">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...">UErrorCode</a> *status);
<a name="l00411"></a>00411 
<a name="l00433"></a>00433 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00434"></a>00434 <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...">UErrorCode</a> *status);
<a name="l00435"></a>00435 
<a name="l00436"></a>00436 
<a name="l00455"></a>00455 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00456"></a>00456 <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...">UErrorCode</a> *status);
<a name="l00457"></a>00457 
<a name="l00458"></a>00458 
<a name="l00479"></a>00479 <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> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00480"></a>00480 <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...">UErrorCode</a> *status);
<a name="l00481"></a>00481 
<a name="l00482"></a>00482 
<a name="l00483"></a>00483 <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span>
<a name="l00484"></a>00484 <span class="preprocessor"></span>
<a name="l00502"></a>00502 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00503"></a>00503 uspoof_setAllowedUnicodeSet(<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="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings.">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...">UErrorCode</a> *status);
<a name="l00504"></a>00504 
<a name="l00505"></a>00505 
<a name="l00526"></a>00526 <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="classUnicodeSet.html" title="A mutable set of Unicode characters and multicharacter strings.">UnicodeSet</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00527"></a>00527 uspoof_getAllowedUnicodeSet(<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...">UErrorCode</a> *status);
<a name="l00528"></a>00528 <span class="preprocessor">#endif</span>
<a name="l00529"></a>00529 <span class="preprocessor"></span>
<a name="l00530"></a>00530 
<a name="l00559"></a>00559 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00560"></a>00560 <a class="code" href="uspoof_8h.html#a6ea81c89a7dd8d21afba293c8ad3e5e5" 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,
<a name="l00561"></a>00561                          <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *text, int32_t length, 
<a name="l00562"></a>00562                          int32_t *position,
<a name="l00563"></a>00563                          <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00564"></a>00564 
<a name="l00565"></a>00565 
<a name="l00594"></a>00594 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00595"></a>00595 <a class="code" href="uspoof_8h.html#a1185af276dd26760d4f35eb690d52250" 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,
<a name="l00596"></a>00596                  <span class="keyword">const</span> <span class="keywordtype">char</span> *text, int32_t length,
<a name="l00597"></a>00597                  int32_t *position,
<a name="l00598"></a>00598                  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00599"></a>00599 
<a name="l00600"></a>00600 
<a name="l00601"></a>00601 <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span>
<a name="l00602"></a>00602 <span class="preprocessor"></span>
<a name="l00627"></a>00627 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00628"></a>00628 uspoof_checkUnicodeString(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc,
<a name="l00629"></a>00629                           <span class="keyword">const</span> <a class="code" href="uversion_8h.html#a398d471a6b925791d52b72d7bb700bdd" title="This is used to qualify that a function or class is part of the public ICU C++ API...">U_NAMESPACE_QUALIFIER</a> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> &amp;text, 
<a name="l00630"></a>00630                           int32_t *position,
<a name="l00631"></a>00631                           <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00632"></a>00632 
<a name="l00633"></a>00633 <span class="preprocessor">#endif</span>
<a name="l00634"></a>00634 <span class="preprocessor"></span>
<a name="l00635"></a>00635 
<a name="l00675"></a>00675 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00676"></a>00676 <a class="code" href="uspoof_8h.html#a30478be8a197dd7c3ac19a2a94ad8c6d" 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,
<a name="l00677"></a>00677                      <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *s1, int32_t length1,
<a name="l00678"></a>00678                      <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *s2, int32_t length2,
<a name="l00679"></a>00679                      <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00680"></a>00680 
<a name="l00681"></a>00681 
<a name="l00682"></a>00682 
<a name="l00708"></a>00708 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00709"></a>00709 <a class="code" href="uspoof_8h.html#ab4c036b175cfeabf5a2b0c18f2eaac00" 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,
<a name="l00710"></a>00710                          <span class="keyword">const</span> <span class="keywordtype">char</span> *s1, int32_t length1,
<a name="l00711"></a>00711                          <span class="keyword">const</span> <span class="keywordtype">char</span> *s2, int32_t length2,
<a name="l00712"></a>00712                          <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00713"></a>00713 
<a name="l00714"></a>00714 
<a name="l00715"></a>00715 
<a name="l00716"></a>00716 
<a name="l00717"></a>00717 <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span>
<a name="l00718"></a>00718 <span class="preprocessor"></span>
<a name="l00739"></a>00739 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00740"></a>00740 uspoof_areConfusableUnicodeString(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc,
<a name="l00741"></a>00741                                   <span class="keyword">const</span> <a class="code" href="uversion_8h.html#a398d471a6b925791d52b72d7bb700bdd" title="This is used to qualify that a function or class is part of the public ICU C++ API...">U_NAMESPACE_QUALIFIER</a> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> &amp;s1,
<a name="l00742"></a>00742                                   <span class="keyword">const</span> <a class="code" href="uversion_8h.html#a398d471a6b925791d52b72d7bb700bdd" title="This is used to qualify that a function or class is part of the public ICU C++ API...">U_NAMESPACE_QUALIFIER</a> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> &amp;s2,
<a name="l00743"></a>00743                                   <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00744"></a>00744 <span class="preprocessor">#endif</span>
<a name="l00745"></a>00745 <span class="preprocessor"></span>
<a name="l00746"></a>00746 
<a name="l00779"></a>00779 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00780"></a>00780 <a class="code" href="uspoof_8h.html#a848c780fd8a59f18e1835608e6fe6b76" title="Get the &amp;quot;skeleton&amp;quot; for an identifier string.">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,
<a name="l00781"></a>00781                    uint32_t type,
<a name="l00782"></a>00782                    <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *s,  int32_t length,
<a name="l00783"></a>00783                    <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *dest, int32_t destCapacity,
<a name="l00784"></a>00784                    <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00785"></a>00785     
<a name="l00821"></a>00821 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00822"></a>00822 <a class="code" href="uspoof_8h.html#ac28b7bee6ac0f6b64e1ae844fcca4240" title="Get the &amp;quot;skeleton&amp;quot; for an identifier string.">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,
<a name="l00823"></a>00823                        uint32_t type,
<a name="l00824"></a>00824                        <span class="keyword">const</span> <span class="keywordtype">char</span> *s,  int32_t length,
<a name="l00825"></a>00825                        <span class="keywordtype">char</span> *dest, int32_t destCapacity,
<a name="l00826"></a>00826                        <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00827"></a>00827     
<a name="l00828"></a>00828 <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span>
<a name="l00829"></a>00829 <span class="preprocessor"></span>
<a name="l00857"></a>00857 <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="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> &amp; <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00858"></a>00858 uspoof_getSkeletonUnicodeString(<span class="keyword">const</span> <a class="code" href="uspoof_8h.html#ad5e4927218c9e62595a67378cf6e371f" title="typedef for C of USpoofChecker">USpoofChecker</a> *sc,
<a name="l00859"></a>00859                                 uint32_t type,
<a name="l00860"></a>00860                                 <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> &amp;s,
<a name="l00861"></a>00861                                 <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides...">UnicodeString</a> &amp;dest,
<a name="l00862"></a>00862                                 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00863"></a>00863 <span class="preprocessor">#endif   </span><span class="comment">/* U_SHOW_CPLUSPLUS_API */</span>
<a name="l00864"></a>00864 
<a name="l00865"></a>00865 
<a name="l00884"></a>00884 <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df" title="This is used to declare a function as a public ICU C API.">U_CAPI</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00885"></a>00885 <a class="code" href="uspoof_8h.html#a0fc8fb61fee3c75c6db54770abeb240d" 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,
<a name="l00886"></a>00886                  <span class="keywordtype">void</span> *data, int32_t capacity,
<a name="l00887"></a>00887                  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00888"></a>00888 
<a name="l00889"></a>00889 
<a name="l00890"></a>00890 <span class="preprocessor">#endif</span>
<a name="l00891"></a>00891 <span class="preprocessor"></span>
<a name="l00892"></a>00892 <span class="preprocessor">#endif   </span><span class="comment">/* USPOOF_H */</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"/><address style="text-align: right;"><small>Generated on 16 Mar 2010 for ICU 4.4 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>