Imported Upstream version 57.1
[platform/upstream/icu.git] / source / i18n / ucln_in.h
1 /*
2 ******************************************************************************
3 * Copyright (C) 2001-2016, International Business Machines
4 *                Corporation and others. All Rights Reserved.
5 ******************************************************************************
6 *   file name:  ucln_in.h
7 *   encoding:   US-ASCII
8 *   tab size:   8 (not used)
9 *   indentation:4
10 *
11 *   created on: 2001July05
12 *   created by: George Rhoten
13 */
14
15 #ifndef __UCLN_IN_H__
16 #define __UCLN_IN_H__
17
18 #include "unicode/utypes.h"
19 #include "ucln.h"
20
21 /*
22 Please keep the order of enums declared in same order
23 as the functions are suppose to be called.
24 It's usually best to have child dependencies called first. */
25 typedef enum ECleanupI18NType {
26     UCLN_I18N_START = -1,
27     UCLN_I18N_IDENTIFIER_INFO,
28     UCLN_I18N_SPOOF,
29     UCLN_I18N_TRANSLITERATOR,
30     UCLN_I18N_REGEX,
31     UCLN_I18N_ISLAMIC_CALENDAR,
32     UCLN_I18N_CHINESE_CALENDAR,
33     UCLN_I18N_HEBREW_CALENDAR,
34     UCLN_I18N_ASTRO_CALENDAR,
35     UCLN_I18N_DANGI_CALENDAR,
36     UCLN_I18N_CALENDAR,
37     UCLN_I18N_TIMEZONEFORMAT,
38     UCLN_I18N_TZDBTIMEZONENAMES,
39     UCLN_I18N_TIMEZONEGENERICNAMES,
40     UCLN_I18N_TIMEZONENAMES,
41     UCLN_I18N_ZONEMETA,
42     UCLN_I18N_TIMEZONE,
43     UCLN_I18N_DECFMT,
44     UCLN_I18N_NUMFMT,
45     UCLN_I18N_ALLOWED_HOUR_FORMATS,
46     UCLN_I18N_DAYPERIODRULES,
47     UCLN_I18N_SMPDTFMT,
48     UCLN_I18N_USEARCH,
49     UCLN_I18N_COLLATOR,
50     UCLN_I18N_UCOL_RES,
51     UCLN_I18N_CSDET,
52     UCLN_I18N_COLLATION_ROOT,
53     UCLN_I18N_GENDERINFO,
54     UCLN_I18N_CDFINFO,
55     UCLN_I18N_REGION,
56     UCLN_I18N_COUNT /* This must be last */
57 } ECleanupI18NType;
58
59 /* Main library cleanup registration function. */
60 /* See common/ucln.h for details on adding a cleanup function. */
61 /* Note: the global mutex must not be held when calling this function. */
62 U_CFUNC void U_EXPORT2 ucln_i18n_registerCleanup(ECleanupI18NType type,
63                                                  cleanupFunc *func);
64
65 #endif