mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-07 12:36:46 +00:00
Add RedsState arg to reds_handle_channel_event()
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
3a66b755bd
commit
b0b64bea59
@ -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,
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user