1 // © 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
;
47 (* U_CALLCONV_FPTR close
)(NewConverter
*cnvData
);
49 /** is this byte sequence valid? */
51 (*U_CALLCONV_FPTR isValid
)(NewConverter
*cnvData
,
52 const uint8_t *bytes
, int32_t length
);
55 (*U_CALLCONV_FPTR addTable
)(NewConverter
*cnvData
, UCMTable
*table
, UConverterStaticData
*staticData
);
58 (*U_CALLCONV_FPTR write
)(NewConverter
*cnvData
, const UConverterStaticData
*staticData
,
59 UNewDataMemory
*pData
, int32_t tableType
);
62 #endif /* __MAKECONV_H__ */