• Home
  • Raw
  • Download

Lines Matching full:curl

18               "CURL option types are expected to be multiples of 10000");
35 CURL* CurlApi::EasyInit() { in EasyInit()
39 void CurlApi::EasyCleanup(CURL* curl) { in EasyCleanup() argument
40 curl_easy_cleanup(curl); in EasyCleanup()
43 CURLcode CurlApi::EasySetOptInt(CURL* curl, CURLoption option, int value) { in EasySetOptInt() argument
46 // CURL actually uses "long" type, so have to make sure we feed it what it in EasySetOptInt()
49 return curl_easy_setopt(curl, option, static_cast<long>(value)); in EasySetOptInt()
52 CURLcode CurlApi::EasySetOptStr(CURL* curl, in EasySetOptStr() argument
57 return curl_easy_setopt(curl, option, value.c_str()); in EasySetOptStr()
60 CURLcode CurlApi::EasySetOptPtr(CURL* curl, CURLoption option, void* value) { in EasySetOptPtr() argument
63 return curl_easy_setopt(curl, option, value); in EasySetOptPtr()
66 CURLcode CurlApi::EasySetOptCallback(CURL* curl, in EasySetOptCallback() argument
71 return curl_easy_setopt(curl, option, address); in EasySetOptCallback()
74 CURLcode CurlApi::EasySetOptOffT(CURL* curl, in EasySetOptOffT() argument
79 return curl_easy_setopt(curl, option, value); in EasySetOptOffT()
82 CURLcode CurlApi::EasyPerform(CURL* curl) { in EasyPerform() argument
83 return curl_easy_perform(curl); in EasyPerform()
86 CURLcode CurlApi::EasyGetInfoInt(CURL* curl, CURLINFO info, int* value) const { in EasyGetInfoInt() argument
88 long data = 0; // NOLINT(runtime/int) - curl expects a long here. in EasyGetInfoInt()
89 CURLcode code = curl_easy_getinfo(curl, info, &data); in EasyGetInfoInt()
95 CURLcode CurlApi::EasyGetInfoDbl(CURL* curl, in EasyGetInfoDbl() argument
99 return curl_easy_getinfo(curl, info, value); in EasyGetInfoDbl()
102 CURLcode CurlApi::EasyGetInfoStr(CURL* curl, in EasyGetInfoStr() argument
107 CURLcode code = curl_easy_getinfo(curl, info, &data); in EasyGetInfoStr()
113 CURLcode CurlApi::EasyGetInfoPtr(CURL* curl, in EasyGetInfoPtr() argument
116 // CURL uses "string" type for generic pointer info. Go figure. in EasyGetInfoPtr()
118 return curl_easy_getinfo(curl, info, value); in EasyGetInfoPtr()
137 CURLMcode CurlApi::MultiAddHandle(CURLM* multi_handle, CURL* curl_handle) { in MultiAddHandle()
141 CURLMcode CurlApi::MultiRemoveHandle(CURLM* multi_handle, CURL* curl_handle) { in MultiRemoveHandle()