]>
Commit | Line | Data |
---|---|---|
73c04bcf A |
1 | /* |
2 | ****************************************************************************** | |
3 | * * | |
4388f060 | 4 | * Copyright (C) 2001-2011, International Business Machines * |
73c04bcf A |
5 | * Corporation and others. All Rights Reserved. * |
6 | * * | |
7 | ****************************************************************************** | |
8 | * file name: ucln_io.h | |
9 | * encoding: US-ASCII | |
10 | * tab size: 8 (not used) | |
11 | * indentation:4 | |
12 | * | |
13 | * created on: 2006August11 | |
14 | * created by: George Rhoten | |
15 | */ | |
16 | ||
17 | #ifndef __UCLN_IO_H__ | |
18 | #define __UCLN_IO_H__ | |
19 | ||
20 | #include "unicode/utypes.h" | |
21 | #include "ucln.h" | |
22 | ||
23 | /* | |
24 | Please keep the order of enums declared in same order | |
25 | as the functions are suppose to be called. */ | |
26 | typedef enum ECleanupIOType { | |
27 | UCLN_IO_START = -1, | |
28 | UCLN_IO_LOCBUND, | |
4388f060 | 29 | UCLN_IO_PRINTF, |
73c04bcf A |
30 | UCLN_IO_COUNT /* This must be last */ |
31 | } ECleanupIOType; | |
32 | ||
33 | /* Main library cleanup registration function. */ | |
34 | /* See common/ucln.h for details on adding a cleanup function. */ | |
35 | U_CFUNC void U_EXPORT2 ucln_io_registerCleanup(ECleanupIOType type, | |
36 | cleanupFunc *func); | |
37 | ||
38 | #endif |