]>
Commit | Line | Data |
---|---|---|
b75a7d8f A |
1 | /* |
2 | ****************************************************************************** | |
57a6839d A |
3 | * Copyright (C) 2001-2014, International Business Machines |
4 | * Corporation and others. All Rights Reserved. | |
b75a7d8f A |
5 | ****************************************************************************** |
6 | * file name: ucln_cmn.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 | ||
57a6839d A |
15 | #ifndef __UCLN_IN_H__ |
16 | #define __UCLN_IN_H__ | |
b75a7d8f A |
17 | |
18 | #include "unicode/utypes.h" | |
374ca955 | 19 | #include "ucln.h" |
b75a7d8f | 20 | |
374ca955 A |
21 | /* |
22 | Please keep the order of enums declared in same order | |
46f4442e A |
23 | as the functions are suppose to be called. |
24 | It's usually best to have child dependencies called first. */ | |
374ca955 A |
25 | typedef enum ECleanupI18NType { |
26 | UCLN_I18N_START = -1, | |
51004dcb A |
27 | UCLN_I18N_IDENTIFIER_INFO, |
28 | UCLN_I18N_SPOOF, | |
374ca955 A |
29 | UCLN_I18N_TRANSLITERATOR, |
30 | UCLN_I18N_REGEX, | |
31 | UCLN_I18N_ISLAMIC_CALENDAR, | |
46f4442e | 32 | UCLN_I18N_CHINESE_CALENDAR, |
374ca955 A |
33 | UCLN_I18N_HEBREW_CALENDAR, |
34 | UCLN_I18N_ASTRO_CALENDAR, | |
51004dcb | 35 | UCLN_I18N_DANGI_CALENDAR, |
374ca955 | 36 | UCLN_I18N_CALENDAR, |
51004dcb | 37 | UCLN_I18N_TIMEZONEFORMAT, |
b331163b | 38 | UCLN_I18N_TZDBTIMEZONENAMES, |
4388f060 A |
39 | UCLN_I18N_TIMEZONEGENERICNAMES, |
40 | UCLN_I18N_TIMEZONENAMES, | |
46f4442e | 41 | UCLN_I18N_ZONEMETA, |
374ca955 | 42 | UCLN_I18N_TIMEZONE, |
46f4442e | 43 | UCLN_I18N_CURRENCY, |
729e4ab9 | 44 | UCLN_I18N_DECFMT, |
46f4442e A |
45 | UCLN_I18N_NUMFMT, |
46 | UCLN_I18N_SMPDTFMT, | |
374ca955 A |
47 | UCLN_I18N_USEARCH, |
48 | UCLN_I18N_COLLATOR, | |
46f4442e | 49 | UCLN_I18N_UCOL_RES, |
73c04bcf | 50 | UCLN_I18N_CSDET, |
57a6839d | 51 | UCLN_I18N_COLLATION_ROOT, |
51004dcb A |
52 | UCLN_I18N_GENDERINFO, |
53 | UCLN_I18N_CDFINFO, | |
54 | UCLN_I18N_REGION, | |
374ca955 A |
55 | UCLN_I18N_COUNT /* This must be last */ |
56 | } ECleanupI18NType; | |
57 | ||
58 | /* Main library cleanup registration function. */ | |
b75a7d8f | 59 | /* See common/ucln.h for details on adding a cleanup function. */ |
b331163b | 60 | /* Note: the global mutex must not be held when calling this function. */ |
374ca955 A |
61 | U_CFUNC void U_EXPORT2 ucln_i18n_registerCleanup(ECleanupI18NType type, |
62 | cleanupFunc *func); | |
b75a7d8f | 63 | |
b75a7d8f | 64 | #endif |