Lines Matching refs:easy
147 CURL *easy;
150 easy = curl_easy_init();
151 if(!easy) {
155 curl_easy_setopt(easy, CURLOPT_VERBOSE, 1L);
156 curl_easy_setopt(easy, CURLOPT_DEBUGFUNCTION, debug_cb);
157 curl_easy_setopt(easy, CURLOPT_URL, url);
158 curl_easy_setopt(easy, CURLOPT_SHARE, share);
159 curl_easy_setopt(easy, CURLOPT_NOSIGNAL, 1L);
160 curl_easy_setopt(easy, CURLOPT_AUTOREFERER, 1L);
161 curl_easy_setopt(easy, CURLOPT_FAILONERROR, 1L);
162 curl_easy_setopt(easy, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
163 curl_easy_setopt(easy, CURLOPT_WRITEFUNCTION, write_cb);
164 curl_easy_setopt(easy, CURLOPT_WRITEDATA, NULL);
165 curl_easy_setopt(easy, CURLOPT_HTTPGET, 1L);
166 curl_easy_setopt(easy, CURLOPT_SSL_VERIFYPEER, 0L);
168 curl_easy_setopt(easy, CURLOPT_RESOLVE, resolve);
171 mc = curl_multi_add_handle(multi, easy);