From ef5dc6cd2bf5f27230c33dbdcdff3a5fc67ab688 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 6 Jan 2010 21:48:44 +0100 Subject: Add support for async global requests Normally the infamous packet_wait() synchronous call is gone in all SSH2 client code. --- include/libssh/channels.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/libssh/channels.h') diff --git a/include/libssh/channels.h b/include/libssh/channels.h index 5b9fc789..ae45f269 100644 --- a/include/libssh/channels.h +++ b/include/libssh/channels.h @@ -68,6 +68,8 @@ SSH_PACKET_CALLBACK(ssh_packet_channel_open_conf); SSH_PACKET_CALLBACK(ssh_packet_channel_open_fail); SSH_PACKET_CALLBACK(ssh_packet_channel_success); SSH_PACKET_CALLBACK(ssh_packet_channel_failure); +SSH_PACKET_CALLBACK(ssh_request_success); +SSH_PACKET_CALLBACK(ssh_request_denied); ssh_channel channel_new(ssh_session session); int channel_default_bufferize(ssh_channel channel, void *data, int len, -- cgit