server/red_channel: export red_channel_send

This commit is contained in:
Alon Levy 2010-11-08 12:37:46 +02:00
parent 10692e20ca
commit e655c5d26e
2 changed files with 2 additions and 1 deletions

View File

@ -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);
}

View File

@ -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