Re: [libvirt] C# bindings (Was: First patch)

2010-10-20 Thread Justin Clift
On 10/20/2010 11:05 PM, arnaud.champ...@devatom.fr wrote: ?Hi Justin, I have written a little simple sample of using of C# bindings. In fact it is a sample project which connect to a clear TCP libvirt/qemu via virConnectOpen the list the storage pools. Here's the code : Thanks. I should proba

Re: [libvirt] C# bindings (Was: First patch)

2010-10-20 Thread arnaud.champion
Okay, it's a good idea, I'm going for it -- From: "Daniel P. Berrange" Sent: Tuesday, October 19, 2010 6:15 PM To: "Matthias Bolte" Cc: ; Subject: Re: [libvirt] C# bindings (Was: First patch) On Tue, Oct 19, 2010

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread Justin Clift
On 10/20/2010 06:59 AM, arnaud.champ...@devatom.fr wrote: ?Well, I can make a little sample, with virConnectOpen instead of virConnectOpenAuth, because virConnectOpenAuth cannot work without callback handling, that's why it's larger. But I will be tomorrow ;) it's time to sleep for me. Not a pr

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread Justin Clift
On 10/20/2010 06:57 AM, arnaud.champ...@devatom.fr wrote: ?Well, it's really nice Thanks. I'll submit that, so it at least gets online. We can add an example and updates later. :) -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread arnaud.champion
- From: "Justin Clift" Sent: Tuesday, October 19, 2010 9:46 PM To: "Arnaud Champion" Cc: "Libvirt Developers Mailing List" Subject: Re: [libvirt] C# bindings (Was: First patch) On 10/20/2010 05:08 AM, Justin Clift wrote: On 10/20/2010 04:57

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread arnaud.champion
?Well, it's really nice -- From: "Justin Clift" Sent: Tuesday, October 19, 2010 7:49 PM To: Cc: Subject: Re: [libvirt] C# bindings (Was: First patch) On 10/20/2010 01:32 AM, arnaud.champ...@devatom.fr wrote: ?You are ri

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread Justin Clift
On 10/20/2010 05:08 AM, Justin Clift wrote: On 10/20/2010 04:57 AM, Eric Blake wrote: Ok, how's this? http://justinclift.fedorapeople.org/csharp/csharp.html Can we also include a sample program using the bindings, as is done in http://justinclift.fedorapeople.org/csharp/python.html and http:

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread Justin Clift
On 10/20/2010 04:57 AM, Eric Blake wrote: Ok, how's this? http://justinclift.fedorapeople.org/csharp/csharp.html Can we also include a sample program using the bindings, as is done in http://justinclift.fedorapeople.org/csharp/python.html and http://justinclift.fedorapeople.org/csharp/java.ht

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread Eric Blake
On 10/19/2010 11:49 AM, Justin Clift wrote: On 10/20/2010 01:32 AM, arnaud.champ...@devatom.fr wrote: ?You are right, my mistake :) You'll find an update version attached to this mail. There is some new columns in the xls. Ok, how's this? http://justinclift.fedorapeople.org/csharp/csharp.ht

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread Justin Clift
On 10/20/2010 01:32 AM, arnaud.champ...@devatom.fr wrote: ?You are right, my mistake :) You'll find an update version attached to this mail. There is some new columns in the xls. Ok, how's this? http://justinclift.fedorapeople.org/csharp/csharp.html -- libvir-list mailing list libvir-lis

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread Daniel P. Berrange
On Tue, Oct 19, 2010 at 05:43:50PM +0200, Matthias Bolte wrote: > 2010/10/18 : > > The class library expose the "LibvirtBindings" namespace. This namespace > > expose all needed types (enum, struct). It also expose 2 main classes : > > "libVirt" and "libvirtError". The "libVirt" class expose all  

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread Alejandro Mery
On 19/10/10 17:58, arnaud.champ...@devatom.fr wrote: The idea was to stick to libvirt API documentation which contain a libvirt part and a virError part. Types are used everywhere that's why they are at a upper level (LibvirtBindings). In fact, libVirt and libvirtError are in the LibvirtBindings,

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread arnaud.champion
t;Justin Clift" ; Subject: Re: [libvirt] C# bindings (Was: First patch) 2010/10/18 : The class library expose the "LibvirtBindings" namespace. This namespace expose all needed types (enum, struct). It also expose 2 main classes : "libVirt" and "libvirtError&

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread Matthias Bolte
2010/10/18 : > The class library expose the "LibvirtBindings" namespace. This namespace > expose all needed types (enum, struct). It also expose 2 main classes : > "libVirt" and "libvirtError". The "libVirt" class expose all  interfaces of > the libvirt library to handle virtualized domains and "l

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread arnaud.champion
?Why not, no problem for me. -- From: "Justin Clift" Sent: Tuesday, October 19, 2010 4:36 PM To: Cc: Subject: Re: [libvirt] C# bindings (Was: First patch) On 10/20/2010 01:32 AM, arnaud.champ...@devatom.fr wrote: ?You are right,

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread Justin Clift
On 10/20/2010 01:32 AM, arnaud.champ...@devatom.fr wrote: ?You are right, my mistake :) You'll find an update version attached to this mail. There is some new columns in the xls. "Sample Code" refer the name of the sample code project (the name is the same for Mono on .Net) "Test .Net/Windows

