Add RedsState arg to reds_handle_channel_event()

Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Jonathon Jongsma 2015-01-28 09:54:26 -06:00 committed by Frediano Ziglio
parent 3a66b755bd
commit b0b64bea59
3 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ static void main_dispatcher_self_handle_channel_event(
int event,
SpiceChannelEventInfo *info)
{
reds_handle_channel_event(event, info);
reds_handle_channel_event(reds, event, info);
}
static void main_dispatcher_handle_channel_event(void *opaque,

View File

@ -187,7 +187,7 @@ static ChannelSecurityOptions *reds_find_channel_security(RedsState *reds, int i
return now;
}
void reds_handle_channel_event(int event, SpiceChannelEventInfo *info)
void reds_handle_channel_event(RedsState *reds, int event, SpiceChannelEventInfo *info)
{
core->channel_event(event, info);

View File

@ -48,7 +48,7 @@ struct SpiceMigrateState {
};
/* main thread only */
void reds_handle_channel_event(int event, SpiceChannelEventInfo *info);
void reds_handle_channel_event(RedsState *reds, int event, SpiceChannelEventInfo *info);
void reds_disable_mm_time(RedsState *reds);
void reds_enable_mm_time(RedsState *reds);