ucln_in.h revision c73f511526464f8e56c242df80552e9b0d94ae3d
1/*
2******************************************************************************
3* Copyright (C) 2001-2014, International Business Machines
4*                Corporation and others. All Rights Reserved.
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
15#ifndef __UCLN_IN_H__
16#define __UCLN_IN_H__
17
18#include "unicode/utypes.h"
19#include "ucln.h"
20
21/*
22Please keep the order of enums declared in same order
23as the functions are suppose to be called.
24It's usually best to have child dependencies called first. */
25typedef 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_TIMEZONEGENERICNAMES,
39    UCLN_I18N_TIMEZONENAMES,
40    UCLN_I18N_ZONEMETA,
41    UCLN_I18N_TIMEZONE,
42    UCLN_I18N_PLURAL_RULE,
43    UCLN_I18N_CURRENCY,
44    UCLN_I18N_DECFMT,
45    UCLN_I18N_NUMFMT,
46    UCLN_I18N_RELDATEFMT,
47    UCLN_I18N_MEASFMT,
48    UCLN_I18N_SMPDTFMT,
49    UCLN_I18N_USEARCH,
50    UCLN_I18N_COLLATOR,
51    UCLN_I18N_UCOL_RES,
52    UCLN_I18N_CSDET,
53    UCLN_I18N_COLLATION_ROOT,
54    UCLN_I18N_GENDERINFO,
55    UCLN_I18N_CDFINFO,
56    UCLN_I18N_REGION,
57    UCLN_I18N_COUNT /* This must be last */
58} ECleanupI18NType;
59
60/* Main library cleanup registration function. */
61/* See common/ucln.h for details on adding a cleanup function. */
62U_CFUNC void U_EXPORT2 ucln_i18n_registerCleanup(ECleanupI18NType type,
63                                                 cleanupFunc *func);
64
65U_CFUNC UBool utrans_transliterator_cleanup(void);
66
67#endif
68