summaryrefslogtreecommitdiffstats
path: root/server/red-channel.h
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2015-02-06 14:39:39 -0600
committerFabiano FidĂȘncio <fidencio@redhat.com>2015-02-23 23:00:46 +0100
commite49e6e5b8937daf553a615c12925296ef3b68dcb (patch)
tree0b459c415c82101b965ec38345fe8b59705f9902 /server/red-channel.h
parentd4837620ab3a4db4b2aef109872cf1817a2ac0dd (diff)
downloadspice-e49e6e5b8937daf553a615c12925296ef3b68dcb.tar.gz
spice-e49e6e5b8937daf553a615c12925296ef3b68dcb.tar.xz
spice-e49e6e5b8937daf553a615c12925296ef3b68dcb.zip
Add red_channel_get_server()
Instead of poking into the internals of the RedChannel, provide an accessor.
Diffstat (limited to 'server/red-channel.h')
-rw-r--r--server/red-channel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/red-channel.h b/server/red-channel.h
index 681d7e1c..0da742c0 100644
--- a/server/red-channel.h
+++ b/server/red-channel.h
@@ -573,6 +573,7 @@ typedef void (*channel_client_callback)(RedChannelClient *rcc);
typedef void (*channel_client_callback_data)(RedChannelClient *rcc, void *data);
void red_channel_apply_clients(RedChannel *channel, channel_client_callback v);
void red_channel_apply_clients_data(RedChannel *channel, channel_client_callback_data v, void *data);
+RedsState* red_channel_get_server(RedChannel *channel);
struct RedClient {
RedsState *reds;