Home
last modified time | relevance | path

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

/curl/src/
H A Dtool_ipfs.c152 CURLU *gatewayurl = curl_url(); in ipfs_url_rewrite() local
154 if(!gatewayurl) { in ipfs_url_rewrite()
173 if(!curl_url_set(gatewayurl, CURLUPART_URL, config->ipfs_gateway, in ipfs_url_rewrite()
195 if(curl_url_set(gatewayurl, CURLUPART_URL, gateway, 0)) { 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()
273 curl_url_cleanup(gatewayurl); in ipfs_url_rewrite()

Completed in 3 milliseconds