Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
39 #include <curl/curl.h>
43 CURL *curl;
75 curl = curl_easy_init();
79 if(curl) {
81 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/examplepost.cgi");
84 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist);
85 curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);
88 res = curl_easy_perform(curl);
95 curl_easy_cleanup(curl);