1 /* 2 ****************************************************************************** 3 * * 4 * Copyright (C) 2001-2006, International Business Machines * 5 * Corporation and others. All Rights Reserved. * 6 * * 7 ****************************************************************************** 8 * file name: ucln_cmn.h 9 * encoding: US-ASCII 10 * tab size: 8 (not used) 11 * indentation:4 12 * 13 * created on: 2001July05 14 * created by: George Rhoten 15 */ 16 17 #ifndef __UCLN_CMN_H__ 18 #define __UCLN_CMN_H__ 19 20 #include "unicode/utypes.h" 21 #include "ucln.h" 22 23 /* 24 Please keep the order of enums declared in same order 25 as the functions are suppose to be called. */ 26 typedef enum ECleanupI18NType { 27 UCLN_I18N_START = -1, 28 UCLN_I18N_TRANSLITERATOR, 29 UCLN_I18N_REGEX, 30 UCLN_I18N_ISLAMIC_CALENDAR, 31 UCLN_I18N_HEBREW_CALENDAR, 32 UCLN_I18N_ASTRO_CALENDAR, 33 UCLN_I18N_CALENDAR, 34 UCLN_I18N_NUMFMT, 35 UCLN_I18N_CURRENCY, 36 UCLN_I18N_TIMEZONE, 37 UCLN_I18N_USEARCH, 38 UCLN_I18N_COLLATOR, 39 UCLN_I18N_UCOL, 40 UCLN_I18N_UCOL_BLD, 41 UCLN_I18N_CSDET, 42 UCLN_I18N_ZONEMETA, 43 UCLN_I18N_ZSFORMAT, 44 UCLN_I18N_COUNT /* This must be last */ 45 } ECleanupI18NType; 46 47 /* Main library cleanup registration function. */ 48 /* See common/ucln.h for details on adding a cleanup function. */ 49 U_CFUNC void U_EXPORT2 ucln_i18n_registerCleanup(ECleanupI18NType type, 50 cleanupFunc *func); 51 52 U_CFUNC UBool transliterator_cleanup(void); 53 54 #endif 55