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(a)redhat.com>
---
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