summaryrefslogtreecommitdiffstats
path: root/server/main_channel.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2012-08-05 14:35:57 +0300
committerYonit Halperin <yhalperi@redhat.com>2012-08-27 09:13:06 +0300
commitd866114d9087c66b59ec13742bb6beee79f166d6 (patch)
tree11cfe3133929a24452c0f0db8ea848accf37440f /server/main_channel.h
parent157d459d4265e2141095fedc58469545bb0fc2f0 (diff)
downloadspice-d866114d9087c66b59ec13742bb6beee79f166d6.tar.gz
spice-d866114d9087c66b59ec13742bb6beee79f166d6.tar.xz
spice-d866114d9087c66b59ec13742bb6beee79f166d6.zip
main_channel: fix using spice messages enums as pipe items type
A channel pipe item type must start from PIPE_ITEM_TYPE_CHANNEL_BASE. SPICE_MSG_MIGRATE value eq. PIPE_ITEM_TYPE_SET_ACK. Setting a pipe item type to SPICE_MSG_MIGRATE, leads to red_channel handling PIPE_ITEM_TYPE_SET_ACK. Also removed sending SPICE_MSG_MIGRATE. It will be handled in the next patch.
Diffstat (limited to 'server/main_channel.h')
-rw-r--r--server/main_channel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/main_channel.h b/server/main_channel.h
index 8cfe62b5..cc73104c 100644
--- a/server/main_channel.h
+++ b/server/main_channel.h
@@ -82,7 +82,6 @@ void main_channel_push_init(MainChannelClient *mcc, int display_channels_hint,
int current_mouse_mode, int is_client_mouse_allowed, int multi_media_time,
int ram_hint);
void main_channel_push_notify(MainChannel *main_chan, uint8_t *mess, const int mess_len);
-void main_channel_push_migrate(MainChannel *main_chan);
void main_channel_push_multi_media_time(MainChannel *main_chan, int time);
int main_channel_getsockname(MainChannel *main_chan, struct sockaddr *sa, socklen_t *salen);
int main_channel_getpeername(MainChannel *main_chan, struct sockaddr *sa, socklen_t *salen);