Unexport the function and 'struct qemuMonitorTestCommandReplyTuple' as
they are currently used only in tests/qemumonitortestutils.c
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
}
+struct qemuMonitorTestCommandReplyTuple {
+ const char *command;
+ const char *reply;
+ size_t line; /* line number of @command */
+};
+
+
/**
* qemuMonitorTestProcessFileEntries:
* @inputstr: input file contents (modified)
* The file contains a sequence of JSON commands and reply objects separated by
* empty lines. A command is followed by a reply.
*/
-int
+static int
qemuMonitorTestProcessFileEntries(char *inputstr,
const char *fileName,
struct qemuMonitorTestCommandReplyTuple **items,
qemuMonitorTestGetDomainObj(qemuMonitorTest *test);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(qemuMonitorTest, qemuMonitorTestFree);
-
-struct qemuMonitorTestCommandReplyTuple {
- const char *command;
- const char *reply;
- size_t line; /* line number of @command */
-};
-
-
-int
-qemuMonitorTestProcessFileEntries(char *inputstr,
- const char *fileName,
- struct qemuMonitorTestCommandReplyTuple **items,
- size_t *nitems);