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/session.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/libssh/session.h') diff --git a/include/libssh/session.h b/include/libssh/session.h index 64b91d90..dd13e700 100644 --- a/include/libssh/session.h +++ b/include/libssh/session.h @@ -25,6 +25,7 @@ #include "libssh/packet.h" #include "libssh/pcap.h" #include "libssh/auth.h" +#include "libssh/channels.h" typedef struct ssh_kbdint_struct* ssh_kbdint; @@ -82,7 +83,7 @@ struct ssh_session_struct { int dh_handshake_state; enum ssh_auth_service_state_e auth_service_state; enum ssh_auth_state_e auth_state; - + enum ssh_channel_request_state_e global_req_state; ssh_string dh_server_signature; //information used by dh_handshake. KEX server_kex; KEX client_kex; -- cgit