mirror of
https://github.com/curl/curl.git
synced 2026-07-31 05:28:03 +03:00
idn: replace header guards with forward declaration
Follow-up to bc40e09f63 #21472
Closes #21551
This commit is contained in:
parent
e0e56e9ae4
commit
e8ce697973
1 changed files with 1 additions and 4 deletions
|
|
@ -25,19 +25,16 @@
|
|||
***************************************************************************/
|
||||
|
||||
struct Curl_str;
|
||||
struct hostname;
|
||||
|
||||
bool Curl_is_ASCII_name(const char *hostname);
|
||||
bool Curl_is_ASCII_str(struct Curl_str *s);
|
||||
|
||||
#ifdef HEADER_CURL_URLDATA_H /* HACK */
|
||||
CURLcode Curl_idnconvert_hostname(struct hostname *host);
|
||||
#endif
|
||||
|
||||
#if defined(USE_LIBIDN2) || defined(USE_WIN32_IDN) || defined(USE_APPLE_IDN)
|
||||
#define USE_IDN
|
||||
#ifdef HEADER_CURL_URLDATA_H /* HACK */
|
||||
void Curl_free_idnconverted_hostname(struct hostname *host);
|
||||
#endif
|
||||
CURLcode Curl_idn_decode(const char *input, char **output);
|
||||
CURLcode Curl_idn_encode(const char *puny, char **output);
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue