~ubuntu-branches/ubuntu/karmic/vmware-view-open-client/karmic

« back to all changes in this revision

Viewing changes to lib/bora/unicode/ucln_cmn.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-04-17 20:43:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090417204300-kfj5m144zva0gbgc
Tags: 3.1.0-160969+dfsg-1
* Merging upstream version 3.1.0-160969+dfsg.
* Upgrading package to standards 3.8.1.
* Adding build-depends to intltool.
* Adding build-depends to libicu.
* Rediffing doc-pdf.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*********************************************************
2
 
 * Copyright (C) 2008 VMware, Inc. All rights reserved.
3
 
 *
4
 
 * This file is part of VMware View Open Client.
5
 
 *********************************************************/
6
 
/*
7
 
******************************************************************************
8
 
*                                                                            *
9
 
* Copyright (C) 2001-2006, International Business Machines                   *
10
 
*                Corporation and others. All Rights Reserved.                *
11
 
*                                                                            *
12
 
******************************************************************************
13
 
*   file name:  ucln_cmn.h
14
 
*   encoding:   US-ASCII
15
 
*   tab size:   8 (not used)
16
 
*   indentation:4
17
 
*
18
 
*   created on: 2001July05
19
 
*   created by: George Rhoten
20
 
*/
21
 
 
22
 
#ifndef __UCLN_CMN_H__
23
 
#define __UCLN_CMN_H__
24
 
 
25
 
#include "unicode/utypes.h"
26
 
#include "ucln.h"
27
 
 
28
 
/* These are the cleanup functions for various APIs. */
29
 
/* @return true if cleanup complete successfully.*/
30
 
U_CFUNC UBool umtx_cleanup(void);
31
 
 
32
 
U_CFUNC UBool utrace_cleanup(void);
33
 
 
34
 
U_CFUNC UBool ucln_lib_cleanup(void);
35
 
 
36
 
/*
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,
41
 
    UCLN_COMMON_USPREP,
42
 
    UCLN_COMMON_BREAKITERATOR,
43
 
    UCLN_COMMON_BREAKITERATOR_DICT,
44
 
    UCLN_COMMON_SERVICE,
45
 
    UCLN_COMMON_URES,
46
 
    UCLN_COMMON_LOCALE,
47
 
    UCLN_COMMON_ULOC,
48
 
    UCLN_COMMON_UNORM,
49
 
    UCLN_COMMON_USET,
50
 
    UCLN_COMMON_UNAMES,
51
 
    UCLN_COMMON_PNAME,
52
 
    UCLN_COMMON_UPROPS,
53
 
    UCLN_COMMON_UBIDI,
54
 
    UCLN_COMMON_UCASE,
55
 
    UCLN_COMMON_UCHAR,
56
 
    UCLN_COMMON_UCNV,
57
 
    UCLN_COMMON_UCNV_IO,
58
 
    UCLN_COMMON_UDATA,
59
 
    UCLN_COMMON_PUTIL,
60
 
    UCLN_COMMON_COUNT /* This must be last */
61
 
} ECleanupCommonType;
62
 
 
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,
66
 
                                                   cleanupFunc *func);
67
 
 
68
 
#endif