<!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: usprep.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>usprep.h</h1><a href="usprep_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-2006, 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: usprep.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: 2003jul2</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 __USPREP_H__</span> <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __USPREP_H__</span> <a name="l00019"></a>00019 <span class="preprocessor"></span> <a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="utypes_8h.html">unicode/utypes.h</a>"</span> <a name="l00058"></a>00058 <span class="preprocessor">#if !UCONFIG_NO_IDNA</span> <a name="l00059"></a>00059 <span class="preprocessor"></span> <a name="l00060"></a>00060 <span class="preprocessor">#include "<a class="code" href="parseerr_8h.html">unicode/parseerr.h</a>"</span> <a name="l00061"></a>00061 <a name="l00066"></a><a class="code" href="usprep_8h.html#725d11d0c462858ee0845710f7e1e2c2">00066</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="usprep_8h.html#725d11d0c462858ee0845710f7e1e2c2">UStringPrepProfile</a> <a class="code" href="usprep_8h.html#725d11d0c462858ee0845710f7e1e2c2">UStringPrepProfile</a>; <a name="l00067"></a>00067 <a name="l00068"></a>00068 <a name="l00075"></a><a class="code" href="usprep_8h.html#b5702434a76b6a260d200d2380166625">00075</a> <span class="preprocessor">#define USPREP_DEFAULT 0x0000</span> <a name="l00076"></a>00076 <span class="preprocessor"></span> <a name="l00083"></a><a class="code" href="usprep_8h.html#b7b59be4f9636e3c43015642ff34f2c2">00083</a> <span class="preprocessor">#define USPREP_ALLOW_UNASSIGNED 0x0001</span> <a name="l00084"></a>00084 <span class="preprocessor"></span> <a name="l00085"></a>00085 <a name="l00101"></a>00101 <a class="code" href="umachine_8h.html#f3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <a class="code" href="usprep_8h.html#725d11d0c462858ee0845710f7e1e2c2">UStringPrepProfile</a>* <a class="code" href="platform_8h.html#72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00102"></a>00102 <a class="code" href="usprep_8h.html#04f460592db2472edb6cb2a5375453e3">usprep_open</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* path, <a name="l00103"></a>00103 <span class="keyword">const</span> <span class="keywordtype">char</span>* fileName, <a name="l00104"></a>00104 <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>* status); <a name="l00105"></a>00105 <a name="l00106"></a>00106 <a name="l00112"></a>00112 <a class="code" href="umachine_8h.html#f3e3799716eaa41e3f49c7bf18c62b98">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00113"></a>00113 <a class="code" href="usprep_8h.html#9565aad7868978f947a4dc01899bdd0d">usprep_close</a>(<a class="code" href="usprep_8h.html#725d11d0c462858ee0845710f7e1e2c2">UStringPrepProfile</a>* profile); <a name="l00114"></a>00114 <a name="l00115"></a>00115 <a name="l00145"></a>00145 <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="l00146"></a>00146 <a class="code" href="usprep_8h.html#3585603689e2aaee39fd2a5d1b7578ad">usprep_prepare</a>( <span class="keyword">const</span> <a class="code" href="usprep_8h.html#725d11d0c462858ee0845710f7e1e2c2">UStringPrepProfile</a>* prep, <a name="l00147"></a>00147 <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="l00148"></a>00148 <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="l00149"></a>00149 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> options, <a name="l00150"></a>00150 <a class="code" href="structUParseError.html">UParseError</a>* parseError, <a name="l00151"></a>00151 <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>* status ); <a name="l00152"></a>00152 <a name="l00153"></a>00153 <a name="l00154"></a>00154 <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_IDNA */</span> <a name="l00155"></a>00155 <a name="l00156"></a>00156 <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>