]> git.saurik.com Git - apple/icu.git/blame - icuSources/io/ucln_io.h
ICU-62135.0.1.tar.gz
[apple/icu.git] / icuSources / io / ucln_io.h
CommitLineData
f3c0d7a5
A
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
73c04bcf
A
3/*
4******************************************************************************
5* *
4388f060 6* Copyright (C) 2001-2011, International Business Machines *
73c04bcf
A
7* Corporation and others. All Rights Reserved. *
8* *
9******************************************************************************
10* file name: ucln_io.h
f3c0d7a5 11* encoding: UTF-8
73c04bcf
A
12* tab size: 8 (not used)
13* indentation:4
14*
15* created on: 2006August11
16* created by: George Rhoten
17*/
18
19#ifndef __UCLN_IO_H__
20#define __UCLN_IO_H__
21
22#include "unicode/utypes.h"
23#include "ucln.h"
24
25/*
26Please keep the order of enums declared in same order
27as the functions are suppose to be called. */
28typedef enum ECleanupIOType {
29 UCLN_IO_START = -1,
30 UCLN_IO_LOCBUND,
4388f060 31 UCLN_IO_PRINTF,
73c04bcf
A
32 UCLN_IO_COUNT /* This must be last */
33} ECleanupIOType;
34
35/* Main library cleanup registration function. */
36/* See common/ucln.h for details on adding a cleanup function. */
37U_CFUNC void U_EXPORT2 ucln_io_registerCleanup(ECleanupIOType type,
38 cleanupFunc *func);
39
40#endif