2017-01-20 00:20:31 +00:00
|
|
|
// © 2016 and later: Unicode, Inc. and others.
|
2016-06-15 18:58:17 +00:00
|
|
|
// License & terms of use: http://www.unicode.org/copyright.html
|
2001-08-30 03:01:06 +00:00
|
|
|
/*
|
|
|
|
******************************************************************************
|
2016-05-31 21:45:07 +00:00
|
|
|
* Copyright (C) 2001-2016, International Business Machines
|
|
|
|
* Corporation and others. All Rights Reserved.
|
2001-08-30 03:01:06 +00:00
|
|
|
******************************************************************************
|
2016-02-25 19:51:53 +00:00
|
|
|
* file name: ucln_in.h
|
2017-02-03 18:57:23 +00:00
|
|
|
* encoding: UTF-8
|
2001-08-30 03:01:06 +00:00
|
|
|
* tab size: 8 (not used)
|
|
|
|
* indentation:4
|
|
|
|
*
|
|
|
|
* created on: 2001July05
|
|
|
|
* created by: George Rhoten
|
|
|
|
*/
|
|
|
|
|
2013-08-09 19:53:07 +00:00
|
|
|
#ifndef __UCLN_IN_H__
|
|
|
|
#define __UCLN_IN_H__
|
2001-08-30 03:01:06 +00:00
|
|
|
|
|
|
|
#include "unicode/utypes.h"
|
2004-09-12 23:07:29 +00:00
|
|
|
#include "ucln.h"
|
2001-08-30 03:01:06 +00:00
|
|
|
|
2004-09-12 23:07:29 +00:00
|
|
|
/*
|
|
|
|
Please keep the order of enums declared in same order
|
2008-01-21 17:35:02 +00:00
|
|
|
as the functions are suppose to be called.
|
|
|
|
It's usually best to have child dependencies called first. */
|
2004-09-12 23:07:29 +00:00
|
|
|
typedef enum ECleanupI18NType {
|
|
|
|
UCLN_I18N_START = -1,
|
2018-03-23 06:46:19 +00:00
|
|
|
UCLN_I18N_NUMBER_SKELETONS,
|
2017-09-10 02:02:02 +00:00
|
|
|
UCLN_I18N_CURRENCY_SPACING,
|
2013-02-11 04:51:14 +00:00
|
|
|
UCLN_I18N_SPOOF,
|
2016-09-13 22:15:13 +00:00
|
|
|
UCLN_I18N_SPOOFDATA,
|
2004-09-12 23:07:29 +00:00
|
|
|
UCLN_I18N_TRANSLITERATOR,
|
|
|
|
UCLN_I18N_REGEX,
|
|
|
|
UCLN_I18N_ISLAMIC_CALENDAR,
|
2007-10-25 20:26:34 +00:00
|
|
|
UCLN_I18N_CHINESE_CALENDAR,
|
2004-09-12 23:07:29 +00:00
|
|
|
UCLN_I18N_HEBREW_CALENDAR,
|
|
|
|
UCLN_I18N_ASTRO_CALENDAR,
|
2013-02-25 19:09:10 +00:00
|
|
|
UCLN_I18N_DANGI_CALENDAR,
|
2004-09-12 23:07:29 +00:00
|
|
|
UCLN_I18N_CALENDAR,
|
2013-02-11 00:23:55 +00:00
|
|
|
UCLN_I18N_TIMEZONEFORMAT,
|
2014-07-23 21:51:09 +00:00
|
|
|
UCLN_I18N_TZDBTIMEZONENAMES,
|
2012-02-21 11:06:50 +00:00
|
|
|
UCLN_I18N_TIMEZONEGENERICNAMES,
|
2011-05-03 14:59:01 +00:00
|
|
|
UCLN_I18N_TIMEZONENAMES,
|
2008-01-21 17:35:02 +00:00
|
|
|
UCLN_I18N_ZONEMETA,
|
2004-09-12 23:07:29 +00:00
|
|
|
UCLN_I18N_TIMEZONE,
|
2016-09-02 20:58:05 +00:00
|
|
|
UCLN_I18N_DIGITLIST,
|
2011-05-04 12:23:42 +00:00
|
|
|
UCLN_I18N_DECFMT,
|
2008-01-21 17:35:02 +00:00
|
|
|
UCLN_I18N_NUMFMT,
|
2016-03-02 22:43:27 +00:00
|
|
|
UCLN_I18N_ALLOWED_HOUR_FORMATS,
|
2016-02-25 19:51:53 +00:00
|
|
|
UCLN_I18N_DAYPERIODRULES,
|
2011-05-04 12:23:42 +00:00
|
|
|
UCLN_I18N_SMPDTFMT,
|
2004-09-12 23:07:29 +00:00
|
|
|
UCLN_I18N_USEARCH,
|
|
|
|
UCLN_I18N_COLLATOR,
|
2008-03-12 06:24:36 +00:00
|
|
|
UCLN_I18N_UCOL_RES,
|
2006-02-06 18:03:11 +00:00
|
|
|
UCLN_I18N_CSDET,
|
2014-02-25 21:21:49 +00:00
|
|
|
UCLN_I18N_COLLATION_ROOT,
|
2012-10-05 19:02:05 +00:00
|
|
|
UCLN_I18N_GENDERINFO,
|
2012-11-14 18:49:38 +00:00
|
|
|
UCLN_I18N_CDFINFO,
|
2013-01-15 23:53:27 +00:00
|
|
|
UCLN_I18N_REGION,
|
2004-09-12 23:07:29 +00:00
|
|
|
UCLN_I18N_COUNT /* This must be last */
|
|
|
|
} ECleanupI18NType;
|
|
|
|
|
|
|
|
/* Main library cleanup registration function. */
|
2001-09-21 00:19:53 +00:00
|
|
|
/* See common/ucln.h for details on adding a cleanup function. */
|
2014-04-23 23:22:13 +00:00
|
|
|
/* Note: the global mutex must not be held when calling this function. */
|
2004-09-12 23:07:29 +00:00
|
|
|
U_CFUNC void U_EXPORT2 ucln_i18n_registerCleanup(ECleanupI18NType type,
|
|
|
|
cleanupFunc *func);
|
2001-08-30 03:01:06 +00:00
|
|
|
|
|
|
|
#endif
|