Re: [libvirt] [PATCH 05/11] Remove pointless nwIPAddress struct & void *casts

2010-10-22 Thread Daniel P. Berrange
On Thu, Oct 21, 2010 at 02:02:44PM -0600, Eric Blake wrote: > On 10/21/2010 12:17 PM, Daniel P. Berrange wrote: > >The nwIPAddress was simply a wrapper about virSocketAddr. > >Just use the latter directly, removing all the extra field > >de-references from code& helper APIs for parsing/formatting.

Re: [libvirt] [PATCH 05/11] Remove pointless nwIPAddress struct & void *casts

2010-10-21 Thread Eric Blake
On 10/21/2010 12:17 PM, Daniel P. Berrange wrote: The nwIPAddress was simply a wrapper about virSocketAddr. Just use the latter directly, removing all the extra field de-references from code& helper APIs for parsing/formatting. Also remove all the redundant casts from strong types to void * and

[libvirt] [PATCH 05/11] Remove pointless nwIPAddress struct & void *casts

2010-10-21 Thread Daniel P. Berrange
The nwIPAddress was simply a wrapper about virSocketAddr. Just use the latter directly, removing all the extra field de-references from code & helper APIs for parsing/formatting. Also remove all the redundant casts from strong types to void * and then immediately back to strong types. * src/conf/