<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ICU 3.8: uidna.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.1 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="classes.html"><span>Data Structures</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div> <h1>uidna.h</h1><a href="uidna_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"> *</span> <a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2003-2007, International Business Machines</span> <a name="l00005"></a>00005 <span class="comment"> * Corporation and others. All Rights Reserved.</span> <a name="l00006"></a>00006 <span class="comment"> *</span> <a name="l00007"></a>00007 <span class="comment"> *******************************************************************************</span> <a name="l00008"></a>00008 <span class="comment"> * file name: uidna.h</span> <a name="l00009"></a>00009 <span class="comment"> * encoding: US-ASCII</span> <a name="l00010"></a>00010 <span class="comment"> * tab size: 8 (not used)</span> <a name="l00011"></a>00011 <span class="comment"> * indentation:4</span> <a name="l00012"></a>00012 <span class="comment"> *</span> <a name="l00013"></a>00013 <span class="comment"> * created on: 2003feb1</span> <a name="l00014"></a>00014 <span class="comment"> * created by: Ram Viswanadha</span> <a name="l00015"></a>00015 <span class="comment"> */</span> <a name="l00016"></a>00016 <a name="l00017"></a>00017 <span class="preprocessor">#ifndef __UIDNA_H__</span> <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __UIDNA_H__</span> <a name="l00019"></a>00019 <span class="preprocessor"></span> <a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="utypes_8h.html">unicode/utypes.h</a>"</span> <a name="l00021"></a>00021 <a name="l00022"></a>00022 <span class="preprocessor">#if !UCONFIG_NO_IDNA</span> <a name="l00023"></a>00023 <span class="preprocessor"></span> <a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="parseerr_8h.html">unicode/parseerr.h</a>"</span> <a name="l00025"></a>00025 <a name="l00059"></a><a class="code" href="uidna_8h.html#a50a8a3869d1e1efaec1e719cd921913">00059</a> <span class="preprocessor">#define UIDNA_DEFAULT 0x0000</span> <a name="l00060"></a>00060 <span class="preprocessor"></span> <a name="l00066"></a><a class="code" href="uidna_8h.html#0b04ad5e257c52ff65608cd3dce1c21e">00066</a> <span class="preprocessor">#define UIDNA_ALLOW_UNASSIGNED 0x0001</span> <a name="l00067"></a>00067 <span class="preprocessor"></span> <a name="l00073"></a><a class="code" href="uidna_8h.html#a31def36006bdb336c755cc68f34b5db">00073</a> <span class="preprocessor">#define UIDNA_USE_STD3_RULES 0x0002</span> <a name="l00074"></a>00074 <span class="preprocessor"></span> <a name="l00114"></a>00114 <a class="code" href="umachine_8h.html#f3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="platform_8h.html#72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00115"></a>00115 <a class="code" href="uidna_8h.html#af3bec2415dd99b4221eeebb723eb082">uidna_toASCII</a>(<span class="keyword">const</span> <a class="code" href="umachine_8h.html#6bb9fad572d65b305324ef288165e2ac">UChar</a>* src, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> srcLength, <a name="l00116"></a>00116 <a class="code" href="umachine_8h.html#6bb9fad572d65b305324ef288165e2ac">UChar</a>* dest, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> destCapacity, <a name="l00117"></a>00117 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> options, <a name="l00118"></a>00118 <a class="code" href="structUParseError.html">UParseError</a>* parseError, <a name="l00119"></a>00119 <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>* status); <a name="l00120"></a>00120 <a name="l00121"></a>00121 <a name="l00165"></a>00165 <a class="code" href="umachine_8h.html#f3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="platform_8h.html#72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00166"></a>00166 <a class="code" href="uidna_8h.html#ffc23ca4aea3c6e5150024e5fd5a5b2d">uidna_toUnicode</a>(<span class="keyword">const</span> <a class="code" href="umachine_8h.html#6bb9fad572d65b305324ef288165e2ac">UChar</a>* src, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> srcLength, <a name="l00167"></a>00167 <a class="code" href="umachine_8h.html#6bb9fad572d65b305324ef288165e2ac">UChar</a>* dest, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> destCapacity, <a name="l00168"></a>00168 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> options, <a name="l00169"></a>00169 <a class="code" href="structUParseError.html">UParseError</a>* parseError, <a name="l00170"></a>00170 <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>* status); <a name="l00171"></a>00171 <a name="l00172"></a>00172 <a name="l00216"></a>00216 <a class="code" href="umachine_8h.html#f3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="platform_8h.html#72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00217"></a>00217 <a class="code" href="uidna_8h.html#711fa1d2e6dd25d7368f5b3ea2aaedc6">uidna_IDNToASCII</a>( <span class="keyword">const</span> <a class="code" href="umachine_8h.html#6bb9fad572d65b305324ef288165e2ac">UChar</a>* src, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> srcLength, <a name="l00218"></a>00218 <a class="code" href="umachine_8h.html#6bb9fad572d65b305324ef288165e2ac">UChar</a>* dest, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> destCapacity, <a name="l00219"></a>00219 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> options, <a name="l00220"></a>00220 <a class="code" href="structUParseError.html">UParseError</a>* parseError, <a name="l00221"></a>00221 <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>* status); <a name="l00222"></a>00222 <a name="l00263"></a>00263 <a class="code" href="umachine_8h.html#f3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="platform_8h.html#72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00264"></a>00264 <a class="code" href="uidna_8h.html#cf38e44019d4eb5a7dd903284fdb18e3">uidna_IDNToUnicode</a>( <span class="keyword">const</span> <a class="code" href="umachine_8h.html#6bb9fad572d65b305324ef288165e2ac">UChar</a>* src, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> srcLength, <a name="l00265"></a>00265 <a class="code" href="umachine_8h.html#6bb9fad572d65b305324ef288165e2ac">UChar</a>* dest, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> destCapacity, <a name="l00266"></a>00266 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> options, <a name="l00267"></a>00267 <a class="code" href="structUParseError.html">UParseError</a>* parseError, <a name="l00268"></a>00268 <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>* status); <a name="l00269"></a>00269 <a name="l00304"></a>00304 <a class="code" href="umachine_8h.html#f3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="platform_8h.html#72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00305"></a>00305 <a class="code" href="uidna_8h.html#89b089341501d76335772d8b26ffe0db">uidna_compare</a>( <span class="keyword">const</span> <a class="code" href="umachine_8h.html#6bb9fad572d65b305324ef288165e2ac">UChar</a> *s1, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> length1, <a name="l00306"></a>00306 <span class="keyword">const</span> <a class="code" href="umachine_8h.html#6bb9fad572d65b305324ef288165e2ac">UChar</a> *s2, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> length2, <a name="l00307"></a>00307 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> options, <a name="l00308"></a>00308 <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>* status); <a name="l00309"></a>00309 <a name="l00310"></a>00310 <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_IDNA */</span> <a name="l00311"></a>00311 <a name="l00312"></a>00312 <span class="preprocessor">#endif</span> </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:21 2007 for ICU 3.8 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> </body> </html>