libvirt/src/xen
Martin Kletzander 9f748277bb Fixed URI parsing
Function xmlParseURI does not remove square brackets around IPv6
address when parsing. One of the solutions is making wrappers around
functions working with xmlURI*. This assures that uri->server will be
always properly assigned and it doesn't have to be changed when used
on some new place in the code.
For this purpose, functions virParseURI and virSaveURI were
added. These function are wrappers around xmlParseURI and xmlSaveUri
respectively.
Also there is one new syntax check function to prohibit these functions
anywhere else.

File changes:
 - src/util/viruri.h        -- declaration
 - src/util/viruri.c        -- definition
 - src/libvirt_private.syms -- symbol export
 - src/Makefile.am          -- added source and header files
 - cfg.mk                   -- added sc_prohibit_xmlURI
 - all others               -- ID name and include fixes
2012-02-24 16:49:21 -07:00
..
block_stats.c build: rename files.h to virfile.h 2011-07-21 10:34:51 -06:00
block_stats.h Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
xen_driver.c Fixed URI parsing 2012-02-24 16:49:21 -07:00
xen_driver.h Rename hash.h and hash.c to virhash.h and virhash.c 2012-01-26 14:11:13 +00:00
xen_hypervisor.c xen: Don't crash when we fail to init caps 2012-01-23 12:45:06 +01:00
xen_hypervisor.h Fixed URI parsing 2012-02-24 16:49:21 -07:00
xen_inotify.c xen: drop unused callbacks 2011-07-28 14:57:55 -06:00
xen_inotify.h drivers: prefer unsigned int for flags 2011-07-07 14:15:37 -06:00
xend_internal.c Fixed URI parsing 2012-02-24 16:49:21 -07:00
xend_internal.h Fixed URI parsing 2012-02-24 16:49:21 -07:00
xm_internal.c xen-xm: SIGSEGV in xenXMDomainDefineXML: filename 2012-02-06 15:22:35 -07:00
xm_internal.h xen: reject unknown flags 2011-07-15 16:34:44 -06:00
xs_internal.c Fix xenstore serial console path for HVM guests 2012-01-04 10:15:13 -07:00
xs_internal.h Fix xenstore serial console path for HVM guests 2012-01-04 10:15:13 -07:00