messages: Make ssh_message_queue() static
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Этот коммит содержится в:
родитель
7e6b540277
Коммит
ca425ebe67
@ -101,7 +101,6 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_request);
|
|||||||
|
|
||||||
int ssh_message_handle_channel_request(ssh_session session, ssh_channel channel, ssh_buffer packet,
|
int ssh_message_handle_channel_request(ssh_session session, ssh_channel channel, ssh_buffer packet,
|
||||||
const char *request, uint8_t want_reply);
|
const char *request, uint8_t want_reply);
|
||||||
void ssh_message_queue(ssh_session session, ssh_message message);
|
|
||||||
ssh_message ssh_message_pop_head(ssh_session session);
|
ssh_message ssh_message_pop_head(ssh_session session);
|
||||||
int ssh_message_channel_request_open_reply_accept_channel(ssh_message msg, ssh_channel chan);
|
int ssh_message_channel_request_open_reply_accept_channel(ssh_message msg, ssh_channel chan);
|
||||||
|
|
||||||
|
@ -408,7 +408,8 @@ static int ssh_execute_message_callback(ssh_session session, ssh_message msg) {
|
|||||||
*
|
*
|
||||||
* @param[in] message The message to add to the queue.
|
* @param[in] message The message to add to the queue.
|
||||||
*/
|
*/
|
||||||
void ssh_message_queue(ssh_session session, ssh_message message){
|
static void ssh_message_queue(ssh_session session, ssh_message message)
|
||||||
|
{
|
||||||
if (message != NULL) {
|
if (message != NULL) {
|
||||||
#ifdef WITH_SERVER
|
#ifdef WITH_SERVER
|
||||||
int ret;
|
int ret;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user