34 # if defined LIBIDN_BUILDING && defined HAVE_VISIBILITY && HAVE_VISIBILITY
35 # define IDNAPI __attribute__((__visibility__("default")))
36 # elif defined LIBIDN_BUILDING && defined _MSC_VER && ! defined LIBIDN_STATIC
37 # define IDNAPI __declspec(dllexport)
38 # elif defined _MSC_VER && ! defined LIBIDN_STATIC
39 # define IDNAPI __declspec(dllimport)
80 # ifndef IDNA_ACE_PREFIX
81 # define IDNA_ACE_PREFIX "xn--"
88 char *out,
int flags);
90 uint32_t * out,
size_t * outlen,
96 char **output,
int flags);
105 uint32_t ** output,
int flags);
108 uint32_t ** output,
int flags);
111 char **output,
int flags);
114 char **output,
int flags);
117 char **output,
int flags);
IDNAPI int idna_to_ascii_8z(const char *input, char **output, int flags)
IDNAPI int idna_to_unicode_8zlz(const char *input, char **output, int flags)
IDNAPI int idna_to_ascii_4i(const uint32_t *in, size_t inlen, char *out, int flags)
IDNAPI int idna_to_unicode_8z8z(const char *input, char **output, int flags)
IDNAPI int idna_to_unicode_8z4z(const char *input, uint32_t **output, int flags)
IDNAPI int idna_to_unicode_4z4z(const uint32_t *input, uint32_t **output, int flags)
IDNAPI int idna_to_unicode_lzlz(const char *input, char **output, int flags)
IDNAPI int idna_to_ascii_lz(const char *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 const char * idna_strerror(Idna_rc rc)
IDNAPI int idna_to_ascii_4z(const uint32_t *input, char **output, int flags)