summaryrefslogtreecommitdiffstats
path: root/server/red_channel.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-11 16:42:24 +0200
committerAlon Levy <alevy@redhat.com>2011-03-02 17:27:52 +0200
commit88db43879be888bfc2841bb5edab85b194bee79b (patch)
treeabe676b0565f5d1d806016ccd6c240d4b0d725ab /server/red_channel.h
parent7a650e96419df8ac231e57f0e5a22b31b7f8808b (diff)
downloadspice-88db43879be888bfc2841bb5edab85b194bee79b.tar.gz
spice-88db43879be888bfc2841bb5edab85b194bee79b.tar.xz
spice-88db43879be888bfc2841bb5edab85b194bee79b.zip
server/red_channel: add red_channel_send_message_pending
Diffstat (limited to 'server/red_channel.h')
-rw-r--r--server/red_channel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/red_channel.h b/server/red_channel.h
index 96b60952..ce8ef20a 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -257,6 +257,9 @@ int red_channel_all_blocked(RedChannel *channel);
/* return TRUE if any of the connected clients to this channel are blocked */
int red_channel_any_blocked(RedChannel *channel);
+/* helper for channels that have complex logic that can possibly ready a send */
+int red_channel_send_message_pending(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