52 # if defined LIBIDN_BUILDING && defined HAVE_VISIBILITY && HAVE_VISIBILITY
53 # define IDNAPI __attribute__((__visibility__("default")))
54 # elif defined LIBIDN_BUILDING && defined _MSC_VER && ! defined LIBIDN_STATIC
55 # define IDNAPI __declspec(dllexport)
56 # elif defined _MSC_VER && ! defined LIBIDN_STATIC
57 # define IDNAPI __declspec(dllimport)
98 # ifndef IDNA_ACE_PREFIX
99 # define IDNA_ACE_PREFIX "xn--"
106 char *out,
int flags);
108 uint32_t * out,
size_t *outlen,
114 char **output,
int flags);
123 uint32_t ** output,
int flags);
126 uint32_t ** output,
int flags);
129 char **output,
int flags);
132 char **output,
int flags);
135 char **output,
int flags);
IDNAPI int idna_to_ascii_4i(const uint32_t *in, size_t inlen, char *out, int flags)
@ IDNA_ROUNDTRIP_VERIFY_ERROR
@ IDNA_CONTAINS_ACE_PREFIX
IDNAPI int idna_to_unicode_8z4z(const char *input, uint32_t **output, int flags)
IDNAPI int idna_to_unicode_8zlz(const char *input, char **output, int flags)
IDNAPI int idna_to_ascii_4z(const uint32_t *input, char **output, int flags)
IDNAPI int idna_to_unicode_44i(const uint32_t *in, size_t inlen, uint32_t *out, size_t *outlen, int flags)
IDNAPI int idna_to_unicode_4z4z(const uint32_t *input, uint32_t **output, int flags)
IDNAPI int idna_to_unicode_8z8z(const char *input, char **output, int flags)
IDNAPI int idna_to_ascii_lz(const char *input, char **output, int flags)
@ IDNA_USE_STD3_ASCII_RULES
IDNAPI int idna_to_ascii_8z(const char *input, char **output, int flags)
IDNAPI const char * idna_strerror(Idna_rc rc)
IDNAPI int idna_to_unicode_lzlz(const char *input, char **output, int flags)