michael@0: /* michael@0: ****************************************************************************** michael@0: * * michael@0: * Copyright (C) 2001-2011, International Business Machines * michael@0: * Corporation and others. All Rights Reserved. * michael@0: * * michael@0: ****************************************************************************** michael@0: * file name: ucln_io.h michael@0: * encoding: US-ASCII michael@0: * tab size: 8 (not used) michael@0: * indentation:4 michael@0: * michael@0: * created on: 2006August11 michael@0: * created by: George Rhoten michael@0: */ michael@0: michael@0: #ifndef __UCLN_IO_H__ michael@0: #define __UCLN_IO_H__ michael@0: michael@0: #include "unicode/utypes.h" michael@0: #include "ucln.h" michael@0: michael@0: /* michael@0: Please keep the order of enums declared in same order michael@0: as the functions are suppose to be called. */ michael@0: typedef enum ECleanupIOType { michael@0: UCLN_IO_START = -1, michael@0: UCLN_IO_LOCBUND, michael@0: UCLN_IO_PRINTF, michael@0: UCLN_IO_COUNT /* This must be last */ michael@0: } ECleanupIOType; michael@0: michael@0: /* Main library cleanup registration function. */ michael@0: /* See common/ucln.h for details on adding a cleanup function. */ michael@0: U_CFUNC void U_EXPORT2 ucln_io_registerCleanup(ECleanupIOType type, michael@0: cleanupFunc *func); michael@0: michael@0: #endif