]>
git.saurik.com Git - apple/icu.git/blob - icuSources/common/locmap.h
2 ******************************************************************************
4 * Copyright (C) 1996-2004, International Business Machines
5 * Corporation and others. All Rights Reserved.
7 ******************************************************************************
9 * File locmap.h : Locale Mapping Classes
12 * Created by: Helena Shih
14 * Modification History:
16 * Date Name Description
17 * 3/11/97 aliu Added setId().
18 * 4/20/99 Madhu Added T_convertToPosix()
19 * 09/18/00 george Removed the memory leaks.
20 * 08/23/01 george Convert to C
21 *============================================================================
27 #include "unicode/utypes.h"
29 #define LANGUAGE_LCID(hostID) (uint16_t)(0x03FF & hostID)
31 U_CAPI
const char *uprv_convertToPosix(uint32_t hostid
, UErrorCode
* status
);
33 /* Don't call this function directly. Use uloc_getLCID instead. */
34 U_CAPI
uint32_t uprv_convertToLCID(const char *langID
, const char* posixID
, UErrorCode
* status
);