summaryrefslogtreecommitdiffstats
path: root/server/red_channel.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-11 11:05:01 +0200
committerAlon Levy <alevy@redhat.com>2011-03-02 17:27:52 +0200
commit17d57613225fe3520b42aaddbab4b5252b9c8b3b (patch)
tree5cefacb39e7a9b84fba2633a0b5c0d035902c881 /server/red_channel.h
parent8cd5568c92384490ec20f898d2d8c12009b6bf47 (diff)
downloadspice-17d57613225fe3520b42aaddbab4b5252b9c8b3b.tar.gz
spice-17d57613225fe3520b42aaddbab4b5252b9c8b3b.tar.xz
spice-17d57613225fe3520b42aaddbab4b5252b9c8b3b.zip
server/red_channel: add red_channel_get_first_socket
Use in main_channel. This is just for backward portability later when multiple clients are introduced - needs to be considered (which sockets do we want to export from libspiceserver?)
Diffstat (limited to 'server/red_channel.h')
-rw-r--r--server/red_channel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/red_channel.h b/server/red_channel.h
index d0f7fb79..9d13dd73 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -249,6 +249,8 @@ void red_channel_push_set_ack(RedChannel *channel);
void red_channel_shutdown(RedChannel *channel);
+int red_channel_get_first_socket(RedChannel *channel);
+
// TODO: unstaticed for display/cursor channels. they do some specific pushes not through
// adding elements or on events. but not sure if this is actually required (only result
// should be that they ""try"" a little harder, but if the event system is correct it