- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

# uclean.h

Go to the documentation of this file.

    00001 /*
    00002 ******************************************************************************
    00003 *                                                                            *
    00004 * Copyright (C) 2001-2009, International Business Machines                   *
    00005 *                Corporation and others. All Rights Reserved.                *
    00006 *                                                                            *
    00007 ******************************************************************************
    00008 *   file name:  uclean.h
    00009 *   encoding:   US-ASCII
    00010 *   tab size:   8 (not used)
    00011 *   indentation:4
    00012 *
    00013 *   created on: 2001July05
    00014 *   created by: George Rhoten
    00015 */
    00016
    00017 #ifndef __UCLEAN_H__
    00018 #define __UCLEAN_H__
    00019
    00020 #include "unicode/utypes.h"
    00052 U_STABLE void U_EXPORT2
    00053 u_init(UErrorCode *status);
    00054
    00100 U_STABLE void U_EXPORT2
    00101 u_cleanup(void);
    00102
    00103
    00104
    00105
    00113 typedef void *UMTX;
    00114
    00131 typedef void U_CALLCONV UMtxInitFn (const void *context, UMTX  *mutex, UErrorCode* status);
    00132
    00133
    00143 typedef void U_CALLCONV UMtxFn   (const void *context, UMTX  *mutex);
    00144
    00145
    00165 U_STABLE void U_EXPORT2
    00166 u_setMutexFunctions(const void *context, UMtxInitFn *init, UMtxFn *destroy, UMtxFn *lock, UMtxFn *unlock,
    00167                     UErrorCode *status);
    00168
    00169
    00178 typedef int32_t U_CALLCONV UMtxAtomicFn(const void *context, int32_t *p);
    00179
    00195 U_STABLE void U_EXPORT2
    00196 u_setAtomicIncDecFunctions(const void *context, UMtxAtomicFn *inc, UMtxAtomicFn *dec,
    00197                     UErrorCode *status);
    00198
    00199
    00200
    00209 typedef void *U_CALLCONV UMemAllocFn(const void *context, size_t size);
    00218 typedef void *U_CALLCONV UMemReallocFn(const void *context, void *mem, size_t size);
    00229 typedef void  U_CALLCONV UMemFreeFn (const void *context, void *mem);
    00230
    00247 U_STABLE void U_EXPORT2
    00248 u_setMemoryFunctions(const void *context, UMemAllocFn *a, UMemReallocFn *r, UMemFreeFn *f,
    00249                     UErrorCode *status);
    00250
    00251 #endif

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines