summaryrefslogtreecommitdiff
path: root/lib/url.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2020-02-07 15:09:41 +0000
committerSteve Holme <steve_holme@hotmail.com>2020-02-26 11:01:47 +0000
commit9352a40779e44d06b3825ea0b5ce1283a0a79835 (patch)
tree2ebb26f962e4b63e0cfc1c56e4aa7f9e2055d581 /lib/url.h
parent4c140a56283703161e5f26ae022bad694a481603 (diff)
downloadcurl-9352a40779e44d06b3825ea0b5ce1283a0a79835.tar.gz
url: Make the IDN conversion functions available to others
Diffstat (limited to 'lib/url.h')
-rw-r--r--lib/url.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/url.h b/lib/url.h
index 053fbdffc..5000c512a 100644
--- a/lib/url.h
+++ b/lib/url.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -62,6 +62,11 @@ CURLcode Curl_parse_login_details(const char *login, const size_t len,
const struct Curl_handler *Curl_builtin_scheme(const char *scheme);
+bool Curl_is_ASCII_name(const char *hostname);
+CURLcode Curl_idnconvert_hostname(struct connectdata *conn,
+ struct hostname *host);
+void Curl_free_idnconverted_hostname(struct hostname *host);
+
#define CURL_DEFAULT_PROXY_PORT 1080 /* default proxy port unless specified */
#define CURL_DEFAULT_HTTPS_PROXY_PORT 443 /* default https proxy port unless
specified */