mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-09 01:06:58 +00:00
server: use more const CoreInterface
This commit is contained in:
parent
e3187ebd29
commit
3da1e1ed0c
@ -1022,7 +1022,7 @@ void red_channel_client_default_migrate(RedChannelClient *rcc)
|
||||
}
|
||||
|
||||
RedChannel *red_channel_create(int size,
|
||||
SpiceCoreInterface *core,
|
||||
const SpiceCoreInterface *core,
|
||||
uint32_t type, uint32_t id,
|
||||
int handle_acks,
|
||||
channel_handle_message_proc handle_message,
|
||||
@ -1137,7 +1137,7 @@ static int do_nothing_handle_message(RedChannelClient *rcc,
|
||||
}
|
||||
|
||||
RedChannel *red_channel_create_parser(int size,
|
||||
SpiceCoreInterface *core,
|
||||
const SpiceCoreInterface *core,
|
||||
uint32_t type, uint32_t id,
|
||||
int handle_acks,
|
||||
spice_parse_channel_func_t parser,
|
||||
|
||||
@ -308,7 +308,7 @@ struct RedChannel {
|
||||
|
||||
RingItem link; // channels link for reds
|
||||
|
||||
SpiceCoreInterface *core;
|
||||
const SpiceCoreInterface *core;
|
||||
int handle_acks;
|
||||
|
||||
// RedChannel will hold only connected channel clients (logic - when pushing pipe item to all channel clients, there
|
||||
@ -353,7 +353,7 @@ struct RedChannel {
|
||||
/* if one of the callbacks should cause disconnect, use red_channel_shutdown and don't
|
||||
* explicitly destroy the channel */
|
||||
RedChannel *red_channel_create(int size,
|
||||
SpiceCoreInterface *core,
|
||||
const SpiceCoreInterface *core,
|
||||
uint32_t type, uint32_t id,
|
||||
int handle_acks,
|
||||
channel_handle_message_proc handle_message,
|
||||
@ -363,7 +363,7 @@ RedChannel *red_channel_create(int size,
|
||||
/* alternative constructor, meant for marshaller based (inputs,main) channels,
|
||||
* will become default eventually */
|
||||
RedChannel *red_channel_create_parser(int size,
|
||||
SpiceCoreInterface *core,
|
||||
const SpiceCoreInterface *core,
|
||||
uint32_t type, uint32_t id,
|
||||
int handle_acks,
|
||||
spice_parse_channel_func_t parser,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user