sl@0: /* sl@0: ****************************************************************************** sl@0: * sl@0: * Copyright (C) 1996-2004, International Business Machines sl@0: * Corporation and others. All Rights Reserved. sl@0: * sl@0: ****************************************************************************** sl@0: * sl@0: * File locmap.h : Locale Mapping Classes sl@0: * sl@0: * sl@0: * Created by: Helena Shih sl@0: * sl@0: * Modification History: sl@0: * sl@0: * Date Name Description sl@0: * 3/11/97 aliu Added setId(). sl@0: * 4/20/99 Madhu Added T_convertToPosix() sl@0: * 09/18/00 george Removed the memory leaks. sl@0: * 08/23/01 george Convert to C sl@0: *============================================================================ sl@0: */ sl@0: sl@0: #ifndef LOCMAP_H sl@0: #define LOCMAP_H sl@0: sl@0: #include "unicode/utypes.h" sl@0: sl@0: #define LANGUAGE_LCID(hostID) (uint16_t)(0x03FF & hostID) sl@0: sl@0: U_CAPI const char *uprv_convertToPosix(uint32_t hostid, UErrorCode* status); sl@0: sl@0: /* Don't call this function directly. Use uloc_getLCID instead. */ sl@0: U_CAPI uint32_t uprv_convertToLCID(const char *langID, const char* posixID, UErrorCode* status); sl@0: sl@0: #endif /* LOCMAP_H */ sl@0: