cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: giva: curl/lib getinfo.c,1.39,1.40

From: Gisle Vanem <giva_at_bgnett.no>
Date: Mon, 13 Dec 2004 21:14:50 +0100

> As you can see now in the autobuilds, this breaks the build on all systems
> that doesn't have engine support enabled... (since engine_list is only present
> on those that have engine support)

Obs, then '*param_slistp' should be NULL.
 
> Also, is there a reason why the function Curl_SSL_engines_list() doesn't
> return the list instead of storing it in a struct member in the SessionHandle
> struct? I would prefer the returned list to be the responsibility of the app
> to free with curl_slist_free_all() and libcurl would thus not need to remember
> this list.

I though the general idea was; if memory is allocated in libcurl, it should free
the memory too. But avoiding 'engine_list' would be nice.

Re. the docs; I'm no groff guru, but have updated curl_easy_getinfo.3 and curl.1.

--gv
Received on 2004-12-13