diff options
author | Alon Levy <alevy@redhat.com> | 2010-11-08 12:37:46 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-02-07 19:22:44 +0200 |
commit | e655c5d26e7ce7de32586d4d2be48c101e3aa4f3 (patch) | |
tree | f60b4acb2f6c1bd483124d0477b535ec755adcc1 | |
parent | 10692e20cab5f1897748c4f9249823f468d39d51 (diff) | |
download | spice-e655c5d26e7ce7de32586d4d2be48c101e3aa4f3.tar.gz spice-e655c5d26e7ce7de32586d4d2be48c101e3aa4f3.tar.xz spice-e655c5d26e7ce7de32586d4d2be48c101e3aa4f3.zip |
server/red_channel: export red_channel_send
-rw-r--r-- | server/red_channel.c | 2 | ||||
-rw-r--r-- | server/red_channel.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/server/red_channel.c b/server/red_channel.c index 04fc643d..2a7a5ff0 100644 --- a/server/red_channel.c +++ b/server/red_channel.c @@ -462,7 +462,7 @@ void red_channel_init_send_data(RedChannel *channel, uint16_t msg_type, PipeItem } } -static void red_channel_send(RedChannel *channel) +void red_channel_send(RedChannel *channel) { red_peer_handle_outgoing(channel->peer, &channel->outgoing); } diff --git a/server/red_channel.h b/server/red_channel.h index 68de0841..2ee65664 100644 --- a/server/red_channel.h +++ b/server/red_channel.h @@ -242,5 +242,6 @@ void red_channel_pipe_clear(RedChannel *channel); // red_wait_pipe_item_sent // handle_channel_events - this is the only one that was used before, and was in red_channel.c void red_channel_receive(RedChannel *channel); +void red_channel_send(RedChannel *channel); #endif |