Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
29 CURL *curl;
38 if ((curl = curl_easy_init()) == NULL) {
47 test_setopt(curl, CURLOPT_URL, URL);
48 test_setopt(curl, CURLOPT_VERBOSE, 1L);
49 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD);
51 res = curl_easy_perform(curl);
63 curl_easy_cleanup(curl);
72 curl_easy_cleanup(curl);
77 test_setopt(curl, CURLOPT_URL, newURL);
78 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD);
79 test_setopt(curl, CURLOPT_QUOTE, slist);
81 res = curl_easy_perform(curl);
88 curl_easy_cleanup(curl);