Lines Matching refs:pCURL
253 CURL * pCURL = curl_easy_init(); in curl_run() local
256 if( NULL != pCURL ) in curl_run()
258 out.curl = pCURL; in curl_run()
261 curl_easy_setopt(pCURL, CURLOPT_URL, aURL.getStr()); in curl_run()
264 curl_easy_setopt(pCURL, CURLOPT_FAILONERROR, 1); in curl_run()
267 curl_easy_setopt(pCURL, CURLOPT_FOLLOWLOCATION, 1); in curl_run()
270 curl_easy_setopt(pCURL, CURLOPT_WRITEDATA, &out); in curl_run()
271 curl_easy_setopt(pCURL, CURLOPT_WRITEFUNCTION, &write_function); in curl_run()
274 curl_easy_setopt(pCURL, CURLOPT_NOPROGRESS, 0); in curl_run()
275 curl_easy_setopt(pCURL, CURLOPT_PROGRESSFUNCTION, &progress_callback); in curl_run()
276 curl_easy_setopt(pCURL, CURLOPT_PROGRESSDATA, &out); in curl_run()
279 curl_easy_setopt(pCURL, CURLOPT_PROXY, aProxyHost.getStr()); in curl_run()
280 curl_easy_setopt(pCURL, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in curl_run()
282 curl_easy_setopt(pCURL, CURLOPT_PROXYPORT, nProxyPort); in curl_run()
289 curl_easy_setopt(pCURL, CURLOPT_RESUME_FROM_LARGE, offset); in curl_run()
292 CURLcode cc = curl_easy_perform(pCURL); in curl_run()
309 curl_easy_getinfo( pCURL, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &fDownloadSize ); in curl_run()
333 curl_easy_getinfo( pCURL, CURLINFO_RESPONSE_CODE, &nError ); in curl_run()
356 curl_easy_cleanup(pCURL); in curl_run()