diff options
author | Alon Levy <alevy@redhat.com> | 2010-11-11 15:51:24 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-03-02 17:27:52 +0200 |
commit | 7a650e96419df8ac231e57f0e5a22b31b7f8808b (patch) | |
tree | cc85aef3d37b213d6800d9502dd84b9566c06ad3 /server/red_channel.h | |
parent | b7dbc14b1c6bcae4edb6859fc811a53abc0805dc (diff) | |
download | spice-7a650e96419df8ac231e57f0e5a22b31b7f8808b.tar.gz spice-7a650e96419df8ac231e57f0e5a22b31b7f8808b.tar.xz spice-7a650e96419df8ac231e57f0e5a22b31b7f8808b.zip |
server/red_channel: add red_channel_all_blocked
Diffstat (limited to 'server/red_channel.h')
-rw-r--r-- | server/red_channel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/red_channel.h b/server/red_channel.h index 61aa788c..96b60952 100644 --- a/server/red_channel.h +++ b/server/red_channel.h @@ -251,6 +251,12 @@ void red_channel_shutdown(RedChannel *channel); int red_channel_get_first_socket(RedChannel *channel); +/* return TRUE if all of the connected clients to this channel are blocked */ +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); + // 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 |