Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
39 CURL *curl;
89 /* get a curl handle */
90 if ((curl = curl_easy_init()) == NULL) {
101 curl_easy_cleanup(curl);
109 curl_easy_cleanup(curl);
117 test_setopt(curl, CURLOPT_UPLOAD, 1L);
120 test_setopt(curl, CURLOPT_VERBOSE, 1L);
123 test_setopt(curl,CURLOPT_URL, URL);
126 test_setopt(curl, CURLOPT_POSTQUOTE, headerlist);
129 test_setopt(curl, CURLOPT_INFILE, hd_src);
132 test_setopt(curl, CURLOPT_INFILESIZE_LARGE,
136 res = curl_easy_perform(curl);
146 curl_easy_cleanup(curl);