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 0000000000..b96fff0bde Binary files /dev/null and b/docs/Libxml2-Logo-90x34.gif differ 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 0000000000..eff3d73069 Binary files /dev/null and b/docs/redhat.gif differ 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