#include "unicode/utypes.h"
#if !UCONFIG_NO_IDNA
#include "unicode/idna.h"
#include "unicode/normalizer2.h"
#include "unicode/uscript.h"
#include "unicode/ustring.h"
#include "unicode/utf16.h"
#include "cmemory.h"
#include "cstring.h"
#include "punycode.h"
#include "ubidi_props.h"
#include "ustr_imp.h"
U_NAMESPACE_BEGIN
U_NAMESPACE_USE
U_CAPI UIDNA * U_EXPORT2
uidna_openUTS46(uint32_t options, UErrorCode *pErrorCode) { … }
U_CAPI void U_EXPORT2
uidna_close(UIDNA *idna) { … }
static UBool
checkArgs(const void *label, int32_t length,
void *dest, int32_t capacity,
UIDNAInfo *pInfo, UErrorCode *pErrorCode) { … }
static void
idnaInfoToStruct(IDNAInfo &info, UIDNAInfo *pInfo) { … }
U_CAPI int32_t U_EXPORT2
uidna_labelToASCII(const UIDNA *idna,
const char16_t *label, int32_t length,
char16_t *dest, int32_t capacity,
UIDNAInfo *pInfo, UErrorCode *pErrorCode) { … }
U_CAPI int32_t U_EXPORT2
uidna_labelToUnicode(const UIDNA *idna,
const char16_t *label, int32_t length,
char16_t *dest, int32_t capacity,
UIDNAInfo *pInfo, UErrorCode *pErrorCode) { … }
U_CAPI int32_t U_EXPORT2
uidna_nameToASCII(const UIDNA *idna,
const char16_t *name, int32_t length,
char16_t *dest, int32_t capacity,
UIDNAInfo *pInfo, UErrorCode *pErrorCode) { … }
U_CAPI int32_t U_EXPORT2
uidna_nameToUnicode(const UIDNA *idna,
const char16_t *name, int32_t length,
char16_t *dest, int32_t capacity,
UIDNAInfo *pInfo, UErrorCode *pErrorCode) { … }
U_CAPI int32_t U_EXPORT2
uidna_labelToASCII_UTF8(const UIDNA *idna,
const char *label, int32_t length,
char *dest, int32_t capacity,
UIDNAInfo *pInfo, UErrorCode *pErrorCode) { … }
U_CAPI int32_t U_EXPORT2
uidna_labelToUnicodeUTF8(const UIDNA *idna,
const char *label, int32_t length,
char *dest, int32_t capacity,
UIDNAInfo *pInfo, UErrorCode *pErrorCode) { … }
U_CAPI int32_t U_EXPORT2
uidna_nameToASCII_UTF8(const UIDNA *idna,
const char *name, int32_t length,
char *dest, int32_t capacity,
UIDNAInfo *pInfo, UErrorCode *pErrorCode) { … }
U_CAPI int32_t U_EXPORT2
uidna_nameToUnicodeUTF8(const UIDNA *idna,
const char *name, int32_t length,
char *dest, int32_t capacity,
UIDNAInfo *pInfo, UErrorCode *pErrorCode) { … }
#endif