2
******************************************************************************
4
* Copyright (C) 2001-2010, International Business Machines *
5
* Corporation and others. All Rights Reserved. *
7
******************************************************************************
8
* file name: ucln_cmn.h
10
* tab size: 8 (not used)
13
* created on: 2001July05
14
* created by: George Rhoten
17
#ifndef __UCLN_CMN_H__
18
#define __UCLN_CMN_H__
20
#include "unicode/utypes.h"
23
/* These are the cleanup functions for various APIs. */
24
/* @return true if cleanup complete successfully.*/
25
U_CFUNC UBool umtx_cleanup(void);
27
U_CFUNC UBool utrace_cleanup(void);
29
U_CFUNC UBool ucln_lib_cleanup(void);
32
Please keep the order of enums declared in same order
33
as the cleanup functions are suppose to be called. */
34
typedef enum ECleanupCommonType {
35
UCLN_COMMON_START = -1,
37
UCLN_COMMON_BREAKITERATOR,
38
UCLN_COMMON_BREAKITERATOR_DICT,
42
UCLN_COMMON_LOCALE_AVAILABLE,
44
UCLN_COMMON_NORMALIZER2,
53
UCLN_COMMON_COUNT /* This must be last */
56
/* Main library cleanup registration function. */
57
/* See common/ucln.h for details on adding a cleanup function. */
58
U_CFUNC void U_EXPORT2 ucln_common_registerCleanup(ECleanupCommonType type,