1999-08-16 21:50:52 +00:00
|
|
|
/*
|
2001-03-21 20:44:20 +00:00
|
|
|
******************************************************************************
|
1999-12-13 22:28:37 +00:00
|
|
|
*
|
2004-08-26 18:10:49 +00:00
|
|
|
* Copyright (C) 1996-2004, International Business Machines
|
1999-12-13 22:28:37 +00:00
|
|
|
* Corporation and others. All Rights Reserved.
|
|
|
|
*
|
2001-03-21 20:44:20 +00:00
|
|
|
******************************************************************************
|
2001-08-23 23:56:42 +00:00
|
|
|
*
|
|
|
|
* File locmap.h : Locale Mapping Classes
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Created by: Helena Shih
|
|
|
|
*
|
|
|
|
* Modification History:
|
|
|
|
*
|
|
|
|
* Date Name Description
|
|
|
|
* 3/11/97 aliu Added setId().
|
|
|
|
* 4/20/99 Madhu Added T_convertToPosix()
|
|
|
|
* 09/18/00 george Removed the memory leaks.
|
|
|
|
* 08/23/01 george Convert to C
|
|
|
|
*============================================================================
|
|
|
|
*/
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2001-08-29 21:37:09 +00:00
|
|
|
#ifndef LOCMAP_H
|
2000-01-20 22:33:52 +00:00
|
|
|
#define LOCMAP_H
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2004-08-28 04:58:15 +00:00
|
|
|
#include "unicode/utypes.h"
|
|
|
|
|
2000-09-19 18:02:53 +00:00
|
|
|
#define LANGUAGE_LCID(hostID) (uint16_t)(0x03FF & hostID)
|
|
|
|
|
2003-05-09 20:46:41 +00:00
|
|
|
U_CAPI const char *uprv_convertToPosix(uint32_t hostid, UErrorCode* status);
|
2000-09-19 18:02:53 +00:00
|
|
|
|
2004-09-09 07:57:42 +00:00
|
|
|
/* Don't call this function directly. Use uloc_getLCID instead. */
|
2004-09-08 23:28:51 +00:00
|
|
|
U_CAPI uint32_t uprv_convertToLCID(const char *langID, const char* posixID, UErrorCode* status);
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2001-08-29 21:37:09 +00:00
|
|
|
#endif /* LOCMAP_H */
|
2004-08-26 18:10:49 +00:00
|
|
|
|