diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-01-06 21:48:44 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-01-06 21:48:44 +0100 |
commit | ef5dc6cd2bf5f27230c33dbdcdff3a5fc67ab688 (patch) | |
tree | e49235003392fb3e7ccbf04f9bbceb2a579e2c2b /libssh/packet.c | |
parent | 84e6aca5c523768653b751d2d770f0fedcbbe0a9 (diff) | |
download | libssh-ef5dc6cd2bf5f27230c33dbdcdff3a5fc67ab688.tar.gz libssh-ef5dc6cd2bf5f27230c33dbdcdff3a5fc67ab688.tar.xz libssh-ef5dc6cd2bf5f27230c33dbdcdff3a5fc67ab688.zip |
Add support for async global requests
Normally the infamous packet_wait() synchronous call
is gone in all SSH2 client code.
Diffstat (limited to 'libssh/packet.c')
-rw-r--r-- | libssh/packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/packet.c b/libssh/packet.c index f88fbe62..4744b014 100644 --- a/libssh/packet.c +++ b/libssh/packet.c @@ -78,8 +78,8 @@ ssh_packet_callback default_packet_handlers[]= { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, //62-79 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, //#define SSH2_MSG_GLOBAL_REQUEST 80 - NULL, //#define SSH2_MSG_REQUEST_SUCCESS 81 - NULL, //#define SSH2_MSG_REQUEST_FAILURE 82 + ssh_request_success, //#define SSH2_MSG_REQUEST_SUCCESS 81 + ssh_request_denied, //#define SSH2_MSG_REQUEST_FAILURE 82 NULL, NULL, NULL, NULL, NULL, NULL, NULL, // 83-89 NULL, //#define SSH2_MSG_CHANNEL_OPEN 90 ssh_packet_channel_open_conf, //#define SSH2_MSG_CHANNEL_OPEN_CONFIRMATION 91 |