[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] Re: Xen-API C Bindings, version 0.4.1



On Thu, 2006-08-10 at 10:39 +0100, Ewan Mellor wrote:
> On Wed, Aug 09, 2006 at 07:46:10PM -0400, Mike D. Day wrote:
> 
> > On 08/08/06 17:00 +0100, Ewan Mellor wrote:
> > >
> > >
> > >Attached is the latest version of the C bindings for the Xen Management 
> > >API.
> > 
> > Apologize if this is an obvious question, but why the *_decl.h
> > headers? 
> 
> Many of the record declarations are mutually recursive -- a VM has a reference
> to the host on which it resides, and a Host has references to the VMs on that
> host, for example.  I separated the struct declarations out so that they can
> be #included without taking the whole record declaration.

Thank you! I wish more projects defined structs separately from other
code.

-- 
Hollis Blanchard
IBM Linux Technology Center


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.