mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
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:
parent
b8d9419e12
commit
29aa1c2f4c
@ -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,
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user