Re: [PATCH 03/11] qemu: qapi: Fix naming of moved functions

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

 



On Thu, Mar 22, 2018 at 07:31:40PM +0100, Peter Krempa wrote:
Change the prefix of the functions to 'virQEMUQapi' and rename the two

Please, virQEMUQAPI

public APIs so that the verb is put last.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
src/qemu/qemu_capabilities.c |  4 ++--
src/qemu/qemu_qapi.c         | 36 ++++++++++++++++++------------------
src/qemu/qemu_qapi.h         | 10 +++++-----
3 files changed, 25 insertions(+), 25 deletions(-)


@@ -94,11 +94,11 @@ virQEMUCapsQMPSchemaTraverse(const char *baseName,
            continue;
        } else if (STREQ(metatype, "object")) {
            if (**query == '+')
-                baseName = virQEMUCapsQMPSchemaObjectGetType("variants",
+                baseName = virQEMUQapiSchemaObjectGetType("variants",
                                                             *query + 1,
                                                             "case", base);
            else
-                baseName = virQEMUCapsQMPSchemaObjectGetType("members",
+                baseName = virQEMUQapiSchemaObjectGetType("members",
                                                             *query,
                                                             "name", base);


Indentation is off here.

ACK

Jan

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux