summaryrefslogtreecommitdiffstats
path: root/server/reds.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2012-08-05 20:43:13 +0300
committerYonit Halperin <yhalperi@redhat.com>2012-08-27 09:13:08 +0300
commita180fc5e0b1efdecc3101fbe04d9478e18a940ec (patch)
tree11d13e6452eda536c61f229060cd255609f8a9a5 /server/reds.h
parentfa9bfd01f182b34ceb8ff30ae730577cd64965cc (diff)
downloadspice-a180fc5e0b1efdecc3101fbe04d9478e18a940ec.tar.gz
spice-a180fc5e0b1efdecc3101fbe04d9478e18a940ec.tar.xz
spice-a180fc5e0b1efdecc3101fbe04d9478e18a940ec.zip
main: restore state from migration data
Also removed old migration leftovers.
Diffstat (limited to 'server/reds.h')
-rw-r--r--server/reds.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/reds.h b/server/reds.h
index e33e5182..f8e8d56c 100644
--- a/server/reds.h
+++ b/server/reds.h
@@ -32,6 +32,7 @@
#include "common/messages.h"
#include "spice.h"
#include "red_channel.h"
+#include "migration_protocol.h"
#define SPICE_GNUC_VISIBLE __attribute__ ((visibility ("default")))
@@ -152,7 +153,8 @@ void reds_release_agent_data_buffer(uint8_t *buf);
void reds_on_main_agent_data(MainChannelClient *mcc, void *message, size_t size);
void reds_on_main_migrate_connected(int seamless); //should be called when all the clients
// are connected to the target
-void reds_on_main_receive_migrate_data(MainMigrateData *data, uint8_t *end);
+int reds_handle_migrate_data(MainChannelClient *mcc,
+ SpiceMigrateDataMain *mig_data, uint32_t size);
void reds_on_main_mouse_mode_request(void *message, size_t size);
/* migration dest side: returns whether it can support seamless migration
* with the given src migration protocol version */