cURL / Mailing Lists / curl-library / Single Mail

curl-library

question about --libcurl

From: <chucky7711_at_netzero.net>
Date: Thu, 21 Feb 2008 20:01:12 GMT

Hi all,

Question 1:
When I use the command-line option --libcurl to get a libcurl equivalent, I see a long list of calls to curl_easy_setopt(). Many of these look like default options. Example: "curl_easy_setopt(hnd, CURLOPT_USERAGENT, "curl/7.18.0 (i386-pc-win32) libcurl/7.18.0 OpenSSL/0.9.8g");" Is there a way to only ouput the calls to curl_easy_setopt() that are NOT default settings? I'm trying to avoid having to set 100 different options when it's only a few that deviate from the default settings.

Question 2:
What are the lines with "/* curl_easy_setopt(hnd, CURLOPT_SEEKDATA, 0x79f938); [REMARK] */"? Those are program-specific and I can ignore them?

Thanks for the help!
Received on 2008-02-21