cURL / Mailing Lists / curl-library / Single Mail

curl-library

getopt

From: Richard Levenberg <richardl_at_ufp.com>
Date: Thu, 12 Oct 2006 22:07:44 -0700

I have an application where I dont want to store the URL after putting
into the curl library. i.e.

curl_easy_init();
curl_easy_setopt(CURLOPT_URL, url);

where url is a malloc'ed pointer to chars. If the notion of the options
being set for all subsequent calls to perform, why can't I store the
pointer and retrieve it with something like curl_easy_getopt to retrieve
the pointer and free it myself.

I was way too tired to go searching through the archives. <rant mode>why
dont't these mailing programs provide a search option to search through
all the archives?</rant mode>

r
Received on 2006-10-13