Lines Matching defs:pCurl

54     CURL *pCurl;
249 CURLcode code = curl_easy_perform(pS3Int->pCurl);
252 curl_easy_getinfo(pS3Int->pCurl, CURLINFO_RESPONSE_CODE, &pS3Int->lLastResp);
342 pS3Int->pCurl)
345 curl_easy_reset(pS3Int->pCurl);
347 curl_easy_setopt(pS3Int->pCurl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
350 curl_easy_setopt(pS3Int->pCurl, CURLOPT_USERAGENT, pS3Int->pszUserAgent);
355 curl_easy_setopt(pS3Int->pCurl, CURLOPT_NOPROGRESS, 0);
357 curl_easy_setopt(pS3Int->pCurl, CURLOPT_PROGRESSFUNCTION, rtS3ProgressCallback);
358 curl_easy_setopt(pS3Int->pCurl, CURLOPT_PROGRESSDATA, pS3Int);
362 curl_easy_setopt(pS3Int->pCurl, CURLOPT_WRITEFUNCTION, rtS3WriteNothingCallback);
364 // curl_easy_setopt(pS3Int->pCurl, CURLOPT_VERBOSE, 1);
516 CURL* pCurl = curl_easy_init();
517 if (!pCurl)
525 pS3Int->pCurl = pCurl;
545 curl_easy_cleanup(pS3Int->pCurl);
580 curl_easy_setopt(pS3Int->pCurl, CURLOPT_URL, pS3Int->pszBaseUrl);
598 curl_easy_setopt(pS3Int->pCurl, CURLOPT_HTTPHEADER, pHeaders);
602 curl_easy_setopt(pS3Int->pCurl, CURLOPT_WRITEFUNCTION, rtS3WriteMemoryCallback);
603 curl_easy_setopt(pS3Int->pCurl, CURLOPT_WRITEDATA, (void *)&chunk);
658 curl_easy_setopt(pS3Int->pCurl, CURLOPT_URL, pszUrl);
678 curl_easy_setopt(pS3Int->pCurl, CURLOPT_HTTPHEADER, pHeaders);
681 curl_easy_setopt(pS3Int->pCurl, CURLOPT_PUT, 1);
682 curl_easy_setopt(pS3Int->pCurl, CURLOPT_UPLOAD, 1);
685 curl_easy_setopt(pS3Int->pCurl, CURLOPT_INFILESIZE_LARGE, 0);
713 curl_easy_setopt(pS3Int->pCurl, CURLOPT_URL, pszUrl);
732 curl_easy_setopt(pS3Int->pCurl, CURLOPT_HTTPHEADER, pHeaders);
735 curl_easy_setopt(pS3Int->pCurl, CURLOPT_CUSTOMREQUEST, "DELETE");
765 curl_easy_setopt(pS3Int->pCurl, CURLOPT_URL, pszUrl);
784 curl_easy_setopt(pS3Int->pCurl, CURLOPT_HTTPHEADER, pHeaders);
788 curl_easy_setopt(pS3Int->pCurl, CURLOPT_WRITEFUNCTION, rtS3WriteMemoryCallback);
789 curl_easy_setopt(pS3Int->pCurl, CURLOPT_WRITEDATA, (void *)&chunk);
845 curl_easy_setopt(pS3Int->pCurl, CURLOPT_URL, pszUrl);
864 curl_easy_setopt(pS3Int->pCurl, CURLOPT_HTTPHEADER, pHeaders);
867 curl_easy_setopt(pS3Int->pCurl, CURLOPT_CUSTOMREQUEST, "DELETE");
895 curl_easy_setopt(pS3Int->pCurl, CURLOPT_URL, pszUrl);
914 curl_easy_setopt(pS3Int->pCurl, CURLOPT_HTTPHEADER, pHeaders);
917 curl_easy_setopt(pS3Int->pCurl, CURLOPT_WRITEFUNCTION, rtS3WriteFileCallback);
918 curl_easy_setopt(pS3Int->pCurl, CURLOPT_WRITEDATA, &hFile);
961 curl_easy_setopt(pS3Int->pCurl, CURLOPT_URL, pszUrl);
987 curl_easy_setopt(pS3Int->pCurl, CURLOPT_HTTPHEADER, pHeaders);
990 curl_easy_setopt(pS3Int->pCurl, CURLOPT_PUT, 1);
991 curl_easy_setopt(pS3Int->pCurl, CURLOPT_UPLOAD, 1);
994 curl_easy_setopt(pS3Int->pCurl, CURLOPT_INFILESIZE_LARGE, cbFileSize);
997 curl_easy_setopt(pS3Int->pCurl, CURLOPT_READFUNCTION, rtS3ReadFileCallback);
998 curl_easy_setopt(pS3Int->pCurl, CURLOPT_READDATA, &hFile);
999 curl_easy_setopt(pS3Int->pCurl, CURLOPT_SSLVERSION, (long)CURL_SSLVERSION_TLSv1);