Update contrib.
2 ******************************************************************************
4 * Copyright (C) 2001-2005, 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_common_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,
54 UCLN_COMMON_COUNT /* This must be last */
57 /* Main library cleanup registration function. */
58 /* See common/ucln.h for details on adding a cleanup function. */
59 U_CFUNC void U_EXPORT2 ucln_common_registerCleanup(ECleanupCommonType type,