From d3b96d4a00f7b52ea591bc8babffc3b7e8eb5313 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 7 Dec 2005 09:33:00 +0000 Subject: [PATCH] * configure.in docs/FAQ.html docs/Libxml2-Logo-90x34.gif docs/Makefile.am docs/bugs.html docs/index.html docs/intro.html docs/libvir.html docs/redhat.gif docs/site.xsl: starting to add the web site, based on libxml2 one. * src/hash.c: add a missing include Daniel --- ChangeLog | 8 + configure.in | 3 + docs/FAQ.html | 10 + docs/Libxml2-Logo-90x34.gif | Bin 0 -> 3070 bytes docs/Makefile.am | 16 +- docs/bugs.html | 12 + docs/index.html | 153 ++++++++ docs/intro.html | 10 + docs/libvir.html | 39 ++ docs/redhat.gif | Bin 0 -> 697 bytes docs/site.xsl | 713 ++++++++++++++++++++++++++++++++++++ src/hash.c | 1 + 12 files changed, 957 insertions(+), 8 deletions(-) create mode 100644 docs/FAQ.html create mode 100644 docs/Libxml2-Logo-90x34.gif create mode 100644 docs/bugs.html create mode 100644 docs/index.html create mode 100644 docs/intro.html create mode 100644 docs/libvir.html create mode 100644 docs/redhat.gif create mode 100644 docs/site.xsl diff --git a/ChangeLog b/ChangeLog index fa6b5b347e..6191a31afe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Wed Dec 7 10:31:29 CET 2005 Daniel Veillard + + * configure.in docs/FAQ.html docs/Libxml2-Logo-90x34.gif + docs/Makefile.am docs/bugs.html docs/index.html docs/intro.html + docs/libvir.html docs/redhat.gif docs/site.xsl: starting to add + the web site, based on libxml2 one. + * src/hash.c: add a missing include + Tue Dec 6 17:47:11 CET 2005 Daniel Veillard * docs/Makefile.am docs/apibuild.py docs/libvir-api.xml diff --git a/configure.in b/configure.in index 29dfde1361..b31a513e0c 100644 --- a/configure.in +++ b/configure.in @@ -40,6 +40,9 @@ AC_PROG_CPP AC_PATH_PROG(RM, rm, /bin/rm) AC_PATH_PROG(MV, mv, /bin/mv) AC_PATH_PROG(TAR, tar, /bin/tar) +AC_PATH_PROG(XMLLINT, xmllint, /usr/bin/xmllint) +AC_PATH_PROG(XSLTPROC, xsltproc, /usr/bin/xsltproc) + dnl Make sure we have an ANSI compiler AM_C_PROTOTYPES diff --git a/docs/FAQ.html b/docs/FAQ.html new file mode 100644 index 0000000000..80eecf9096 --- /dev/null +++ b/docs/FAQ.html @@ -0,0 +1,10 @@ + + +FAQ
Red Hat Logo

Libvir the Linux virtualization API

FAQ

Main Menu
Related links
Made with Libxml2 Logo

Daniel Veillard

