19 #ifndef __ICU_UCNV_SEL_H__
20 #define __ICU_UCNV_SEL_H__
43 struct UConverterSelector;
44 typedef struct UConverterSelector UConverterSelector;
71 const USet* excludedCodePoints,
U_CAPI UEnumeration * ucnvsel_selectForString(const UConverterSelector *sel, const UChar *s, int32_t length, UErrorCode *status)
Select converters that can map all characters in a UTF-16 string, ignoring the excluded code points...
#define U_CAPI
This is used to declare a function as a public ICU C API.
U_CAPI void ucnvsel_close(UConverterSelector *sel)
Closes a selector.
struct UEnumeration UEnumeration
structure representing an enumeration object instance
U_CAPI UEnumeration * ucnvsel_selectForUTF8(const UConverterSelector *sel, const char *s, int32_t length, UErrorCode *status)
Select converters that can map all characters in a UTF-8 string, ignoring the excluded code points...
UConverterUnicodeSet
Selectors for Unicode sets that can be returned by ucnv_getUnicodeSet().
U_CAPI UConverterSelector * ucnvsel_open(const char *const *converterList, int32_t converterListSize, const USet *excludedCodePoints, const UConverterUnicodeSet whichSet, UErrorCode *status)
Open a selector.
C API: 16-bit Unicode handling macros.
uint16_t UChar
Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
C API: String Enumeration.
Basic definitions for ICU, for both C and C++ APIs.
U_CAPI int32_t ucnvsel_serialize(const UConverterSelector *sel, void *buffer, int32_t bufferCapacity, UErrorCode *status)
Serialize a selector into a linear buffer.
U_CAPI UConverterSelector * ucnvsel_openFromSerialized(const void *buffer, int32_t length, UErrorCode *status)
Open a selector from its serialized form.
C API: Character conversion.
signed int int32_t
Define 64 bit limits.