WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

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

To: "Mike D. Day" <ncmike@xxxxxxxxxx>
Subject: [Xen-API] Re: Xen-API C Bindings, version 0.4.1
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Thu, 10 Aug 2006 10:39:10 +0100
Cc: Xen-API <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 10 Aug 2006 02:39:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060809234610.GC8622@xxxxxxxxxxxxxxxxxxxxx>
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>
References: <20060808160023.GD28097@xxxxxxxxxxxxxxxxxxxxxx> <20060809234610.GC8622@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
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.

Ewan.


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