qemumonitortestutils: Unexport 'qemuMonitorTestProcessFileEntries'

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>
This commit is contained in:
Peter Krempa 2024-01-15 15:47:02 +01:00
parent b8d9419e12
commit 29aa1c2f4c
2 changed files with 8 additions and 14 deletions

View File

@ -1036,6 +1036,13 @@ qemuMonitorTestFullAddItem(qemuMonitorTest *test,
}
struct qemuMonitorTestCommandReplyTuple {
const char *command;
const char *reply;
size_t line; /* line number of @command */
};
/**
* qemuMonitorTestProcessFileEntries:
* @inputstr: input file contents (modified)
@ -1048,7 +1055,7 @@ qemuMonitorTestFullAddItem(qemuMonitorTest *test,
* 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,

View File

@ -110,16 +110,3 @@ virDomainObj *
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);