<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>ICU 52.1: uloc.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ICU 52.1  <span id="projectnumber">52.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.2 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_bdd9a5d540de89e9fe90efdfc6973a4f.html">common</a></li><li class="navelem"><a class="el" href="dir_f59c6450ff718ff1b085cfd1c36acbd7.html">unicode</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">uloc.h</div> </div> </div><!--header--> <div class="contents"> <a href="uloc_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">**********************************************************************</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">* Copyright (C) 1997-2013, International Business Machines</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">* Corporation and others. All Rights Reserved.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">**********************************************************************</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">*</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">* File ULOC.H</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">*</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">* Modification History:</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">*</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">* Date Name Description</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">* 04/01/97 aliu Creation.</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">* 08/22/98 stephen JDK 1.2 sync.</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">* 12/08/98 rtg New C API for Locale</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">* 03/30/99 damiba overhaul</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">* 03/31/99 helena Javadoc for uloc functions.</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">* 04/15/99 Madhu Updated Javadoc</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">********************************************************************************</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">*/</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifndef ULOC_H</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span><span class="preprocessor">#define ULOC_H</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>"</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="uenum_8h.html" title="C API: String Enumeration.">unicode/uenum.h</a>"</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div> <div class="line"><a name="l00201"></a><span class="lineno"><a class="code" href="uloc_8h.html#af1e4f6e75642a19b48985c3308dbda1e"> 201</a></span> <span class="preprocessor">#define ULOC_CHINESE "zh"</span></div> <div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00203"></a><span class="lineno"><a class="code" href="uloc_8h.html#a7b3b387e4b7df73ab84087789e51793a"> 203</a></span> <span class="preprocessor">#define ULOC_ENGLISH "en"</span></div> <div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00205"></a><span class="lineno"><a class="code" href="uloc_8h.html#afaf01f72121f4b5d55efd9b1906a637a"> 205</a></span> <span class="preprocessor">#define ULOC_FRENCH "fr"</span></div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00207"></a><span class="lineno"><a class="code" href="uloc_8h.html#a3d0e219396f99a84c0935ca9e3906b9f"> 207</a></span> <span class="preprocessor">#define ULOC_GERMAN "de"</span></div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00209"></a><span class="lineno"><a class="code" href="uloc_8h.html#afafec50dc9f01b9222f2b294e00d37bc"> 209</a></span> <span class="preprocessor">#define ULOC_ITALIAN "it"</span></div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00211"></a><span class="lineno"><a class="code" href="uloc_8h.html#a9ea383605956797a51f7b292957a4635"> 211</a></span> <span class="preprocessor">#define ULOC_JAPANESE "ja"</span></div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00213"></a><span class="lineno"><a class="code" href="uloc_8h.html#adc5c81580522c61757afccfc7b321259"> 213</a></span> <span class="preprocessor">#define ULOC_KOREAN "ko"</span></div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00215"></a><span class="lineno"><a class="code" href="uloc_8h.html#a9e6ce1d4d9dd30192013320785f649ff"> 215</a></span> <span class="preprocessor">#define ULOC_SIMPLIFIED_CHINESE "zh_CN"</span></div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00217"></a><span class="lineno"><a class="code" href="uloc_8h.html#a65d0986d91df6188d055cea37b7631a6"> 217</a></span> <span class="preprocessor">#define ULOC_TRADITIONAL_CHINESE "zh_TW"</span></div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00220"></a><span class="lineno"><a class="code" href="uloc_8h.html#a746eb7d63e452deb4e8d5cd018c8fe7a"> 220</a></span> <span class="preprocessor">#define ULOC_CANADA "en_CA"</span></div> <div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00222"></a><span class="lineno"><a class="code" href="uloc_8h.html#ada2bca2d83bec81496f7a7c6c7a35adb"> 222</a></span> <span class="preprocessor">#define ULOC_CANADA_FRENCH "fr_CA"</span></div> <div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00224"></a><span class="lineno"><a class="code" href="uloc_8h.html#a246c0f569b610c6da2e185b7ced3043d"> 224</a></span> <span class="preprocessor">#define ULOC_CHINA "zh_CN"</span></div> <div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00226"></a><span class="lineno"><a class="code" href="uloc_8h.html#a4dc1d8c0642fb43ced1ae6e609f28724"> 226</a></span> <span class="preprocessor">#define ULOC_PRC "zh_CN"</span></div> <div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00228"></a><span class="lineno"><a class="code" href="uloc_8h.html#a86b421b7341a237421f78a2a63184057"> 228</a></span> <span class="preprocessor">#define ULOC_FRANCE "fr_FR"</span></div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00230"></a><span class="lineno"><a class="code" href="uloc_8h.html#a1b561518d9e0daef25e619b2c0c66dd9"> 230</a></span> <span class="preprocessor">#define ULOC_GERMANY "de_DE"</span></div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00232"></a><span class="lineno"><a class="code" href="uloc_8h.html#adb449b98da021a78151f4b929ecb4102"> 232</a></span> <span class="preprocessor">#define ULOC_ITALY "it_IT"</span></div> <div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00234"></a><span class="lineno"><a class="code" href="uloc_8h.html#a7c98b1c45b011eb2165160270f10931c"> 234</a></span> <span class="preprocessor">#define ULOC_JAPAN "ja_JP"</span></div> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00236"></a><span class="lineno"><a class="code" href="uloc_8h.html#aa56a91a89d347608d3d6af8821b7eea6"> 236</a></span> <span class="preprocessor">#define ULOC_KOREA "ko_KR"</span></div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00238"></a><span class="lineno"><a class="code" href="uloc_8h.html#ab1e44179a709c8b049bdd2aa4c805e50"> 238</a></span> <span class="preprocessor">#define ULOC_TAIWAN "zh_TW"</span></div> <div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00240"></a><span class="lineno"><a class="code" href="uloc_8h.html#a036c7ccbaa867fdd96d1b6390142d18c"> 240</a></span> <span class="preprocessor">#define ULOC_UK "en_GB"</span></div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00242"></a><span class="lineno"><a class="code" href="uloc_8h.html#aa55404d3c725af4e05e65e5b40a6e13d"> 242</a></span> <span class="preprocessor">#define ULOC_US "en_US"</span></div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00249"></a><span class="lineno"><a class="code" href="uloc_8h.html#a9dd4ed9ce1465a8c98c5f9edafb8c933"> 249</a></span> <span class="preprocessor">#define ULOC_LANG_CAPACITY 12</span></div> <div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00256"></a><span class="lineno"><a class="code" href="uloc_8h.html#a356983b956cf3cb61e5d5ed0cd296385"> 256</a></span> <span class="preprocessor">#define ULOC_COUNTRY_CAPACITY 4</span></div> <div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00262"></a><span class="lineno"><a class="code" href="uloc_8h.html#ac070d94b27bb71f73bafd4c31ed53081"> 262</a></span> <span class="preprocessor">#define ULOC_FULLNAME_CAPACITY 157</span></div> <div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00269"></a><span class="lineno"><a class="code" href="uloc_8h.html#a2e60b17e30b020269c89c2ca83c8ea40"> 269</a></span> <span class="preprocessor">#define ULOC_SCRIPT_CAPACITY 6</span></div> <div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00275"></a><span class="lineno"><a class="code" href="uloc_8h.html#a56c1ecca7967df9d83044fa54248ea03"> 275</a></span> <span class="preprocessor">#define ULOC_KEYWORDS_CAPACITY 50</span></div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00281"></a><span class="lineno"><a class="code" href="uloc_8h.html#a48dc9fb3bfd43ed8852387a725260622"> 281</a></span> <span class="preprocessor">#define ULOC_KEYWORD_AND_VALUES_CAPACITY 100</span></div> <div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00287"></a><span class="lineno"><a class="code" href="uloc_8h.html#a95caa9ed83b65408fc6fefed059e7a4e"> 287</a></span> <span class="preprocessor">#define ULOC_KEYWORD_SEPARATOR '@'</span></div> <div class="line"><a name="l00288"></a><span class="lineno"> 288</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00294"></a><span class="lineno"><a class="code" href="uloc_8h.html#aa910dc90d6e05009ba0125e65bde51cf"> 294</a></span> <span class="preprocessor">#define ULOC_KEYWORD_SEPARATOR_UNICODE 0x40</span></div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00300"></a><span class="lineno"><a class="code" href="uloc_8h.html#a624227fd242e922ed98ee574df22b1f6"> 300</a></span> <span class="preprocessor">#define ULOC_KEYWORD_ASSIGN '='</span></div> <div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00307"></a><span class="lineno"><a class="code" href="uloc_8h.html#ab8dedf272c1a1594baeeeded697a14a6"> 307</a></span> <span class="preprocessor">#define ULOC_KEYWORD_ASSIGN_UNICODE 0x3D</span></div> <div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00313"></a><span class="lineno"><a class="code" href="uloc_8h.html#a907733baa1967a626c1ebb36d327675d"> 313</a></span> <span class="preprocessor">#define ULOC_KEYWORD_ITEM_SEPARATOR ';'</span></div> <div class="line"><a name="l00314"></a><span class="lineno"> 314</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00320"></a><span class="lineno"><a class="code" href="uloc_8h.html#ab729d122d9b777b5c23d4b07ede711a9"> 320</a></span> <span class="preprocessor">#define ULOC_KEYWORD_ITEM_SEPARATOR_UNICODE 0x3B</span></div> <div class="line"><a name="l00321"></a><span class="lineno"> 321</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00336"></a><span class="lineno"><a class="code" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34"> 336</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div> <div class="line"><a name="l00340"></a><span class="lineno"><a class="code" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34a95bd603a0102238a5235bf89a45edaf9"> 340</a></span>  <a class="code" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34a95bd603a0102238a5235bf89a45edaf9" title="This is locale the data actually comes from.">ULOC_ACTUAL_LOCALE</a> = 0,</div> <div class="line"><a name="l00344"></a><span class="lineno"><a class="code" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34abe12d6c03ab1fa05e028de64daf97d8c"> 344</a></span>  <a class="code" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34abe12d6c03ab1fa05e028de64daf97d8c" title="This is the most specific locale supported by ICU.">ULOC_VALID_LOCALE</a> = 1,</div> <div class="line"><a name="l00345"></a><span class="lineno"> 345</span> </div> <div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <span class="preprocessor">#ifndef U_HIDE_DEPRECATED_API</span></div> <div class="line"><a name="l00347"></a><span class="lineno"> 347</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00350"></a><span class="lineno"><a class="code" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34ae26d6cf4bf10b95b2bc1f58b2a00ef76"> 350</a></span>  <a class="code" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34ae26d6cf4bf10b95b2bc1f58b2a00ef76" title="This is the requested locale.">ULOC_REQUESTED_LOCALE</a> = 2,</div> <div class="line"><a name="l00351"></a><span class="lineno"> 351</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DEPRECATED_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00352"></a><span class="lineno"> 352</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  ULOC_DATA_LOCALE_TYPE_LIMIT = 3</div> <div class="line"><a name="l00354"></a><span class="lineno"> 354</span> } <a class="code" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34" title="Constants for *_getLocale() Allow user to select whether she wants information on requested...">ULocDataLocaleType</a> ;</div> <div class="line"><a name="l00355"></a><span class="lineno"> 355</span> </div> <div class="line"><a name="l00356"></a><span class="lineno"> 356</span> <span class="preprocessor">#ifndef U_HIDE_SYSTEM_API</span></div> <div class="line"><a name="l00357"></a><span class="lineno"> 357</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00368"></a><span class="lineno"> 368</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* U_EXPORT2</div> <div class="line"><a name="l00369"></a><span class="lineno"> 369</span> <a class="code" href="uloc_8h.html#adbc1e91581ae0e0ec421dafcc35c06c1" title="Gets ICU's default locale.">uloc_getDefault</a>(<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00370"></a><span class="lineno"> 370</span> </div> <div class="line"><a name="l00388"></a><span class="lineno"> 388</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> U_EXPORT2</div> <div class="line"><a name="l00389"></a><span class="lineno"> 389</span> <a class="code" href="uloc_8h.html#a472d1176dda100491e873e58018ba7d4" title="Sets ICU's default locale.">uloc_setDefault</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00391"></a><span class="lineno"> 391</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_SYSTEM_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00392"></a><span class="lineno"> 392</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00405"></a><span class="lineno"> 405</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00406"></a><span class="lineno"> 406</span> <a class="code" href="uloc_8h.html#a8d88e113b134c0fd61b37815163abd8e" title="Gets the language code for the specified locale.">uloc_getLanguage</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  <span class="keywordtype">char</span>* language,</div> <div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  int32_t languageCapacity,</div> <div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* err);</div> <div class="line"><a name="l00410"></a><span class="lineno"> 410</span> </div> <div class="line"><a name="l00423"></a><span class="lineno"> 423</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00424"></a><span class="lineno"> 424</span> <a class="code" href="uloc_8h.html#a6e9e30529b84f5b5e1213829e0a47144" title="Gets the script code for the specified locale.">uloc_getScript</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <span class="keywordtype">char</span>* script,</div> <div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  int32_t scriptCapacity,</div> <div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* err);</div> <div class="line"><a name="l00428"></a><span class="lineno"> 428</span> </div> <div class="line"><a name="l00441"></a><span class="lineno"> 441</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00442"></a><span class="lineno"> 442</span> <a class="code" href="uloc_8h.html#a248777437a9795b6bcf4b8c8d7e405db" title="Gets the country code for the specified locale.">uloc_getCountry</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  <span class="keywordtype">char</span>* country,</div> <div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  int32_t countryCapacity,</div> <div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* err);</div> <div class="line"><a name="l00446"></a><span class="lineno"> 446</span> </div> <div class="line"><a name="l00459"></a><span class="lineno"> 459</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00460"></a><span class="lineno"> 460</span> <a class="code" href="uloc_8h.html#ac9d081c2f4e3f1736d943ec1d66b776f" title="Gets the variant code for the specified locale.">uloc_getVariant</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="keywordtype">char</span>* variant,</div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  int32_t variantCapacity,</div> <div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* err);</div> <div class="line"><a name="l00464"></a><span class="lineno"> 464</span> </div> <div class="line"><a name="l00465"></a><span class="lineno"> 465</span> </div> <div class="line"><a name="l00482"></a><span class="lineno"> 482</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00483"></a><span class="lineno"> 483</span> <a class="code" href="uloc_8h.html#a1b817e9efa7ca5711d3b5abd19227296" title="Gets the full name for the specified locale.">uloc_getName</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <span class="keywordtype">char</span>* name,</div> <div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  int32_t nameCapacity,</div> <div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* err);</div> <div class="line"><a name="l00487"></a><span class="lineno"> 487</span> </div> <div class="line"><a name="l00505"></a><span class="lineno"> 505</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00506"></a><span class="lineno"> 506</span> <a class="code" href="uloc_8h.html#afe5adae51e287be339c57142947eb290" title="Gets the full name for the specified locale.">uloc_canonicalize</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  <span class="keywordtype">char</span>* name,</div> <div class="line"><a name="l00508"></a><span class="lineno"> 508</span>  int32_t nameCapacity,</div> <div class="line"><a name="l00509"></a><span class="lineno"> 509</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* err);</div> <div class="line"><a name="l00510"></a><span class="lineno"> 510</span> </div> <div class="line"><a name="l00518"></a><span class="lineno"> 518</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* U_EXPORT2</div> <div class="line"><a name="l00519"></a><span class="lineno"> 519</span> <a class="code" href="uloc_8h.html#ab1045e01cbf36fd8a4f8ae9b82ef4c94" title="Gets the ISO language code for the specified locale.">uloc_getISO3Language</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID);</div> <div class="line"><a name="l00520"></a><span class="lineno"> 520</span> </div> <div class="line"><a name="l00521"></a><span class="lineno"> 521</span> </div> <div class="line"><a name="l00529"></a><span class="lineno"> 529</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* U_EXPORT2</div> <div class="line"><a name="l00530"></a><span class="lineno"> 530</span> <a class="code" href="uloc_8h.html#ad9950c4d96caa332816532fbedf641f2" title="Gets the ISO country code for the specified locale.">uloc_getISO3Country</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID);</div> <div class="line"><a name="l00531"></a><span class="lineno"> 531</span> </div> <div class="line"><a name="l00540"></a><span class="lineno"> 540</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> uint32_t U_EXPORT2</div> <div class="line"><a name="l00541"></a><span class="lineno"> 541</span> <a class="code" href="uloc_8h.html#a18b4a9328cc5e90db4e8f3a1b79ebff5" title="Gets the Win32 LCID value for the specified locale.">uloc_getLCID</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID);</div> <div class="line"><a name="l00542"></a><span class="lineno"> 542</span> </div> <div class="line"><a name="l00559"></a><span class="lineno"> 559</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00560"></a><span class="lineno"> 560</span> <a class="code" href="uloc_8h.html#a3bf3527de225342853d1fe97503590f7" title="Gets the language name suitable for display for the specified locale.">uloc_getDisplayLanguage</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* locale,</div> <div class="line"><a name="l00561"></a><span class="lineno"> 561</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* displayLocale,</div> <div class="line"><a name="l00562"></a><span class="lineno"> 562</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* language,</div> <div class="line"><a name="l00563"></a><span class="lineno"> 563</span>  int32_t languageCapacity,</div> <div class="line"><a name="l00564"></a><span class="lineno"> 564</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00565"></a><span class="lineno"> 565</span> </div> <div class="line"><a name="l00582"></a><span class="lineno"> 582</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00583"></a><span class="lineno"> 583</span> <a class="code" href="uloc_8h.html#aabf272c2adcb6c0c7dc149bf33b0e39c" title="Gets the script name suitable for display for the specified locale.">uloc_getDisplayScript</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* locale,</div> <div class="line"><a name="l00584"></a><span class="lineno"> 584</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* displayLocale,</div> <div class="line"><a name="l00585"></a><span class="lineno"> 585</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* script,</div> <div class="line"><a name="l00586"></a><span class="lineno"> 586</span>  int32_t scriptCapacity,</div> <div class="line"><a name="l00587"></a><span class="lineno"> 587</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00588"></a><span class="lineno"> 588</span> </div> <div class="line"><a name="l00605"></a><span class="lineno"> 605</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00606"></a><span class="lineno"> 606</span> <a class="code" href="uloc_8h.html#a2debe5d381bed15bc17a9f943e921e3a" title="Gets the country name suitable for display for the specified locale.">uloc_getDisplayCountry</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* locale,</div> <div class="line"><a name="l00607"></a><span class="lineno"> 607</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* displayLocale,</div> <div class="line"><a name="l00608"></a><span class="lineno"> 608</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* country,</div> <div class="line"><a name="l00609"></a><span class="lineno"> 609</span>  int32_t countryCapacity,</div> <div class="line"><a name="l00610"></a><span class="lineno"> 610</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00611"></a><span class="lineno"> 611</span> </div> <div class="line"><a name="l00612"></a><span class="lineno"> 612</span> </div> <div class="line"><a name="l00629"></a><span class="lineno"> 629</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00630"></a><span class="lineno"> 630</span> <a class="code" href="uloc_8h.html#a45c5307fc3c2ae57a8c7ec81eb441fd2" title="Gets the variant name suitable for display for the specified locale.">uloc_getDisplayVariant</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* locale,</div> <div class="line"><a name="l00631"></a><span class="lineno"> 631</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* displayLocale,</div> <div class="line"><a name="l00632"></a><span class="lineno"> 632</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* variant,</div> <div class="line"><a name="l00633"></a><span class="lineno"> 633</span>  int32_t variantCapacity,</div> <div class="line"><a name="l00634"></a><span class="lineno"> 634</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00635"></a><span class="lineno"> 635</span> </div> <div class="line"><a name="l00676"></a><span class="lineno"> 676</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00677"></a><span class="lineno"> 677</span> <a class="code" href="uloc_8h.html#a17562898c39cd95b062b5e02b44ebce2" title="Gets the keyword name suitable for display for the specified locale.">uloc_getDisplayKeyword</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* keyword,</div> <div class="line"><a name="l00678"></a><span class="lineno"> 678</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* displayLocale,</div> <div class="line"><a name="l00679"></a><span class="lineno"> 679</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* dest,</div> <div class="line"><a name="l00680"></a><span class="lineno"> 680</span>  int32_t destCapacity,</div> <div class="line"><a name="l00681"></a><span class="lineno"> 681</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00702"></a><span class="lineno"> 702</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00703"></a><span class="lineno"> 703</span> <a class="code" href="uloc_8h.html#a5b7a991655765f14e6c79ff8b74b47ff" title="Gets the value of the keyword suitable for display for the specified locale.">uloc_getDisplayKeywordValue</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* locale,</div> <div class="line"><a name="l00704"></a><span class="lineno"> 704</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* keyword,</div> <div class="line"><a name="l00705"></a><span class="lineno"> 705</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* displayLocale,</div> <div class="line"><a name="l00706"></a><span class="lineno"> 706</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* dest,</div> <div class="line"><a name="l00707"></a><span class="lineno"> 707</span>  int32_t destCapacity,</div> <div class="line"><a name="l00708"></a><span class="lineno"> 708</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00725"></a><span class="lineno"> 725</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00726"></a><span class="lineno"> 726</span> <a class="code" href="uloc_8h.html#a3050cbd9c84aae5a406f923c8736e151" title="Gets the full name suitable for display for the specified locale.">uloc_getDisplayName</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l00727"></a><span class="lineno"> 727</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* inLocaleID,</div> <div class="line"><a name="l00728"></a><span class="lineno"> 728</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* result,</div> <div class="line"><a name="l00729"></a><span class="lineno"> 729</span>  int32_t maxResultSize,</div> <div class="line"><a name="l00730"></a><span class="lineno"> 730</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* err);</div> <div class="line"><a name="l00731"></a><span class="lineno"> 731</span> </div> <div class="line"><a name="l00732"></a><span class="lineno"> 732</span> </div> <div class="line"><a name="l00743"></a><span class="lineno"> 743</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* U_EXPORT2</div> <div class="line"><a name="l00744"></a><span class="lineno"> 744</span> <a class="code" href="uloc_8h.html#a75df9657cc46472afa94e4cbd4a1529b" title="Gets the specified locale from a list of all available locales.">uloc_getAvailable</a>(int32_t n);</div> <div class="line"><a name="l00745"></a><span class="lineno"> 745</span> </div> <div class="line"><a name="l00752"></a><span class="lineno"> 752</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2 <a class="code" href="uloc_8h.html#a5e2344d83cc55eee38595d50b62294dc" title="Gets the size of the all available locale list.">uloc_countAvailable</a>(<span class="keywordtype">void</span>);</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" 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>* <span class="keyword">const</span>* U_EXPORT2</div> <div class="line"><a name="l00766"></a><span class="lineno"> 766</span> <a class="code" href="uloc_8h.html#a9d4f51992a2efac9369c223b5aae9c37" title="Gets a list of all available 2-letter language codes defined in ISO 639, plus additional 3-letter cod...">uloc_getISOLanguages</a>(<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00767"></a><span class="lineno"> 767</span> </div> <div class="line"><a name="l00777"></a><span class="lineno"> 777</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span>* U_EXPORT2</div> <div class="line"><a name="l00778"></a><span class="lineno"> 778</span> <a class="code" href="uloc_8h.html#a673b0c89a78f098f797bab114eb8de82" title="Gets a list of all available 2-letter country codes defined in ISO 639.">uloc_getISOCountries</a>(<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00779"></a><span class="lineno"> 779</span> </div> <div class="line"><a name="l00793"></a><span class="lineno"> 793</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00794"></a><span class="lineno"> 794</span> <a class="code" href="uloc_8h.html#ab722eaa3e697c2df034e1a65fba0b06d" title="Truncate the locale ID string to get the parent locale ID.">uloc_getParent</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l00795"></a><span class="lineno"> 795</span>  <span class="keywordtype">char</span>* parent,</div> <div class="line"><a name="l00796"></a><span class="lineno"> 796</span>  int32_t parentCapacity,</div> <div class="line"><a name="l00797"></a><span class="lineno"> 797</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* err);</div> <div class="line"><a name="l00798"></a><span class="lineno"> 798</span> </div> <div class="line"><a name="l00799"></a><span class="lineno"> 799</span> </div> <div class="line"><a name="l00800"></a><span class="lineno"> 800</span> </div> <div class="line"><a name="l00801"></a><span class="lineno"> 801</span> </div> <div class="line"><a name="l00824"></a><span class="lineno"> 824</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00825"></a><span class="lineno"> 825</span> <a class="code" href="uloc_8h.html#a6d153005b268df7f93ccb55219b646c5" title="Gets the full name for the specified locale, like uloc_getName(), but without keywords.">uloc_getBaseName</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l00826"></a><span class="lineno"> 826</span>  <span class="keywordtype">char</span>* name,</div> <div class="line"><a name="l00827"></a><span class="lineno"> 827</span>  int32_t nameCapacity,</div> <div class="line"><a name="l00828"></a><span class="lineno"> 828</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* err);</div> <div class="line"><a name="l00829"></a><span class="lineno"> 829</span> </div> <div class="line"><a name="l00839"></a><span class="lineno"> 839</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d" title="structure representing an enumeration object instance">UEnumeration</a>* U_EXPORT2</div> <div class="line"><a name="l00840"></a><span class="lineno"> 840</span> <a class="code" href="uloc_8h.html#a0ad2571c7225304fd9883ddc2047097c" title="Gets an enumeration of keywords for the specified locale.">uloc_openKeywords</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l00841"></a><span class="lineno"> 841</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00842"></a><span class="lineno"> 842</span> </div> <div class="line"><a name="l00854"></a><span class="lineno"> 854</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00855"></a><span class="lineno"> 855</span> <a class="code" href="uloc_8h.html#a1ac8cd994fc39ed8c3865b21cf4f47fa" title="Get the value for a keyword.">uloc_getKeywordValue</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l00856"></a><span class="lineno"> 856</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* keywordName,</div> <div class="line"><a name="l00857"></a><span class="lineno"> 857</span>  <span class="keywordtype">char</span>* buffer, int32_t bufferCapacity,</div> <div class="line"><a name="l00858"></a><span class="lineno"> 858</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00859"></a><span class="lineno"> 859</span> </div> <div class="line"><a name="l00860"></a><span class="lineno"> 860</span> </div> <div class="line"><a name="l00883"></a><span class="lineno"> 883</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00884"></a><span class="lineno"> 884</span> <a class="code" href="uloc_8h.html#a4ba76d26bf66ef7629a649f6dfc3cc93" title="Sets or removes the value of the specified keyword.">uloc_setKeywordValue</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* keywordName,</div> <div class="line"><a name="l00885"></a><span class="lineno"> 885</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* keywordValue,</div> <div class="line"><a name="l00886"></a><span class="lineno"> 886</span>  <span class="keywordtype">char</span>* buffer, int32_t bufferCapacity,</div> <div class="line"><a name="l00887"></a><span class="lineno"> 887</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00888"></a><span class="lineno"> 888</span> </div> <div class="line"><a name="l00894"></a><span class="lineno"><a class="code" href="uloc_8h.html#a5570cc4b814b6cc9150ee0be5ee96ca5"> 894</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div> <div class="line"><a name="l00895"></a><span class="lineno"> 895</span>  ULOC_LAYOUT_LTR = 0, <span class="comment">/* left-to-right. */</span></div> <div class="line"><a name="l00896"></a><span class="lineno"> 896</span>  ULOC_LAYOUT_RTL = 1, <span class="comment">/* right-to-left. */</span></div> <div class="line"><a name="l00897"></a><span class="lineno"> 897</span>  ULOC_LAYOUT_TTB = 2, <span class="comment">/* top-to-bottom. */</span></div> <div class="line"><a name="l00898"></a><span class="lineno"> 898</span>  ULOC_LAYOUT_BTT = 3, <span class="comment">/* bottom-to-top. */</span></div> <div class="line"><a name="l00899"></a><span class="lineno"> 899</span>  ULOC_LAYOUT_UNKNOWN</div> <div class="line"><a name="l00900"></a><span class="lineno"> 900</span> } <a class="code" href="uloc_8h.html#a5570cc4b814b6cc9150ee0be5ee96ca5" title="enums for the return value for the character and line orientation functions.">ULayoutType</a>;</div> <div class="line"><a name="l00901"></a><span class="lineno"> 901</span> </div> <div class="line"><a name="l00910"></a><span class="lineno"> 910</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="uloc_8h.html#a5570cc4b814b6cc9150ee0be5ee96ca5" title="enums for the return value for the character and line orientation functions.">ULayoutType</a> U_EXPORT2</div> <div class="line"><a name="l00911"></a><span class="lineno"> 911</span> <a class="code" href="uloc_8h.html#a2bb9a5571c5d0b8a47947456e79a170d" title="Get the layout character orientation for the specified locale.">uloc_getCharacterOrientation</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeId,</div> <div class="line"><a name="l00912"></a><span class="lineno"> 912</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status);</div> <div class="line"><a name="l00913"></a><span class="lineno"> 913</span> </div> <div class="line"><a name="l00922"></a><span class="lineno"> 922</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="uloc_8h.html#a5570cc4b814b6cc9150ee0be5ee96ca5" title="enums for the return value for the character and line orientation functions.">ULayoutType</a> U_EXPORT2</div> <div class="line"><a name="l00923"></a><span class="lineno"> 923</span> <a class="code" href="uloc_8h.html#ab6a3001d2c92046d7072087b880029fb" title="Get the layout line orientation for the specified locale.">uloc_getLineOrientation</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeId,</div> <div class="line"><a name="l00924"></a><span class="lineno"> 924</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status);</div> <div class="line"><a name="l00925"></a><span class="lineno"> 925</span> </div> <div class="line"><a name="l00932"></a><span class="lineno"><a class="code" href="uloc_8h.html#a3ad5cb6cf40e47fec510070d20c29cf9"> 932</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div> <div class="line"><a name="l00933"></a><span class="lineno"> 933</span>  ULOC_ACCEPT_FAILED = 0, <span class="comment">/* No exact match was found. */</span></div> <div class="line"><a name="l00934"></a><span class="lineno"> 934</span>  ULOC_ACCEPT_VALID = 1, <span class="comment">/* An exact match was found. */</span></div> <div class="line"><a name="l00935"></a><span class="lineno"> 935</span>  ULOC_ACCEPT_FALLBACK = 2 <span class="comment">/* A fallback was found, for example, </span></div> <div class="line"><a name="l00936"></a><span class="lineno"> 936</span> <span class="comment"> Accept list contained 'ja_JP'</span></div> <div class="line"><a name="l00937"></a><span class="lineno"> 937</span> <span class="comment"> which matched available locale 'ja'. */</span></div> <div class="line"><a name="l00938"></a><span class="lineno"> 938</span> } <a class="code" href="uloc_8h.html#a3ad5cb6cf40e47fec510070d20c29cf9" title="enums for the 'outResult' parameter return value">UAcceptResult</a>;</div> <div class="line"><a name="l00939"></a><span class="lineno"> 939</span> </div> <div class="line"><a name="l00940"></a><span class="lineno"> 940</span> </div> <div class="line"><a name="l00953"></a><span class="lineno"> 953</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00954"></a><span class="lineno"> 954</span> <a class="code" href="uloc_8h.html#aced06018568333e1906ae104ab62757a" title="Based on a HTTP header from a web browser and a list of available locales, determine an acceptable lo...">uloc_acceptLanguageFromHTTP</a>(<span class="keywordtype">char</span> *result, int32_t resultAvailable,</div> <div class="line"><a name="l00955"></a><span class="lineno"> 955</span>  <a class="code" href="uloc_8h.html#a3ad5cb6cf40e47fec510070d20c29cf9" title="enums for the 'outResult' parameter return value">UAcceptResult</a> *outResult,</div> <div class="line"><a name="l00956"></a><span class="lineno"> 956</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *httpAcceptLanguage,</div> <div class="line"><a name="l00957"></a><span class="lineno"> 957</span>  <a class="code" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d" title="structure representing an enumeration object instance">UEnumeration</a>* availableLocales,</div> <div class="line"><a name="l00958"></a><span class="lineno"> 958</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status);</div> <div class="line"><a name="l00959"></a><span class="lineno"> 959</span> </div> <div class="line"><a name="l00973"></a><span class="lineno"> 973</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00974"></a><span class="lineno"> 974</span> <a class="code" href="uloc_8h.html#a3b9d2f95d1a205665a0597762fd08ca2" title="Based on a list of available locales, determine an acceptable locale for the user.">uloc_acceptLanguage</a>(<span class="keywordtype">char</span> *result, int32_t resultAvailable, </div> <div class="line"><a name="l00975"></a><span class="lineno"> 975</span>  <a class="code" href="uloc_8h.html#a3ad5cb6cf40e47fec510070d20c29cf9" title="enums for the 'outResult' parameter return value">UAcceptResult</a> *outResult, <span class="keyword">const</span> <span class="keywordtype">char</span> **acceptList,</div> <div class="line"><a name="l00976"></a><span class="lineno"> 976</span>  int32_t acceptListCount,</div> <div class="line"><a name="l00977"></a><span class="lineno"> 977</span>  <a class="code" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d" title="structure representing an enumeration object instance">UEnumeration</a>* availableLocales,</div> <div class="line"><a name="l00978"></a><span class="lineno"> 978</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status);</div> <div class="line"><a name="l00979"></a><span class="lineno"> 979</span> </div> <div class="line"><a name="l00980"></a><span class="lineno"> 980</span> </div> <div class="line"><a name="l00993"></a><span class="lineno"> 993</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l00994"></a><span class="lineno"> 994</span> <a class="code" href="uloc_8h.html#a623993d80071d113cbe64d20f6a4956c" title="Gets the ICU locale ID for the specified Win32 LCID value.">uloc_getLocaleForLCID</a>(uint32_t hostID, <span class="keywordtype">char</span> *locale, int32_t localeCapacity,</div> <div class="line"><a name="l00995"></a><span class="lineno"> 995</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status);</div> <div class="line"><a name="l00996"></a><span class="lineno"> 996</span> </div> <div class="line"><a name="l00997"></a><span class="lineno"> 997</span> </div> <div class="line"><a name="l01031"></a><span class="lineno"> 1031</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l01032"></a><span class="lineno"> 1032</span> <a class="code" href="uloc_8h.html#a0cb2dcd65f745e7a966a729395499770" title="Add the likely subtags for a provided locale ID, per the algorithm described in the following CLDR te...">uloc_addLikelySubtags</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>  <span class="keywordtype">char</span>* maximizedLocaleID,</div> <div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>  int32_t maximizedLocaleIDCapacity,</div> <div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* err);</div> <div class="line"><a name="l01036"></a><span class="lineno"> 1036</span> </div> <div class="line"><a name="l01037"></a><span class="lineno"> 1037</span> </div> <div class="line"><a name="l01071"></a><span class="lineno"> 1071</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l01072"></a><span class="lineno"> 1072</span> <a class="code" href="uloc_8h.html#acecda5c650c9a3a4e43900c676558e17" title="Minimize the subtags for a provided locale ID, per the algorithm described in the following CLDR tech...">uloc_minimizeSubtags</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>  <span class="keywordtype">char</span>* minimizedLocaleID,</div> <div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>  int32_t minimizedLocaleIDCapacity,</div> <div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* err);</div> <div class="line"><a name="l01076"></a><span class="lineno"> 1076</span> </div> <div class="line"><a name="l01100"></a><span class="lineno"> 1100</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l01101"></a><span class="lineno"> 1101</span> <a class="code" href="uloc_8h.html#aa45d6457f72867880f079e27a63c6fcb" title="Returns a locale ID for the specified BCP47 language tag string.">uloc_forLanguageTag</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* langtag,</div> <div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>  <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>  int32_t localeIDCapacity,</div> <div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>  int32_t* parsedLength,</div> <div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* err);</div> <div class="line"><a name="l01106"></a><span class="lineno"> 1106</span> </div> <div class="line"><a name="l01128"></a><span class="lineno"> 1128</span> <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t U_EXPORT2</div> <div class="line"><a name="l01129"></a><span class="lineno"> 1129</span> <a class="code" href="uloc_8h.html#a1d50c91925ca3853fce6f28cf7390c3c" title="Returns a well-formed language tag for this locale ID.">uloc_toLanguageTag</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* localeID,</div> <div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>  <span class="keywordtype">char</span>* langtag,</div> <div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>  int32_t langtagCapacity,</div> <div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> strict,</div> <div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* err);</div> <div class="line"><a name="l01134"></a><span class="lineno"> 1134</span> </div> <div class="line"><a name="l01135"></a><span class="lineno"> 1135</span> <span class="preprocessor">#endif </span><span class="comment">/*_ULOC*/</span><span class="preprocessor"></span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 4 2013 14:10:21 for ICU 52.1 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.2 </small></address> </body> </html>