mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
urlapi: CURLU_PUNY2IDN - convert from punycode to IDN name
Asssisted-by: Jay Satiro Closes #11655
This commit is contained in:
parent
0efe8b215c
commit
c350069f64
7 changed files with 93 additions and 1 deletions
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#ifdef USE_WIN32_IDN
|
||||
bool Curl_win32_idn_to_ascii(const char *in, char **out);
|
||||
char *Curl_win32_ascii_to_idn(const char *in);
|
||||
#endif /* USE_WIN32_IDN */
|
||||
bool Curl_is_ASCII_name(const char *hostname);
|
||||
CURLcode Curl_idnconvert_hostname(struct hostname *host);
|
||||
|
|
@ -33,6 +34,7 @@ CURLcode Curl_idnconvert_hostname(struct hostname *host);
|
|||
#define USE_IDN
|
||||
void Curl_free_idnconverted_hostname(struct hostname *host);
|
||||
char *Curl_idn_decode(const char *input);
|
||||
char *Curl_idn_encode(const char *input);
|
||||
#ifdef USE_LIBIDN2
|
||||
#define Curl_idn_free(x) idn2_free(x)
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue