45 # if defined LIBIDN_BUILDING && defined HAVE_VISIBILITY && HAVE_VISIBILITY
46 # define IDNAPI __attribute__((__visibility__("default")))
47 # elif defined LIBIDN_BUILDING && defined _MSC_VER && ! defined LIBIDN_STATIC
48 # define IDNAPI __declspec(dllexport)
49 # elif defined _MSC_VER && ! defined LIBIDN_STATIC
50 # define IDNAPI __declspec(dllimport)
120 extern IDNAPI int tld_get_4 (
const uint32_t * in,
size_t inlen,
char **out);
const Tld_table_element * valid
IDNAPI const char * tld_strerror(Tld_rc rc)
IDNAPI int tld_check_4t(const uint32_t *in, size_t inlen, size_t *errpos, const Tld_table *tld)
IDNAPI int tld_check_4(const uint32_t *in, size_t inlen, size_t *errpos, const Tld_table **overrides)
IDNAPI int tld_check_4z(const uint32_t *in, size_t *errpos, const Tld_table **overrides)
IDNAPI int tld_check_4tz(const uint32_t *in, size_t *errpos, const Tld_table *tld)
IDNAPI int tld_check_8z(const char *in, size_t *errpos, const Tld_table **overrides)
IDNAPI int tld_check_lz(const char *in, size_t *errpos, const Tld_table **overrides)
IDNAPI int tld_get_z(const char *in, char **out)
IDNAPI const Tld_table * tld_get_table(const char *tld, const Tld_table **tables)
IDNAPI int tld_get_4(const uint32_t *in, size_t inlen, char **out)
IDNAPI const Tld_table * tld_default_table(const char *tld, const Tld_table **overrides)
IDNAPI int tld_get_4z(const uint32_t *in, char **out)