summaryrefslogtreecommitdiff
path: root/lib/url.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-10-22 00:09:49 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-10-23 11:43:41 +0200
commit6535b9303df83eb3f1e95fded0d778e51d9aa50c (patch)
tree694870098d0db8871e0246117003d1bcc1ee3b7a /lib/url.h
parentca10fae6fc0131476b79b293e8d7087455c04ead (diff)
downloadcurl-6535b9303df83eb3f1e95fded0d778e51d9aa50c.tar.gz
Curl_follow: return better errors on URL problems
... by making the converter function global and accessible. Closes #3153
Diffstat (limited to 'lib/url.h')
-rw-r--r--lib/url.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/url.h b/lib/url.h
index 1c18f7137..095d63833 100644
--- a/lib/url.h
+++ b/lib/url.h
@@ -50,6 +50,7 @@ CURLcode Curl_init_userdefined(struct Curl_easy *data);
void Curl_freeset(struct Curl_easy * data);
/* free the URL pieces */
void Curl_up_free(struct Curl_easy *data);
+CURLcode Curl_uc_to_curlcode(CURLUcode uc);
CURLcode Curl_close(struct Curl_easy *data); /* opposite of curl_open() */
CURLcode Curl_connect(struct Curl_easy *, struct connectdata **,
bool *async, bool *protocol_connect);