1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

Rename xml.{c,h} to virxml.{c,h}

This commit is contained in:
Daniel P. Berrange 2012-12-13 18:13:21 +00:00
parent e861b31275
commit 556cf5f617
45 changed files with 64 additions and 46 deletions

2
cfg.mk
View File

@ -809,7 +809,7 @@ exclude_file_name_regexp--sc_prohibit_strncpy = ^src/util/virutil\.c$$
exclude_file_name_regexp--sc_prohibit_strtol = \
^src/(util/virsexpr|(vbox|xen|xenxs)/.*)\.c$$
exclude_file_name_regexp--sc_prohibit_xmlGetProp = ^src/util/xml\.c$$
exclude_file_name_regexp--sc_prohibit_xmlGetProp = ^src/util/virxml\.c$$
exclude_file_name_regexp--sc_prohibit_xmlURI = ^src/util/viruri\.c$$

View File

@ -181,7 +181,7 @@ src/util/virtypedparam.c
src/util/viruri.c
src/util/virusb.c
src/util/virutil.c
src/util/xml.c
src/util/virxml.c
src/vbox/vbox_MSCOMGlue.c
src/vbox/vbox_XPCOMCGlue.c
src/vbox/vbox_driver.c

View File

@ -86,7 +86,6 @@ UTIL_SOURCES = \
util/virthreadwin32.h \
util/virthreadpool.c util/virthreadpool.h \
util/virtypedparam.c util/virtypedparam.h \
util/xml.c util/xml.h \
util/virterror.c util/virterror_internal.h \
util/vircgroup.c util/vircgroup.h \
util/virdbus.c util/virdbus.h \
@ -116,6 +115,7 @@ UTIL_SOURCES = \
util/viruri.h util/viruri.c \
util/virutil.c util/virutil.h \
util/viruuid.c util/viruuid.h \
util/virxml.c util/virxml.h \
$(NULL)
EXTRA_DIST += $(srcdir)/util/virkeymaps.h $(srcdir)/util/keymaps.csv \

View File

@ -26,7 +26,7 @@
# include "virutil.h"
# include "virbuffer.h"
# include "xml.h"
# include "virxml.h"
# include "virbitmap.h"
# include "virarch.h"

View File

@ -24,7 +24,7 @@
#include "virterror_internal.h"
#include "datatypes.h"
#include "viralloc.h"
#include "xml.h"
#include "virxml.h"
#include "viruuid.h"
#include "virutil.h"
#include "virbuffer.h"

View File

@ -36,7 +36,7 @@
#include "snapshot_conf.h"
#include "viralloc.h"
#include "verify.h"
#include "xml.h"
#include "virxml.h"
#include "viruuid.h"
#include "virutil.h"
#include "virbuffer.h"

View File

@ -28,7 +28,7 @@
#include "interface_conf.h"
#include "viralloc.h"
#include "xml.h"
#include "virxml.h"
#include "viruuid.h"
#include "virutil.h"
#include "virbuffer.h"

View File

@ -26,7 +26,7 @@
# include "internal.h"
# include "virnetdevbandwidth.h"
# include "virbuffer.h"
# include "xml.h"
# include "virxml.h"
virNetDevBandwidthPtr virNetDevBandwidthParse(xmlNodePtr node,
int net_type)

View File

@ -25,7 +25,7 @@
# include "internal.h"
# include "virnetdevvlan.h"
# include "virbuffer.h"
# include "xml.h"
# include "virxml.h"
int virNetDevVlanParse(xmlNodePtr node, xmlXPathContextPtr ctxt, virNetDevVlanPtr def);
int virNetDevVlanFormat(virNetDevVlanPtr def, virBufferPtr buf);

View File

