Lines Matching defs:curl
12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl;
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL,
53 res = curl_easy_perform(curl);
61 curl_easy_cleanup(curl);