Home
last modified time | relevance | path

Searched refs:curl_url_get (Results 1 – 25 of 37) sorted by relevance

12

/curl/docs/examples/
H A Dparseurl.c52 uc = curl_url_get(h, CURLUPART_HOST, &host, 0); in main()
59 uc = curl_url_get(h, CURLUPART_PATH, &path, 0); in main()
71 uc = curl_url_get(h, CURLUPART_PATH, &path, 0); in main()
/curl/src/
H A Dtool_ipfs.c159 getResult = curl_url_get(uh, CURLUPART_HOST, &cid, CURLU_URLDECODE); in ipfs_url_rewrite()
202 if(curl_url_get(gatewayurl, CURLUPART_QUERY, &gwquery, 0) in ipfs_url_rewrite()
209 if(curl_url_get(gatewayurl, CURLUPART_HOST, in ipfs_url_rewrite()
214 if(curl_url_get(gatewayurl, CURLUPART_SCHEME, in ipfs_url_rewrite()
219 curl_url_get(gatewayurl, CURLUPART_PORT, &gwport, CURLU_URLDECODE); in ipfs_url_rewrite()
220 curl_url_get(gatewayurl, CURLUPART_PATH, &gwpath, CURLU_URLDECODE); in ipfs_url_rewrite()
223 curl_url_get(uh, CURLUPART_PATH, &inputpath, CURLU_URLDECODE); in ipfs_url_rewrite()
252 if(curl_url_get(uh, CURLUPART_URL, &cloneurl, CURLU_URLENCODE)) { in ipfs_url_rewrite()
H A Dtool_operhlp.c105 uerr = curl_url_get(uh, CURLUPART_PATH, &path, 0); in add_file_name_to_url()
110 uerr = curl_url_get(uh, CURLUPART_QUERY, &query, 0); in add_file_name_to_url()
157 uerr = curl_url_get(uh, CURLUPART_URL, &newurl, CURLU_DEFAULT_SCHEME); in add_file_name_to_url()
195 uerr = curl_url_get(uh, CURLUPART_PATH, &path, 0); in get_url_file_name()
H A Dtool_xattr.c70 uc = curl_url_get(u, CURLUPART_URL, &nurl, 0); in stripcredentials()
H A Dtool_cb_hdr.c480 if(curl_url_get(u, CURLUPART_URL, &finalurl, CURLU_NO_DEFAULT_PORT)) in write_linked_location()
483 if(curl_url_get(u, CURLUPART_SCHEME, &scheme, 0)) in write_linked_location()
/curl/docs/libcurl/
H A Dlibcurl-url.md12 - curl_url_get (3)
78 curl_url_get(3):
81 rc = curl_url_get(h, CURLUPART_URL, &url, 0);
92 rc = curl_url_get(h, CURLUPART_FRAGMENT, &fragment, 0);
93 rc = curl_url_get(h, CURLUPART_HOST, &host, 0);
95 rc = curl_url_get(h, CURLUPART_PATH, &path, 0);
96 rc = curl_url_get(h, CURLUPART_PORT, &port, 0);
97 rc = curl_url_get(h, CURLUPART_QUERY, &query, 0);
98 rc = curl_url_get(h, CURLUPART_SCHEME, &scheme, 0);
99 rc = curl_url_get(h, CURLUPART_USER, &user, 0);
[all …]
H A Dcurl_url_get.md4 Title: curl_url_get
21 curl_url_get - extract a part from a URL
28 CURLUcode curl_url_get(const CURLU *url,
53 If the handle has no port stored, this option makes curl_url_get(3)
58 If the handle has no scheme stored, this option makes curl_url_get(3)
63 Instructs curl_url_get(3) to not return a port number if it matches the
68 Asks curl_url_get(3) to URL decode the contents before returning it. It
98 curl_url_get(3) return *CURLUE_LACKS_IDN* if the hostname contains
112 curl_url_get(3) return *CURLUE_LACKS_IDN* if the hostname is using
136 result of a guess makes curl_url_get() return CURLUE_NO_SCHEME.
[all …]
H A Dcurl_url.md11 - curl_url_get (3)
53 rc = curl_url_get(url, CURLUPART_SCHEME, &scheme, 0);
H A Dcurl_url_cleanup.md11 - curl_url_get (3)
H A Dcurl_url_strerror.md11 - curl_url_get (3)
H A DMakefile.inc105 curl_url_get.3 \
H A Dcurl_url_dup.md11 - curl_url_get (3)
H A Dcurl_easy_escape.md10 - curl_url_get (3)
61 the final correct URL with curl_url_get(3).
H A Dcurl_easy_unescape.md9 - curl_url_get (3)
/curl/tests/libtest/
H A Dlib1560.c73 rc = curl_url_get(u, parts[i].part, &p, getflags); in checkparts()
1541 rc = curl_url_get(u, CURLUPART_HOST, &url, 0); in scopeid()
1558 rc = curl_url_get(u, CURLUPART_URL, &url, 0); in scopeid()
1575 rc = curl_url_get(u, CURLUPART_URL, &url, 0); in scopeid()
1593 rc = curl_url_get(u, CURLUPART_URL, &url, 0); in scopeid()
1603 rc = curl_url_get(u, CURLUPART_HOST, &url, 0); in scopeid()
1630 rc = curl_url_get(u, CURLUPART_URL, &url, 0); in scopeid()
1656 rc = curl_url_get(u, CURLUPART_HOST, &p, 0); in get_nothing()
1660 rc = curl_url_get(u, CURLUPART_USER, &p, 0); in get_nothing()
1672 rc = curl_url_get(u, CURLUPART_PATH, &p, 0); in get_nothing()
[all …]
H A Dlib1906.c60 curl_url_get(curlu, CURLUPART_URL, &url_after, 0); in test()
75 curl_url_get(curlu, CURLUPART_URL, &url_after, 0); in test()
/curl/tests/unit/
H A Dunit1653.c75 ret = curl_url_get(u, CURLUPART_PORT, &portnum, CURLU_NO_DEFAULT_PORT);
100 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0);
117 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0);
145 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0);
197 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0);
/curl/lib/
H A Dlibcurl.def88 curl_url_get
H A Durl.c1681 CURLUcode uc = curl_url_get(uh, CURLUPART_ZONEID, &zoneid, 0);
1776 uc = curl_url_get(uh, CURLUPART_URL, &newurl, 0);
1839 uc = curl_url_get(uh, CURLUPART_URL, &url, 0);
1886 uc = curl_url_get(uh, CURLUPART_USER, &data->state.up.user, 0);
1904 uc = curl_url_get(uh, CURLUPART_OPTIONS, &data->state.up.options,
1914 uc = curl_url_get(uh, CURLUPART_PATH, &data->state.up.path,
1919 uc = curl_url_get(uh, CURLUPART_PORT, &data->state.up.port,
2168 uc = curl_url_get(uhp, CURLUPART_SCHEME, &scheme, 0);
2255 (void)curl_url_get(uhp, CURLUPART_PORT, &portptr, 0);
2281 uc = curl_url_get(uhp, CURLUPART_HOST, &host, CURLU_URLDECODE);
[all …]
/curl/include/curl/
H A Durlapi.h133 CURL_EXTERN CURLUcode curl_url_get(const CURLU *handle, CURLUPart what,
/curl/tests/http/clients/
H A Dupload-pausing.c254 if(curl_url_get(cu, CURLUPART_HOST, &host, 0)) { in main()
258 if(curl_url_get(cu, CURLUPART_PORT, &port, 0)) { in main()
H A Dtls-session-reuse.c213 if(curl_url_get(cu, CURLUPART_HOST, &host, 0)) { in main()
217 if(curl_url_get(cu, CURLUPART_PORT, &port, 0)) { in main()
H A Dh2-pausing.c263 if(curl_url_get(cu, CURLUPART_HOST, &host, 0)) { in main()
267 if(curl_url_get(cu, CURLUPART_PORT, &port, 0)) { in main()
/curl/tests/data/
H A Dtest1135119 curl_url_get
/curl/docs/libcurl/opts/
H A DCURLOPT_CURLU.md12 - curl_url_get (3)

Completed in 37 milliseconds

12