@ -26,7 +26,7 @@
# include "internal.h"
# include "virnetdevvportprofile.h"
# include "virbuffer.h"
# include "xml.h"
# include "virxml.h"
typedef enum {
/* generate random defaults for interfaceID/interfaceID

View File

@ -38,7 +38,7 @@
#include "netdev_bandwidth_conf.h"
#include "netdev_vlan_conf.h"
#include "viralloc.h"
#include "xml.h"
#include "virxml.h"
#include "viruuid.h"
#include "virutil.h"
#include "virbuffer.h"

View File

@ -32,7 +32,7 @@
#include "node_device_conf.h"
#include "viralloc.h"
#include "xml.h"
#include "virxml.h"
#include "virutil.h"
#include "virbuffer.h"
#include "viruuid.h"

View File

@ -30,7 +30,7 @@
# include "virutil.h"
# include "virhash.h"
# include "xml.h"
# include "virxml.h"
# include "virbuffer.h"
# include "virsocketaddr.h"
# include "virmacaddr.h"

View File

@ -30,7 +30,7 @@
#include "secret_conf.h"
#include "virterror_internal.h"
#include "virutil.h"
#include "xml.h"
#include "virxml.h"
#include "viruuid.h"
#define VIR_FROM_THIS VIR_FROM_SECRET

View File

@ -46,7 +46,7 @@
#include "viruuid.h"
#include "virfile.h"
#include "virterror_internal.h"
#include "xml.h"
#include "virxml.h"
#define VIR_FROM_THIS VIR_FROM_DOMAIN_SNAPSHOT

View File

@ -38,7 +38,7 @@
#include "storage_conf.h"
#include "virstoragefile.h"
#include "xml.h"
#include "virxml.h"
#include "viruuid.h"
#include "virbuffer.h"
#include "virutil.h"

View File

@ -32,7 +32,7 @@
#include "storage_conf.h"
#include "storage_encryption_conf.h"
#include "virutil.h"
#include "xml.h"
#include "virxml.h"
#include "virterror_internal.h"
#include "viruuid.h"
#include "virfile.h"

View File

@ -25,7 +25,7 @@
#include "virlog.h"
#include "viralloc.h"
#include "xml.h"
#include "virxml.h"
#include "cpu.h"
#include "cpu_x86.h"
#include "cpu_powerpc.h"

View File

@ -24,7 +24,7 @@
#ifndef __VIR_CPU_MAP_H__
# define __VIR_CPU_MAP_H__
# include "xml.h"
# include "virxml.h"
enum cpuMapElement {

View File

@ -32,7 +32,7 @@
#include "virutil.h"
#include "viruuid.h"
#include "vmx.h"
#include "xml.h"
#include "virxml.h"
#include "esx_vi.h"
#include "esx_vi_methods.h"
#include "esx_util.h"

View File

@ -45,7 +45,7 @@
#include "virutil.h"
#include "viralloc.h"
#include "datatypes.h"
#include "xml.h"
#include "virxml.h"
#include "nodeinfo.h"
#include "virlog.h"
#include "cpu/cpu.h"

View File

@ -75,7 +75,7 @@
#include "virusb.h"
#include "virprocess.h"
#include "libvirt_internal.h"
#include "xml.h"
#include "virxml.h"
#include "cpu/cpu.h"
#include "virsysinfo.h"
#include "domain_nwfilter.h"

View File

@ -48,7 +48,7 @@
#include "security_driver.h"
#include "security_apparmor.h"
#include "domain_conf.h"
#include "xml.h"
#include "virxml.h"
#include "viruuid.h"
#include "virusb.h"
#include "virpci.h"

View File

@ -47,7 +47,7 @@
#include "virstoragefile.h"
#include "vircommand.h"
#include "viralloc.h"
#include "xml.h"
#include "virxml.h"
#include "virfile.h"
#include "virlog.h"

View File

@ -46,7 +46,7 @@
#include "domain_event.h"
#include "storage_conf.h"
#include "node_device_conf.h"
#include "xml.h"
#include "virxml.h"
#include "virthread.h"
#include "virlog.h"
#include "virfile.h"

View File

@ -1,5 +1,5 @@
/*
* xml.c: XML based interfaces for the libvir library
* virxml.c: helper APIs for dealing with XML documents
*
* Copyright (C) 2005, 2007-2012 Red Hat, Inc.
*
@ -31,7 +31,7 @@
#include <sys/stat.h>
#include "virterror_internal.h"
#include "xml.h"
#include "virxml.h"
#include "virbuffer.h"
#include "virutil.h"
#include "viralloc.h"

View File

@ -1,5 +1,23 @@
/*
* xml.h: internal definitions used for XML parsing routines.
* virxml.c: helper APIs for dealing with XML documents
*
* Copyright (C) 2005, 2007-2012 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* <http://www.gnu.org/licenses/>.
*
* Daniel Veillard <veillard@redhat.com>
*/
#ifndef __VIR_XML_H__

View File

@ -53,7 +53,7 @@
#if WITH_XEN_INOTIFY
# include "xen_inotify.h"
#endif
#include "xml.h"
#include "virxml.h"
#include "virutil.h"
#include "viralloc.h"
#include "node_device_conf.h"

View File

@ -31,7 +31,7 @@
#include <fcntl.h>
#include "internal.h"
#include "xml.h"
#include "virxml.h"
#include "viralloc.h"
#include "virbuffer.h"
#include "testutils.h"

View File

@ -10,7 +10,7 @@
#include "internal.h"
#include "testutils.h"
#include "xml.h"
#include "virxml.h"
#include "virthread.h"
#include "nwfilter_params.h"
#include "nwfilter_conf.h"

View File

@ -5,7 +5,7 @@
#include <unistd.h>
#include "internal.h"
#include "xml.h"
#include "virxml.h"
#include "datatypes.h"
#include "xen/xen_driver.h"
#include "xen/xend_internal.h"

View File

@ -5,7 +5,7 @@
#include <unistd.h>
#include "internal.h"
#include "xml.h"
#include "virxml.h"
#include "virutil.h"
#include "testutils.h"

View File

@ -6,7 +6,7 @@
#include <unistd.h>
#include "internal.h"
#include "xml.h"
#include "virxml.h"
#include "testutils.h"
#include "xen/xen_hypervisor.h"
#include "virfile.h"

View File

@ -37,7 +37,7 @@
#include "viralloc.h"
#include "virmacaddr.h"
#include "virsh-domain.h"
#include "xml.h"
#include "virxml.h"
static const char *
vshDomainIOErrorToString(int error)

View File

@ -51,7 +51,7 @@
#include "virsh-domain-monitor.h"
#include "virterror_internal.h"
#include "virtypedparam.h"
#include "xml.h"
#include "virxml.h"
/* Gnulib doesn't guarantee SA_SIGINFO support. */
#ifndef SA_SIGINFO

View File

@ -36,7 +36,7 @@
#include "viralloc.h"
#include "virutil.h"
#include "virsh-domain.h"
#include "xml.h"
#include "virxml.h"
#include "virtypedparam.h"
#include "virjson.h"

View File

@ -35,7 +35,7 @@
#include "virbuffer.h"
#include "viralloc.h"
#include "virutil.h"
#include "xml.h"
#include "virxml.h"
virInterfacePtr
vshCommandOptInterfaceBy(vshControl *ctl, const vshCmd *cmd,

View File

@ -35,7 +35,7 @@
#include "virbuffer.h"
#include "viralloc.h"
#include "virutil.h"
#include "xml.h"
#include "virxml.h"
#include "conf/network_conf.h"
virNetworkPtr

View File

@ -35,7 +35,7 @@
#include "virbuffer.h"
#include "viralloc.h"
#include "virutil.h"
#include "xml.h"
#include "virxml.h"
#include "conf/node_device_conf.h"
/*

View File

@ -35,7 +35,7 @@
#include "virbuffer.h"
#include "viralloc.h"
#include "virutil.h"
#include "xml.h"
#include "virxml.h"
virNWFilterPtr
vshCommandOptNWFilterBy(vshControl *ctl, const vshCmd *cmd,

View File

@ -35,7 +35,7 @@
#include "virbuffer.h"
#include "viralloc.h"
#include "virutil.h"
#include "xml.h"
#include "virxml.h"
#include "conf/storage_conf.h"
virStoragePoolPtr

View File

@ -36,7 +36,7 @@
#include "virbuffer.h"
#include "viralloc.h"
#include "virutil.h"
#include "xml.h"
#include "virxml.h"
static virSecretPtr
vshCommandOptSecret(vshControl *ctl, const vshCmd *cmd, const char **name)

View File

@ -38,7 +38,7 @@
#include "viralloc.h"
#include "virutil.h"
#include "virsh-domain.h"
#include "xml.h"
#include "virxml.h"
#include "conf/snapshot_conf.h"
/* Helper for snapshot-create and snapshot-create-as */

View File

@ -39,7 +39,7 @@
#include "virutil.h"
#include "virfile.h"
#include "virsh-pool.h"
#include "xml.h"
#include "virxml.h"
virStorageVolPtr
vshCommandOptVolBy(vshControl *ctl, const vshCmd *cmd,

View File

@ -60,7 +60,7 @@
#include "console.h"
#include "virutil.h"
#include "viralloc.h"
#include "xml.h"
#include "virxml.h"
#include "libvirt/libvirt-qemu.h"
#include "virfile.h"
#include "configmake.h"