Home
last modified time | relevance | path

Searched refs:uh (Results 1 – 12 of 12) sorted by relevance

/curl/src/
H A Dtool_operhlp.c94 CURLU *uh = curl_url(); in add_file_name_to_url() local
97 if(uh) { in add_file_name_to_url()
99 uerr = curl_url_set(uh, CURLUPART_URL, *inurlp, in add_file_name_to_url()
105 uerr = curl_url_get(uh, CURLUPART_PATH, &path, 0); in add_file_name_to_url()
114 curl_url_cleanup(uh); in add_file_name_to_url()
172 curl_url_cleanup(uh); in add_file_name_to_url()
184 CURLU *uh = curl_url(); in get_url_file_name() local
188 if(!uh) in get_url_file_name()
196 curl_url_cleanup(uh); in get_url_file_name()
197 uh = NULL; in get_url_file_name()
[all …]
H A Dtool_ipfs.c137 CURLcode ipfs_url_rewrite(CURLU *uh, const char *protocol, char **url, in ipfs_url_rewrite() argument
159 getResult = curl_url_get(uh, CURLUPART_HOST, &cid, CURLU_URLDECODE); in ipfs_url_rewrite()
223 curl_url_get(uh, CURLUPART_PATH, &inputpath, CURLU_URLDECODE); in ipfs_url_rewrite()
227 if(curl_url_set(uh, CURLUPART_SCHEME, gwscheme, CURLU_URLENCODE) || in ipfs_url_rewrite()
228 curl_url_set(uh, CURLUPART_HOST, gwhost, CURLU_URLENCODE) || in ipfs_url_rewrite()
229 curl_url_set(uh, CURLUPART_PORT, gwport, CURLU_URLENCODE)) in ipfs_url_rewrite()
245 if(curl_url_set(uh, CURLUPART_PATH, pathbuffer, CURLU_URLENCODE)) { in ipfs_url_rewrite()
252 if(curl_url_get(uh, CURLUPART_URL, &cloneurl, CURLU_URLENCODE)) { in ipfs_url_rewrite()
H A Dtool_ipfs.h31 CURLcode ipfs_url_rewrite(CURLU *uh, const char *protocol, char **url,
H A Dtool_writeout.c195 CURLU *uh = curl_url(); in urlpart() local
197 if(uh) { in urlpart()
257 if(!rc && curl_url_set(uh, CURLUPART_URL, url, in urlpart()
261 if(!rc && curl_url_get(uh, cpart, &part, CURLU_DEFAULT_PORT)) in urlpart()
266 curl_url_cleanup(uh); in urlpart()
H A Dtool_operate.c786 CURLU *uh = curl_url(); in url_proto_and_rewrite() local
791 if(uh) { in url_proto_and_rewrite()
793 if(!curl_url_set(uh, CURLUPART_URL, *url, in url_proto_and_rewrite()
795 !curl_url_get(uh, CURLUPART_SCHEME, &schemep, in url_proto_and_rewrite()
802 result = ipfs_url_rewrite(uh, schemep, url, config); in url_proto_and_rewrite()
817 curl_url_cleanup(uh); in url_proto_and_rewrite()
1773 CURLU *uh = curl_url(); in append2query() local
1774 if(uh) { in append2query()
1776 uerr = curl_url_set(uh, CURLUPART_URL, per->url, in append2query()
1788 uerr = curl_url_get(uh, CURLUPART_URL, &updated, in append2query()
[all …]
/curl/lib/
H A Durl.c216 curl_url_cleanup(data->state.uh); in up_free()
217 data->state.uh = NULL; in up_free()
1732 CURLU *uh; local
1741 uh = data->state.uh = curl_url_dup(data->set.uh);
1744 uh = data->state.uh = curl_url();
1747 if(!uh)
1776 uc = curl_url_get(uh, CURLUPART_URL, &newurl, 0);
1810 zonefrom_url(uh, data, conn);
1833 uc = curl_url_set(uh, CURLUPART_SCHEME, "https", 0);
1839 uc = curl_url_get(uh, CURLUPART_URL, &url, 0);
[all …]
H A Dtransfer.c543 if(!data->state.url && !data->set.uh) { in Curl_pretransfer()
556 if(!data->state.url && data->set.uh) { in Curl_pretransfer()
559 uc = curl_url_get(data->set.uh, in Curl_pretransfer()
H A Durldata.h1287 CURLU *uh; /* URL handle for the current parsed URL */ member
1749 CURLU *uh; /* URL handle for the current parsed URL */ member
H A Dmulti.c1915 DEBUGASSERT(data->state.uh);
1916 uc = curl_url_set(data->state.uh, CURLUPART_URL, newurl, (unsigned int)
1935 uc = curl_url_get(data->state.uh, CURLUPART_URL, &newurl, 0);
1950 uc = curl_url_get(data->state.uh, CURLUPART_PORT, &portnum,
1967 uc = curl_url_get(data->state.uh, CURLUPART_SCHEME, &scheme, 0);
H A Dimap.c2068 (void)curl_url_get(data->state.uh, CURLUPART_QUERY, &imap->query, in imap_parse_url_path()
H A Dsetopt.c2202 data->set.uh = (CURLU *)ptr; in setopt_cptr()
H A Dhttp.c1800 CURLU *h = curl_url_dup(data->state.uh); in Curl_http_target()

Completed in 74 milliseconds