Merged the channel_request hdlrs and clean hdlrs

This commit is contained in:
Aris Adamantiadis
2010-01-08 22:14:31 +01:00
parent db3ef37771
commit 12db7c4bc1
4 changed files with 60 additions and 167 deletions

View File

@@ -375,7 +375,6 @@ LIBSSH_API ssh_channel ssh_message_channel_request_open_reply_accept(ssh_message
LIBSSH_API int ssh_message_channel_request_reply_success(ssh_message msg);
LIBSSH_API void ssh_message_free(ssh_message msg);
LIBSSH_API ssh_message ssh_message_get(ssh_session session);
LIBSSH_API ssh_message ssh_message_retrieve(ssh_session session, uint32_t packettype);
LIBSSH_API int ssh_message_subtype(ssh_message msg);
LIBSSH_API int ssh_message_type(ssh_message msg);
LIBSSH_API int ssh_mkdir (const char *pathname, mode_t mode);

View File

@@ -81,7 +81,8 @@ SSH_PACKET_CALLBACK(ssh_packet_channel_open);
SSH_PACKET_CALLBACK(ssh_packet_service_request);
SSH_PACKET_CALLBACK(ssh_packet_userauth_request);
//void message_handle(ssh_session session, uint32_t type);
int message_handle_channel_request(ssh_session session, ssh_channel channel, ssh_buffer packet,
const char *request, uint8_t want_reply);
int ssh_execute_message_callbacks(ssh_session session);
void message_queue(ssh_session session, ssh_message message);