1
/*********************************************************
2
* Copyright (C) 2008 VMware, Inc. All rights reserved.
4
* This file is part of VMware View Open Client.
5
*********************************************************/
7
******************************************************************************
9
* Copyright (C) 2001-2006, International Business Machines *
10
* Corporation and others. All Rights Reserved. *
12
******************************************************************************
13
* file name: ucln_cmn.h
15
* tab size: 8 (not used)
18
* created on: 2001July05
19
* created by: George Rhoten
22
#ifndef __UCLN_CMN_H__
23
#define __UCLN_CMN_H__
25
#include "unicode/utypes.h"
28
/* These are the cleanup functions for various APIs. */
29
/* @return true if cleanup complete successfully.*/
30
U_CFUNC UBool umtx_cleanup(void);
32
U_CFUNC UBool utrace_cleanup(void);
34
U_CFUNC UBool ucln_lib_cleanup(void);
37
Please keep the order of enums declared in same order
38
as the cleanup functions are suppose to be called. */
39
typedef enum ECleanupCommonType {
40
UCLN_COMMON_START = -1,
42
UCLN_COMMON_BREAKITERATOR,
43
UCLN_COMMON_BREAKITERATOR_DICT,
60
UCLN_COMMON_COUNT /* This must be last */
63
/* Main library cleanup registration function. */
64
/* See common/ucln.h for details on adding a cleanup function. */
65
U_CFUNC void U_EXPORT2 ucln_common_registerCleanup(ECleanupCommonType type,