intl/icu/source/io/ucln_io.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/io/ucln_io.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +/*
     1.5 +******************************************************************************
     1.6 +*                                                                            *
     1.7 +* Copyright (C) 2001-2011, International Business Machines                   *
     1.8 +*                Corporation and others. All Rights Reserved.                *
     1.9 +*                                                                            *
    1.10 +******************************************************************************
    1.11 +*   file name:  ucln_io.h
    1.12 +*   encoding:   US-ASCII
    1.13 +*   tab size:   8 (not used)
    1.14 +*   indentation:4
    1.15 +*
    1.16 +*   created on: 2006August11
    1.17 +*   created by: George Rhoten
    1.18 +*/
    1.19 +
    1.20 +#ifndef __UCLN_IO_H__
    1.21 +#define __UCLN_IO_H__
    1.22 +
    1.23 +#include "unicode/utypes.h"
    1.24 +#include "ucln.h"
    1.25 +
    1.26 +/*
    1.27 +Please keep the order of enums declared in same order
    1.28 +as the functions are suppose to be called. */
    1.29 +typedef enum ECleanupIOType {
    1.30 +    UCLN_IO_START = -1,
    1.31 +    UCLN_IO_LOCBUND,
    1.32 +    UCLN_IO_PRINTF,
    1.33 +    UCLN_IO_COUNT /* This must be last */
    1.34 +} ECleanupIOType;
    1.35 +
    1.36 +/* Main library cleanup registration function. */
    1.37 +/* See common/ucln.h for details on adding a cleanup function. */
    1.38 +U_CFUNC void U_EXPORT2 ucln_io_registerCleanup(ECleanupIOType type,
    1.39 +                                                 cleanupFunc *func);
    1.40 +
    1.41 +#endif

mercurial