[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 03/17] virsh-pool: Rename helper function buildPoolXML to vshBuildPoolXML



---
 tools/virsh-pool.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/virsh-pool.c b/tools/virsh-pool.c
index cb9866f..bc400a1 100644
--- a/tools/virsh-pool.c
+++ b/tools/virsh-pool.c
@@ -226,7 +226,7 @@ static const vshCmdOptDef opts_pool_X_as[] = {
     {.name = NULL}
 };

-static int buildPoolXML(const vshCmd *cmd, const char **retname, char **xml) {
+static int vshBuildPoolXML(const vshCmd *cmd, const char **retname, char **xml) {

     const char *name = NULL, *type = NULL, *srcHost = NULL, *srcPath = NULL,
                *srcDev = NULL, *srcName = NULL, *srcFormat = NULL, *target = NULL;
@@ -303,7 +303,7 @@ cmdPoolCreateAs(vshControl *ctl, const vshCmd *cmd)
     char *xml;
     bool printXML = vshCommandOptBool(cmd, "print-xml");

-    if (!buildPoolXML(cmd, &name, &xml))
+    if (!vshBuildPoolXML(cmd, &name, &xml))
         return false;

     if (printXML) {
@@ -387,7 +387,7 @@ cmdPoolDefineAs(vshControl *ctl, const vshCmd *cmd)
     char *xml;
     bool printXML = vshCommandOptBool(cmd, "print-xml");

-    if (!buildPoolXML(cmd, &name, &xml))
+    if (!vshBuildPoolXML(cmd, &name, &xml))
         return false;

     if (printXML) {
-- 
1.8.1.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]