Lines Matching refs:curl_handle
535 CURL *curl_handle = NULL;
557 curl_handle = curl_easy_init();
558 escl_curl_url(curl_handle, device, scanner_capabilities);
559 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, memory_callback_c);
560 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)var);
561 curl_easy_setopt(curl_handle, CURLOPT_HEADERFUNCTION, header_callback);
562 curl_easy_setopt(curl_handle, CURLOPT_HEADERDATA, (void *)header);
563 curl_easy_setopt(curl_handle, CURLOPT_FOLLOWLOCATION, 1L);
564 curl_easy_setopt(curl_handle, CURLOPT_MAXREDIRS, 3L);
565 CURLcode res = curl_easy_perform(curl_handle);
622 curl_easy_cleanup(curl_handle);