xen-api
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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-API] Xen-API C Bindings, version 0.4.1, (continued)
- Re: [Xen-API] Xen-API C Bindings, version 0.4.1, John Levon
- Re: [Xen-API] Xen-API C Bindings, version 0.4.1, Ewan Mellor
- Re: [Xen-API] Xen-API C Bindings, version 0.4.1, Gareth S Bestor
- [Xen-API] Re: Xen-API C Bindings, version 0.4.1, Sean Dague
- [Xen-API] Re: Xen-API C Bindings, version 0.4.1, Ewan Mellor
[Xen-API] Re: Xen-API C Bindings, version 0.4.1, Mike D. Day
[Xen-API] Re: Xen-API C Bindings, version 0.4.1, Mike D. Day
|
|
|