Hi guys, I''m trying to develop a library to access XenStore via Java Application (Academic purposes) but I have not a lot experiencie in C or how to do that. Anyone here have an example of how to access XenStore using the library "xs.h". I found an example over the internet but I''m havig any compilation problems.Thanks -- Luciano Barreto _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Fri, 2011-11-04 at 16:23 +0000, Luciano Barreto wrote:> Hi guys, I''m trying to develop a library to access XenStore via Java > Application (Academic purposes) but I have not a lot experiencie in C > or how to do that. Anyone here have an example of how to access > XenStore using the library "xs.h". I found an example over the > internetThere is a basic command line client in tools/xenstore/xenstore_client.c. You could also look at tools/libxl which uses xenstore reasonably extensively. tools/python/xen/lowlevel/xs/xs.c is the python bindings which I suppose might be of interest.> but I''m havig any compilation problems.ThanksYou''ll have to be more specific if you want help with this. However if you are struggling with the C aspect then I suggest you seek out someone within your university department who can help, this list is not best suited to teaching people new languages. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thanks Ian, I''ll look at this source file. One question, when I do a compilation of all Xen source(make world), this tools are created too? Thanks 2011/11/7 Ian Campbell <Ian.Campbell@citrix.com>:> On Fri, 2011-11-04 at 16:23 +0000, Luciano Barreto wrote: >> Hi guys, I''m trying to develop a library to access XenStore via Java >> Application (Academic purposes) but I have not a lot experiencie in C >> or how to do that. Anyone here have an example of how to access >> XenStore using the library "xs.h". I found an example over the >> internet > > There is a basic command line client in > tools/xenstore/xenstore_client.c. You could also look at tools/libxl > which uses xenstore reasonably extensively. > > tools/python/xen/lowlevel/xs/xs.c is the python bindings which I suppose > might be of interest. > >> but I''m havig any compilation problems.Thanks > > You''ll have to be more specific if you want help with this. > > However if you are struggling with the C aspect then I suggest you seek > out someone within your university department who can help, this list is > not best suited to teaching people new languages. > > Ian. > >-- Luciano Barreto _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Please don''t top post (see http://wiki.xen.org/xenwiki/AskingXenDevelQuestions ) On Mon, 2011-11-07 at 16:31 +0000, Luciano Barreto wrote:> Thanks Ian, I''ll look at this source file. > One question, when I do a compilation of all Xen source(make world), > this tools are created too?Yes. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel