1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 *******************************************************************************
6 * Copyright (C) 2000-2010, International Business Machines
7 * Corporation and others. All Rights Reserved.
9 *******************************************************************************
10 * file name: makeconv.h
12 * tab size: 8 (not used)
15 * created on: 2000nov01
16 * created by: Markus W. Scherer
19 #ifndef __MAKECONV_H__
20 #define __MAKECONV_H__
22 #include "unicode/utypes.h"
27 /* exports from makeconv.c */
28 U_CFUNC UBool VERBOSE;
30 U_CFUNC UBool IGNORE_SISO_CHECK;
32 /* converter table type for writing */
40 /* abstract converter generator struct, C++ - style */
42 typedef struct NewConverter NewConverter;
46 (*close)(NewConverter *cnvData);
48 /** is this byte sequence valid? */
50 (*isValid)(NewConverter *cnvData,
51 const uint8_t *bytes, int32_t length);
54 (*addTable)(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData);
57 (*write)(NewConverter *cnvData, const UConverterStaticData *staticData,
58 UNewDataMemory *pData, int32_t tableType);
61 #endif /* __MAKECONV_H__ */