summaryrefslogtreecommitdiff
path: root/server/red-channel.h
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2016-01-07 17:19:21 +0000
committerFrediano Ziglio <fziglio@redhat.com>2016-01-11 16:29:53 +0000
commitadc0751950baf8b331881799ad1edd6380962081 (patch)
treee1279f2b7ddd2b9060a391515a23a77a0dc2c1ab /server/red-channel.h
parent26c7e33de36cd4e6fe065b70d96705fba8bd3141 (diff)
channel: add a new internal SpiceCoreInterface
Define an internal structure that matches 100% the ABI of the public one. The structure will be changed by following patches. See comments in "channel: add interface parameters to SpiceCoreInterfaceInternal" patch. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
Diffstat (limited to 'server/red-channel.h')
-rw-r--r--server/red-channel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/red-channel.h b/server/red-channel.h
index c5784e65..791bc5b5 100644
--- a/server/red-channel.h
+++ b/server/red-channel.h
@@ -311,7 +311,7 @@ struct RedChannel {
RingItem link; // channels link for reds
- const SpiceCoreInterface *core;
+ const SpiceCoreInterfaceInternal *core;
int handle_acks;
// RedChannel will hold only connected channel clients (logic - when pushing pipe item to all channel clients, there
@@ -359,7 +359,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,
- const SpiceCoreInterface *core,
+ const SpiceCoreInterfaceInternal *core,
uint32_t type, uint32_t id,
int handle_acks,
channel_handle_message_proc handle_message,
@@ -369,7 +369,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,
- const SpiceCoreInterface *core,
+ const SpiceCoreInterfaceInternal *core,
uint32_t type, uint32_t id,
int handle_acks,
spice_parse_channel_func_t parser,