diff options
author | Steve Holme <steve_holme@hotmail.com> | 2020-02-07 15:09:41 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2020-02-26 11:01:47 +0000 |
commit | 9352a40779e44d06b3825ea0b5ce1283a0a79835 (patch) | |
tree | 2ebb26f962e4b63e0cfc1c56e4aa7f9e2055d581 /lib/url.h | |
parent | 4c140a56283703161e5f26ae022bad694a481603 (diff) | |
download | curl-9352a40779e44d06b3825ea0b5ce1283a0a79835.tar.gz |
url: Make the IDN conversion functions available to others
Diffstat (limited to 'lib/url.h')
-rw-r--r-- | lib/url.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 */ |