mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-02 11:21:12 +00:00
9f748277bb
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 |
||
---|---|---|
.. | ||
block_stats.c | ||
block_stats.h | ||
xen_driver.c | ||
xen_driver.h | ||
xen_hypervisor.c | ||
xen_hypervisor.h | ||
xen_inotify.c | ||
xen_inotify.h | ||
xend_internal.c | ||
xend_internal.h | ||
xm_internal.c | ||
xm_internal.h | ||
xs_internal.c | ||
xs_internal.h |