summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2011-01-21 14:20:19 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2011-01-21 19:04:48 +0100
commit02f77bd7d773cfa36be563025bb08523bfca7ec7 (patch)
tree104b15ae5758c36c6838d044998a118ffb9ded85 /gtk
parent0473b5c7b41586374e1f39691982e3daf0dde26b (diff)
gtk: order to clarify what is swapped on migration
Diffstat (limited to 'gtk')
-rw-r--r--gtk/spice-channel-priv.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/gtk/spice-channel-priv.h b/gtk/spice-channel-priv.h
index a183667..c49526c 100644
--- a/gtk/spice-channel-priv.h
+++ b/gtk/spice-channel-priv.h
@@ -61,12 +61,17 @@ enum spice_channel_state {
};
struct spice_channel {
+ /* swapped on migration */
+ SSL_CTX *ctx;
+ SSL *ssl;
+ GSocket *sock;
+
+ /* not swapped */
SpiceSession *session;
struct coroutine coroutine;
- guint connect_delayed_id;
- GSocket *sock;
int fd;
gboolean has_error;
+ guint connect_delayed_id;
int wait_interruptable;
struct wait_queue wait;
@@ -79,8 +84,6 @@ struct spice_channel {
spice_parse_channel_func_t parser;
SpiceMessageMarshallers *marshallers;
guint channel_watch;
- SSL_CTX *ctx;
- SSL *ssl;
int tls;
int connection_id;