Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-api

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

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-API] Re: Xen-API C Bindings, version 0.4.1
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Thu, 10 Aug 2006 12:52:34 -0500
Cc: Xen-API <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 10 Aug 2006 10:53:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060810093910.GA326@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
References: <20060808160023.GD28097@xxxxxxxxxxxxxxxxxxxxxx> <20060809234610.GC8622@xxxxxxxxxxxxxxxxxxxxx> <20060810093910.GA326@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
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