Lines Matching refs:CURL
12 * are also available at https://curl.haxx.se/docs/copyright.html.
43 #include <curl/curl.h>
47 CURL *curl;
79 curl = curl_easy_init();
83 if(curl) {
85 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/examplepost.cgi");
88 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist);
89 curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);
92 res = curl_easy_perform(curl);
99 curl_easy_cleanup(curl);