Lines Matching refs:CURL
12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 CURL* curl = NULL;
34 easy_init(curl);
36 easy_setopt(curl, CURLOPT_URL, URL);
37 easy_setopt(curl, CURLOPT_HEADER, 1L);
38 easy_setopt(curl, CURLOPT_TIMECONDITION, (long)CURL_TIMECOND_IFMODSINCE);
41 easy_setopt(curl, CURLOPT_TIMEVALUE, 1566210680L);
43 res = curl_easy_perform(curl);
47 curl_easy_getinfo(curl, CURLINFO_CONDITION_UNMET, &unmet);
54 easy_setopt(curl, CURLOPT_TIMEVALUE, 1L);
56 res = curl_easy_perform(curl);
60 curl_easy_getinfo(curl, CURLINFO_CONDITION_UNMET, &unmet);
71 curl_easy_cleanup(curl);