Home
last modified time | relevance | path

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

/curl/tests/libtest/
H A Dlib659.c38 CURLU *urlp = NULL; in test() local
43 urlp = curl_url(); in test()
45 if(!urlp) { in test()
51 if(curl_url_set(urlp, CURLUPART_HOST, "www.example.com", 0) || in test()
52 curl_url_set(urlp, CURLUPART_SCHEME, "http", 0) || in test()
53 curl_url_set(urlp, CURLUPART_PORT, "80", 0)) { in test()
58 easy_setopt(handle, CURLOPT_CURLU, urlp); in test()
72 curl_url_cleanup(urlp); in test()
H A Dlib658.c38 CURLU *urlp = NULL; in test() local
44 urlp = curl_url(); in test()
46 if(!urlp) { in test()
51 uc = curl_url_set(urlp, CURLUPART_URL, URL, 0); in test()
61 easy_setopt(handle, CURLOPT_CURLU, urlp); in test()
74 curl_url_cleanup(urlp); in test()
H A Dlib674.c39 CURLU *urlp = NULL; in test() local
45 urlp = curl_url(); in test()
47 if(!urlp) { in test()
52 uc = curl_url_set(urlp, CURLUPART_URL, URL, 0); in test()
62 easy_setopt(handle, CURLOPT_CURLU, urlp); in test()
79 curl_url_cleanup(urlp); in test()
H A Dlib1560.c1249 if(!urlp) in set_url()
1283 curl_url_cleanup(urlp); in set_url()
1300 if(!urlp) { in setget_parts()
1331 curl_url_cleanup(urlp); in setget_parts()
1344 if(!urlp) { in set_parts()
1383 curl_url_cleanup(urlp); in set_parts()
1395 if(!urlp) { in get_url()
1435 if(!urlp) { in get_parts()
1483 if(!urlp) { in append()
1766 if(!urlp) in huge()
[all …]
/curl/docs/examples/
H A Durlapi.c40 CURLU *urlp; in main() local
47 urlp = curl_url(); in main()
48 uc = curl_url_set(urlp, CURLUPART_URL, in main()
58 curl_easy_setopt(curl, CURLOPT_CURLU, urlp); in main()
74 curl_url_cleanup(urlp); in main()
/curl/docs/libcurl/
H A Dlibcurl-url.md115 rc = curl_url_set(urlp, CURLUPART_FRAGMENT, "anchor", 0);
116 rc = curl_url_set(urlp, CURLUPART_HOST, "www.example.com", 0);
117 rc = curl_url_set(urlp, CURLUPART_PASSWORD, "doe", 0);
118 rc = curl_url_set(urlp, CURLUPART_PATH, "/index.html", 0);
119 rc = curl_url_set(urlp, CURLUPART_PORT, "443", 0);
120 rc = curl_url_set(urlp, CURLUPART_QUERY, "name=john", 0);
121 rc = curl_url_set(urlp, CURLUPART_SCHEME, "https", 0);
122 rc = curl_url_set(urlp, CURLUPART_USER, "john", 0);
123 rc = curl_url_set(urlp, CURLUPART_ZONEID, "eth0", 0);
138 rc = curl_url_set(urlp, CURLUPART_QUERY, "hat=1", CURLU_APPENDQUERY);
[all …]
/curl/docs/libcurl/opts/
H A DCURLOPT_CURLU.md58 CURLU *urlp = curl_url();
62 ret = curl_url_set(urlp, CURLUPART_URL, "https://example.com", 0);
64 curl_easy_setopt(curl, CURLOPT_CURLU, urlp);
68 curl_url_cleanup(urlp);
H A DCURLINFO_EFFECTIVE_URL.md25 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_EFFECTIVE_URL, char **urlp);
35 The **urlp** pointer is NULL or points to private memory. You MUST NOT free
H A DCURLINFO_REDIRECT_URL.md27 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REDIRECT_URL, char **urlp);

Completed in 22 milliseconds