diff options
Diffstat (limited to 'libs/libcurl/src/idn.h')
-rw-r--r-- | libs/libcurl/src/idn.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/libcurl/src/idn.h b/libs/libcurl/src/idn.h index 82b06e921c..5f5e527479 100644 --- a/libs/libcurl/src/idn.h +++ b/libs/libcurl/src/idn.h @@ -24,15 +24,13 @@ *
***************************************************************************/
-#ifdef USE_WIN32_IDN
-bool Curl_win32_idn_to_ascii(const char *in, char **out);
-#endif /* USE_WIN32_IDN */
bool Curl_is_ASCII_name(const char *hostname);
CURLcode Curl_idnconvert_hostname(struct hostname *host);
#if defined(USE_LIBIDN2) || defined(USE_WIN32_IDN)
#define USE_IDN
void Curl_free_idnconverted_hostname(struct hostname *host);
-char *Curl_idn_decode(const char *input);
+CURLcode Curl_idn_decode(const char *input, char **output);
+CURLcode Curl_idn_encode(const char *input, char **output);
#ifdef USE_LIBIDN2
#define Curl_idn_free(x) idn2_free(x)
#else
|