Lines Matching defs:curl
12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
40 CURL *curl;
43 curl = curl_easy_init();
44 if(curl) {
46 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
47 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
51 curl_easy_setopt(curl, CURLOPT_URL,
63 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
71 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
77 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
80 res = curl_easy_perform(curl);
88 curl_easy_cleanup(curl);