cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Protocol handler tables

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 10 Oct 2007 22:45:03 +0200 (CEST)

On Wed, 10 Oct 2007, Patrick Monnerat wrote:

> By storing these callback pointers (and some parameters) in a per-protocol
> static structure (that I called "Curl_handler"), we can:

[...]

> The attached patch is a proposal for such a change. No new functionality.
> Please tell me what you think about it and if I should commit it (or fix,
> modify, throw away, delay to after 7.17.1, etc!). All comments are welcome.
> Thanks.

I love it! And I also wouldn't mind seeing this committed before the feature
freeze...

I also agree with Dan about the curl_-prefixes on some of the members of the
Curl_handler struct: they're better stripped off.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-10-10