]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Make qemuMonitorJSONIOProcessLine available for tests
authorJiri Denemark <jdenemar@redhat.com>
Wed, 27 Apr 2016 14:50:43 +0000 (16:50 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 5 May 2016 08:01:55 +0000 (10:01 +0200)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h

index 51fa79061648f01504c88b5ca571df52772045bf..ce2f90809507e85fb3802c9d65991c0415337dd0 100644 (file)
@@ -180,7 +180,7 @@ qemuMonitorJSONIOProcessEvent(qemuMonitorPtr mon,
     return 0;
 }
 
-static int
+int
 qemuMonitorJSONIOProcessLine(qemuMonitorPtr mon,
                              const char *line,
                              qemuMonitorMessagePtr msg)
index b7aff73eb319d9edc41669a512292827ec9878d8..b207e3c21d2a9ae845e6592f222fd9c409507cfd 100644 (file)
 # include "cpu/cpu.h"
 # include "util/virgic.h"
 
+int qemuMonitorJSONIOProcessLine(qemuMonitorPtr mon,
+                                 const char *line,
+                                 qemuMonitorMessagePtr msg);
+
 int qemuMonitorJSONIOProcess(qemuMonitorPtr mon,
                              const char *data,
                              size_t len,