1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-14 04:18:54 +03:00

server: Added an API entry for the message callback.

Signed-off-by: Andreas Schneider <asn@cynapses.org>
This commit is contained in:
Milo Jhoran
2010-08-08 02:27:51 +02:00
committed by Andreas Schneider
parent e533c3f33b
commit 24b524040b
4 changed files with 12 additions and 9 deletions

View File

@@ -159,7 +159,9 @@ LIBSSH_API int ssh_message_service_reply_success(ssh_message msg);
LIBSSH_API char *ssh_message_service_service(ssh_message msg);
LIBSSH_API void ssh_set_message_callback(ssh_session session,
int(*ssh_message_callback)(ssh_session session, ssh_message msg));
int(*ssh_message_callback)(ssh_session session, ssh_message msg, void *data),
void *data);
LIBSSH_API int ssh_execute_message_callbacks(ssh_session session);
LIBSSH_API char *ssh_message_channel_request_open_originator(ssh_message msg);
LIBSSH_API int ssh_message_channel_request_open_originator_port(ssh_message msg);