[libvirt] [PATCH v3 1/4] iptablesFormatNetwork(): constify target of "netaddr" parameter

Laine Stump laine at laine.org
Tue Sep 24 08:46:16 UTC 2013


On 09/23/2013 08:03 PM, Laszlo Ersek wrote:
> ... and adapt functions that would cast away the new const qualifier.
>
> Given
>
>   typedef virSocketAddr *virSocketAddrPtr;
>
> Compare the parse trees of the following two declarations:
>
>   (a) const virSocketAddrPtr  addr;
>   (b) const virSocketAddr    *addr;

Umm.. Eric? A little help? :-)




More information about the libvir-list mailing list