Lines Matching refs:curl_handle
42 CURL *curl_handle;
51 curl_handle = curl_easy_init();
54 curl_easy_setopt(curl_handle, CURLOPT_URL, "https://example.com");
57 curl_easy_setopt(curl_handle, CURLOPT_NOPROGRESS, 1L);
60 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, write_data);
65 curl_easy_cleanup(curl_handle);
72 curl_easy_cleanup(curl_handle);
78 curl_easy_setopt(curl_handle, CURLOPT_HEADERDATA, headerfile);
81 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, bodyfile);
84 curl_easy_perform(curl_handle);
93 curl_easy_cleanup(curl_handle);