Lines Matching defs:curl
12 * are also available at https://curl.haxx.se/docs/copyright.html.
36 CURL *curl;
81 /* get a curl handle */
82 if((curl = curl_easy_init()) == NULL) {
90 test_setopt(curl, CURLOPT_UPLOAD, 1L);
93 test_setopt(curl, CURLOPT_VERBOSE, 1L);
96 test_setopt(curl, CURLOPT_URL, URL);
99 test_setopt(curl, CURLOPT_READDATA, hd_src);
102 res = curl_easy_perform(curl);
106 res = curl_easy_perform(curl);
113 curl_easy_cleanup(curl);