diff --git a/docs/Libxml2-Logo-90x34.gif b/docs/Libxml2-Logo-90x34.gif new file mode 100644 index 0000000000000000000000000000000000000000..b96fff0bde425e79ef7a9a114706324088a5724f GIT binary patch literal 3070 zcmWmDi$9e4;=u9m^UU2~o-q<;FvE~*E@_FOXU61Ggl;>vU4{@+4LOBuzqyccNt4v7 z)$ZuBUDmdgcJ(8#8HsUih|KEp8%z$8#-$T&=Q#a7|H9|>j))2m+>o#bID$_rV18j9 z05CT{_xjDN-oDNc#t*u`h8{h7*xLHoIA^3;T5j3CV_|V2GxKPAdP-2xhK7gruV26P z^74G9?bMIHxpVjC({}YwKV6=joRAetoL!tlLPBOg%wD{B{@u*<)YR0<%F4cdd(F+w zFJGzb>+898{VIt>ntnIEbMJSPQ+1^C-21j*%=f?_a99B{&fELr}K(S&dj`@-W1Ny zJC(afc);G?Zdmu?u;^GuM(VcR-<~~NB1{nW4`}!A-!t=m=ETWtoo@KA5#8LpacHRT z?c~J7KPR->j{noYsj8}YJ7LJq&QzQ~8xXL*vs0aypLaAX^Lugrzdn5o2?^Hr_wM?3 zXQ5m+KR?IkbKBdW1_lN!EX*gQB##?L$HvFp-Q6fu>cI17hPUIp_XtwbQ#&+IjKD#XOiav+;eoEM_DfY4-o2Z=^5f-_v&GK`2XHuC zMWtf<_V~9GZ#A0sk(YmEWgTm2d7N@6DLp-{qN1Wj)if~BvvX(sFSl+SOg+@vs;1Lz z=H`r#A2;sazpuNeGwa0hw4)h6R$q#Yj5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k4~iVNrdZg(4){;2sOJtfSgNtX7cL4MAHQ2)yGItk=SquZzR0p}3TVO*6 zB<7nnt8FO*z>lxTQhj({z!x0A3bA>OYEuhEv0F5YM$+7}{{F&B?5T-$d4x2s2jhH^ z6sIS6Myj2Bca~X{>1n-pQPLkazN+ z0wm_yH;54O49mniZWjoxCwc}xOxB=$#KgBGUL+w)oi|pdhg!UK<9g)Y-_d5S4o{%rXV>ojKKR_?Oowhl*By9aBswWltE=X7i-$c0#(4)ZcK&w!4<$_ zrUT)tfkO-`{t2i!= z817UJWE)kWtupS+H*t01?HS{C+t|NiPSnWEtcS@La)3h3I!td6k}I@az!w8uUy#!F z9ghq$75f+}2T~e;9Cp1YSkD5s$|tm7F2=LSvDqJmtv%xlVlu7|E-MKhXvL4f+KJ?7 zEWFpf`HY__i@F|Bul7GLH$8G&6Njc)$m73#P^`p!+A3X7tH4?aM@dniOCtDG@hMmR zC{h&2&@-jQ+ZpEgejwmDiYu{gDfQGrA}t=&LUbU#HNoFtyI&5tbNVZ zv{RyGd$?vHq>W`>EokeGDF;}Al616gFu|W$dM?lrOP5OqZ*Bc}_Y)J(uY;K(dc0e+ z-j6B=PS=km3e8VRdrNv11J6}R%GePiw0eC$Y>;M1& literal 0 HcmV?d00001 diff --git a/docs/Makefile.am b/docs/Makefile.am index eb2dd3e4e4..dc3033149e 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -4,7 +4,7 @@ SUBDIRS= # The directory containing the source code (if it contains documentation). DOC_SOURCE_DIR=../src -PAGES= # index.html +PAGES= index.html APIPAGES=APIconstructors.html APIfiles.html APIfunctions.html \ APIsymbols.html APIchunk0.html EXTRA_DIST= \ @@ -19,13 +19,13 @@ api: libvir-api.xml libvir-refs.xml web: $(PAGES) -#$(PAGES): xml.html site.xsl -# -@(if [ -x $(XSLTPROC) ] ; then \ -# echo "Rebuilding the HTML Web pages from xml.html" ; \ -# $(XSLTPROC) --nonet --html $(top_srcdir)/doc/site.xsl $(top_srcdir)/doc/xml.html > index.html ; fi ); -# -@(if [ -x $(XMLLINT) ] ; then \ -# echo "Validating the HTML Web pages" ; \ -# $(XMLLINT) --nonet --valid --noout $(PAGES) ; fi ); +$(PAGES): libvir.html site.xsl + -@(if [ -x $(XSLTPROC) ] ; then \ + echo "Rebuilding the HTML Web pages from libvir.html" ; \ + $(XSLTPROC) --nonet --html $(top_srcdir)/docs/site.xsl $(top_srcdir)/docs/libvir.html > index.html ; fi ); + -@(if [ -x $(XMLLINT) ] ; then \ + echo "Validating the HTML Web pages" ; \ + $(XMLLINT) --nonet --valid --noout $(PAGES) ; fi ); #$(APIPAGES): libxml2-api.xml libxml2-refs.xml $(top_srcdir)/docs/site.xsl $(top_srcdir)/docs/api.xsl diff --git a/docs/bugs.html b/docs/bugs.html new file mode 100644 index 0000000000..39b7d087c2 --- /dev/null +++ b/docs/bugs.html @@ -0,0 +1,12 @@ + + +Reporting bugs and getting help
Red Hat Logo

Libvir the Linux virtualization API

Reporting bugs and getting help

Main Menu
Related links
Made with Libxml2 Logo

There is a mailing-list libvir-list@redhat.com for libvir, with an on-line archive. Please subscribe to this list before posting by visiting the associated Web page and +follow the instructions. Patches with explanations and provided as attachments +are really appreciated and will be discussed on the mailing list.

Daniel Veillard

diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000000..3a8eed8462 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,153 @@ + + + + + + + + Libvir the Linux virtualization API + + + + + + + +
+ + Red Hat Logo + + + + + + +
+ + + + +
+

Libvir the Linux virtualization API

+

libxml

+
+
+
+ + + + +
+ + + + + +
+ + + + +
+ + + + + + + +
+
+ Main Menu +
+
+
+ + +
+ +
+ + + + + + + +
+
+ Related links +
+
+ +
+
+ + Made with Libxml2 Logo + +
+ + + + +
+ + + + +
+ + + + +
+

Libvir is a C toolkit to interract with the virtualization capabilities +of recent versions of Linux. It is free software available under the +GNU Lesser +General Public License. Virtualization of the Linux Operating System +means the ability to run multiple instances of Operating Systems concurently +on a single hardware system where the basic resources are driven by a Linux +instance. The library aim at providing long term stable C API primarily for +the Xen +paravirtualization mechanism but should be adaptable to other +virtualization mechanisms.

+

+ Daniel Veillard +

+
+
+
+
+
+ + diff --git a/docs/intro.html b/docs/intro.html new file mode 100644 index 0000000000..75dbcb3111 --- /dev/null +++ b/docs/intro.html @@ -0,0 +1,10 @@ + + +Introduction
Red Hat Logo

Libvir the Linux virtualization API

Introduction

Main Menu
Related links
Made with Libxml2 Logo

Daniel Veillard

diff --git a/docs/libvir.html b/docs/libvir.html new file mode 100644 index 0000000000..55031438b3 --- /dev/null +++ b/docs/libvir.html @@ -0,0 +1,39 @@ + + +Libvir the Linux virtualization API + + +

Libvir the Linux virtualization API

+ +

Note: this is the flat content of the web site

+ +

libvir

+ +

Libvir is a C toolkit to interract with the virtualization capabilities +of recent versions of Linux. It is free software available under the +GNU Lesser +General Public License. Virtualization of the Linux Operating System +means the ability to run multiple instances of Operating Systems concurently +on a single hardware system where the basic resources are driven by a Linux +instance. The library aim at providing long term stable C API primarily for +the Xen +paravirtualization mechanism but should be adaptable to other +virtualization mechanisms.

+ +

Introduction

+

+ +

FAQ

+

+ +

Reporting bugs and getting help

+ +

There is a mailing-list libvir-list@redhat.com for libvir, with an on-line archive. Please subscribe to this list before posting by visiting the associated Web page and +follow the instructions. Patches with explanations and provided as attachments +are really appreciated and will be discussed on the mailing list.

+ + + diff --git a/docs/redhat.gif b/docs/redhat.gif new file mode 100644 index 0000000000000000000000000000000000000000..eff3d73069659bc3d57c5ea93c29249de6a9111f GIT binary patch literal 697 zcmV;q0!IBuNk%w1VJrYC0M!5h%m4t(5D5SP0RR90nE(Ko3IHvj6}y003D4 z0KWhL&(F_u005={05b#ve+mZg@9#hW0L~v6-{0RR006!Z2#f##KLrD32n7uR0T}`T zr40w|sHPAQ5U;PVzrVj(2LvD>AobGGfB*nZ002w|128Z!aBy()!@?#50-v9s8UO&* zJvUHLQ2g-l=$4b;YGv3=N3sqGkB^UlfPj2(a6mvnatQ_Ed3CiN7sU?@T z2MrB+7-d_4R*!m&&mfPr^KrX`A&WRn0KSOBRgbOA{&B?R0onplqz zH7O|ttn5;6q#h48cvNc=PiDy0dKKTS7%-s6frd*Il>1q*N{Br)h*F?%qCx|VMo27t zBavoPdmdbT_#lD;(E$-oyg4L6LIQz%G!PVW#ll&l3{c!1@PP)12p}jhU{HgQiMar< zblA(d@qinIx_YI1<%i?FH9Ux5KvV>u06UmczT)HZT?Ru3fDqt(Ia80yBt9n;{2ajO(tnuT$lfwvp_C*Xv(Xq%#5xm2MG_JI?fWiIl fiw-fq(+O`zMhiNK;miLrrM~_9`19+(9|Qn9hvWr+ literal 0 HcmV?d00001 diff --git a/docs/site.xsl b/docs/site.xsl new file mode 100644 index 0000000000..4dcdeecdfc --- /dev/null +++ b/docs/site.xsl @@ -0,0 +1,713 @@ + + + + + + Main Menu + + + + + + intro.html + + + docs.html + + + bugs.html + + + help.html + + + help.html + + + downloads.html + + + news.html + + + contribs.html + + + xsltproc2.html + + + + + + XSLT.html + + + XMLinfo.html + + + xmldtd.html + + + + + + + + + + + + + + + + + + + + + namespaces.html + + + + + + catalog.html + + + + + + encoding.html + + + + + + + + + + + + FAQ.html + + + + + + unknown.html + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + xsltproc2.html + + + API.html + + + XSLT.html + + + + + + + + + tree.html + + + library.html + + + interface.html + + + example.html + + + entities.html + + + architecture.html + + + namespaces.html + + + DOM.html + + + + + + upgrade.html + + + + + + xmlio.html + + + xmlmem.html + + + threads.html + + + + + + python.html + + + unknown.html + + + + + + + + + + + intro.html + + + docs.html + + + bugs.html + + + help.html + + + help.html + + + downloads.html + + + news.html + + + contribs.html + + + xsltproc2.html + + + API.html + + + XSLT.html + + + XMLinfo.html + + + xmldtd.html + + + tree.html + + + library.html + + + interface.html + + + example.html + + + entities.html + + + architecture.html + + + namespaces.html + + + DOM.html + + + catalog.html + + + upgrade.html + + + encoding.html + + + xmlio.html + + + xmlmem.html + + + threads.html + + + FAQ.html + + + python.html + + + unknown.html + + + + + + + + + + +
+ + +
+ +
+ +
+ + +
+ +
+ + + + + + + + + + + +
+ + + + + + + +
+
+ +
+
+ +
+ + + + + + + +
+
+ Related links +
+
+ +
+
+ Made with Libxml2 Logo +
+ + + + + +
+ + + + + + + +
+
+ Developer Menu +
+
+ +
+ + + + + + + +
+
+ API Indexes +
+
+ +
+ + + + + + + +
+
+ Related links +
+
+ +
+
+
+ + + <xsl:apply-templates/> + + + + + + + + + + + + + + + + + +
+ Red Hat Logo + + + + + +
+ + + + +
+ + + + + + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + +
+ + + + +
+ +

Daniel Veillard

+
+
+
+
+
+ + +
+
+ + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + + + + +
+ + + + +
+ + + + +
+ + + + + + +

Daniel Veillard

+
+
+
+
+
+ +
+ + + + + + + + Generating the Web pages + + + + +
diff --git a/src/hash.c b/src/hash.c index 4614f7a821..5d992292e0 100644 --- a/src/hash.c +++ b/src/hash.c @@ -20,6 +20,7 @@ #define IN_LIBXML #include +#include #include "hash.h" #define MAX_HASH_LEN 8