Re: [libvirt] C# bindings (Was: First patch)

2010-10-19 Thread Justin Clift
On 10/19/2010 02:29 AM, arnaud.champ...@devatom.fr wrote: ?Hi justin, here is a xls that I use to keep advance of bindings. In the .xls file, in the "Types" tab, it looks like "virStoragePool" and "virStorageVol" are both in there two times. ? -- libvir-list mailing list libvir-list@redhat.c

Re: [libvirt] C# bindings (Was: First patch)

2010-10-18 Thread arnaud.champion
From: "Justin Clift" Sent: Monday, October 18, 2010 8:53 PM To: Cc: ; Subject: Re: [libvirt] C# bindings (Was: First patch) On 10/19/2010 05:13 AM, arnaud.champ...@devatom.fr wrote: ?Wow it's very nice :) Just one thing you had

Re: [libvirt] C# bindings (Was: First patch)

2010-10-18 Thread Daniel Veillard
On Tue, Oct 19, 2010 at 04:21:19AM +1100, Justin Clift wrote: > On 10/19/2010 02:29 AM, arnaud.champ...@devatom.fr wrote: > >?Hi justin, > > > >here is a xls that I use to keep advance of bindings. > > Nice. :) > > Converted it into HTML, for adding to the libvirt documentation. > > Here is what

Re: [libvirt] C# bindings (Was: First patch)

2010-10-18 Thread Justin Clift
On 10/19/2010 05:13 AM, arnaud.champ...@devatom.fr wrote: ?Wow it's very nice :) Just one thing you had to know, I plan to add sample code of using libvirt bindings, so in the future, I will add a column to indicate the sample code snippet for each function et bindings. That sounds like a real

Re: [libvirt] C# bindings (Was: First patch)

2010-10-18 Thread arnaud.champion
-- From: "Justin Clift" Sent: Monday, October 18, 2010 7:21 PM To: Cc: ; Subject: Re: [libvirt] C# bindings (Was: First patch) On 10/19/2010 02:29 AM, arnaud.champ...@devatom.fr wrote: ?Hi justin, here is a xls that I use to keep advance of bindings. Nice. :) Converted it

Re: [libvirt] C# bindings (Was: First patch)

2010-10-18 Thread arnaud.champion
stin Clift" Sent: Monday, October 18, 2010 7:21 PM To: Cc: ; Subject: Re: [libvirt] C# bindings (Was: First patch) On 10/19/2010 02:29 AM, arnaud.champ...@devatom.fr wrote: ?Hi justin, here is a xls that I use to keep advance of bindings. Nice. :) Converted it into HTML, for adding

Re: [libvirt] C# bindings (Was: First patch)

2010-10-18 Thread Justin Clift
On 10/19/2010 02:29 AM, arnaud.champ...@devatom.fr wrote: ?Hi justin, here is a xls that I use to keep advance of bindings. Nice. :) Converted it into HTML, for adding to the libvirt documentation. Here is what it looks like: http://justinclift.fedorapeople.org/csharp/csharp.html Does an

Re: [libvirt] C# bindings (Was: First patch)

2010-10-18 Thread Justin Clift
On 10/19/2010 12:25 AM, Daniel Veillard wrote: Anyway, since the git tree was currently empty (except for Licence files) I commited and pushed the patch (just cleaned up a few trailing whitespaces). It's there now http://libvirt.org/git/?p=libvirt-csharp.git Are the C# bindings there "ok"

Re: [libvirt] C# bindings (Was: First patch)

2010-10-18 Thread arnaud.champion
?Hi, so, in fact, strings in Properties/AssemblyInfo.cs are auto generated by Visual Studio. I can change strings values, but I have to know What to put as society and copyright. For the comments in this file, they are also generated by visual Studio and as my installation is in french, commen

[libvirt] C# bindings (Was: First patch)

2010-10-18 Thread Daniel Veillard
On Mon, Oct 18, 2010 at 02:41:26PM +0200, arnaud.champ...@devatom.fr wrote: > ?Hi, Hi Arnaud, > this is my first patch import for libvirt C# bindings. Sorry I > haven't been able to change the mime type for the patch (Windows > Mail doesn't allow this it seems) Okay, I can't really test this