cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_SCOPE

From: Phil Blundell <pb_at_reciva.com>
Date: Tue, 08 Jul 2008 13:56:58 +0100

On Tue, 2008-07-08 at 13:13 +0200, Daniel Stenberg wrote:
> How about a little man page addition for this as well? Do you think it would
> make sense to name it somewhat more descriptive, like perhaps
> CURLOPT_IP_SCOPE? Or possibly CURLOPT_ADDRESS_SCOPE?
>
> > + long scope; /* address scope for IPv6 */
>
> Seeing this seems to be a "uint32_t" type in the standards[*], wouldn't it
> make more sense to just make it an "unsigned int" within libcurl?
>
> [*] = http://www.opengroup.org/onlinepubs/000095399/basedefs/netinet/in.h.html

How's this?

p.

Received on 2008-07-08