summaryrefslogtreecommitdiffstats
path: root/server/char_device.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2012-08-02 22:44:12 +0300
committerYonit Halperin <yhalperi@redhat.com>2012-08-27 09:13:02 +0300
commitb0264a5e37b308c8a5b268974aa9936014a9389f (patch)
treeb74d4a7c6fd26a4456d0246e409641417d2b3720 /server/char_device.h
parent520e2cd4f492be3e95b5d070437b3f0db1098d0b (diff)
downloadspice-b0264a5e37b308c8a5b268974aa9936014a9389f.tar.gz
spice-b0264a5e37b308c8a5b268974aa9936014a9389f.tar.xz
spice-b0264a5e37b308c8a5b268974aa9936014a9389f.zip
char device migration: marshall migration data
Diffstat (limited to 'server/char_device.h')
-rw-r--r--server/char_device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/char_device.h b/server/char_device.h
index 9b702198..186b1f1e 100644
--- a/server/char_device.h
+++ b/server/char_device.h
@@ -3,6 +3,7 @@
#include "spice.h"
#include "red_channel.h"
+#include "migration_protocol.h"
/*
* Shared code for char devices, mainly for flow control.
@@ -120,6 +121,10 @@ void spice_char_device_state_destroy(SpiceCharDeviceState *dev);
void *spice_char_device_state_opaque_get(SpiceCharDeviceState *dev);
+/* only one client is supported */
+void spice_char_device_state_migrate_data_marshall(SpiceCharDeviceState *dev,
+ SpiceMarshaller *m);
+void spice_char_device_state_migrate_data_marshall_empty(SpiceMarshaller *m);
/*
* Resets write/read queues, and moves that state to being stopped.