1 // © 2016 and later: Unicode, Inc. and others. 2 // License & terms of use: http://www.unicode.org/copyright.html 3 /* 4 ****************************************************************************** 5 * * 6 * Copyright (C) 2001-2011, International Business Machines * 7 * Corporation and others. All Rights Reserved. * 8 * * 9 ****************************************************************************** 10 * file name: ucln_io.h 11 * encoding: UTF-8 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 /* 26 Please keep the order of enums declared in same order 27 as the functions are suppose to be called. */ 28 typedef enum ECleanupIOType { 29 UCLN_IO_START = -1, 30 UCLN_IO_LOCBUND, 31 UCLN_IO_PRINTF, 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. */ 37 U_CFUNC void U_EXPORT2 ucln_io_registerCleanup(ECleanupIOType type, 38 cleanupFunc *func); 39 40 #endif 41