cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Protocol handler tables

From: Tor Arntsen <tor_at_spacetec.no>
Date: Thu, 11 Oct 2007 14:02:40 +0200

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

Very nice!

Re:
+struct Curl_handler {
+ char * scheme; /* URL scheme name. */

Presumably 'const char * scheme;' would work well here.

-Tor
Received on 2007-10-11