maint: Rename xmlconf to xmlopt and virDomainXMLConfig to virDomainXMLOption

This patch is the result of running:

for i in $(git ls-files | grep -v html | grep -v \.po$ ); do
  sed -i -e "s/virDomainXMLConf/virDomainXMLOption/g" -e "s/xmlconf/xmlopt/g" $i
done

and a few manual tweaks.
This commit is contained in:
Peter Krempa
2013-03-31 20:03:42 +02:00
parent 8d3d05d3c1
commit e84b19316a
60 changed files with 383 additions and 383 deletions

View File

@@ -16,7 +16,7 @@
# include "testutilslxc.h"
static virCapsPtr caps;
static virDomainXMLConfPtr xmlconf;
static virDomainXMLOptionPtr xmlopt;
static int
testCompareXMLToXMLFiles(const char *inxml, const char *outxml, bool live)
@@ -32,7 +32,7 @@ testCompareXMLToXMLFiles(const char *inxml, const char *outxml, bool live)
if (virtTestLoadFile(outxml, &outXmlData) < 0)
goto fail;
if (!(def = virDomainDefParseString(caps, xmlconf, inXmlData,
if (!(def = virDomainDefParseString(caps, xmlopt, inXmlData,
1 << VIR_DOMAIN_VIRT_LXC,
live ? 0 : VIR_DOMAIN_XML_INACTIVE)))
goto fail;
@@ -102,7 +102,7 @@ mymain(void)
if ((caps = testLXCCapsInit()) == NULL)
return EXIT_FAILURE;
if (!(xmlconf = lxcDomainXMLConfInit()))
if (!(xmlopt = lxcDomainXMLConfInit()))
return EXIT_FAILURE;
# define DO_TEST_FULL(name, is_different, inactive) \
@@ -128,7 +128,7 @@ mymain(void)
DO_TEST("hostdev");
virObjectUnref(caps);
virObjectUnref(xmlconf);
virObjectUnref(xmlopt);
return ret==0 ? EXIT_SUCCESS : EXIT_FAILURE;
}