cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: malloc/free.. callback functions

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 5 Apr 2004 08:29:08 +0200 (CEST)

On Sun, 4 Apr 2004, Seshubabu Pasam wrote:

> Pretty much like I put it down in my previous mails. A callback that takes
> the functions pointers and assign them to global variables. For example look
> at xmlmemory.h on libxml2

Ok, then let's go for it. I'm ready for a patch. Please also consider
providing a man page for the new function!

Just for info: I might release a 7.11.2 before this function is officially
added, since I believe we have a fair share of bugs that can be released
before we added new functions. I then aim at releasing a 7.12.0 with the
alread added curl_*_strerror() (plus the new curl_memory_callbacks() or
whatever the exact name will be) functions etc.

BTW, (unrelated to this issue) I was under the impression that I would get
some help to improve the strings returned by the new curl_*_strerror()
functions...

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-04-05