diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-01-24 21:03:03 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-01-24 21:03:03 +0100 |
commit | 758df265822928744ab20cec8e4929236b6b41e9 (patch) | |
tree | 42e10f836c0fbc57fb771f765caf616a69967777 /include/libssh/priv.h | |
parent | 6ae558b5410c0ebec6d9e3147e3b6eb6f0430f72 (diff) | |
download | libssh-758df265822928744ab20cec8e4929236b6b41e9.tar.gz libssh-758df265822928744ab20cec8e4929236b6b41e9.tar.xz libssh-758df265822928744ab20cec8e4929236b6b41e9.zip |
Made parts of SSH asynchronous (inc kex1)
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r-- | include/libssh/priv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 4b4aeba7..122dc129 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -191,6 +191,7 @@ int ssh_userauth1_offer_pubkey(ssh_session session, const char *username, int ssh_userauth1_password(ssh_session session, const char *username, const char *password); +#ifdef WITH_SSH1 /* channels1.c */ int channel_open_session1(ssh_channel channel); int channel_request_pty_size1(ssh_channel channel, const char *terminal, @@ -198,9 +199,9 @@ int channel_request_pty_size1(ssh_channel channel, const char *terminal, int channel_change_pty_size1(ssh_channel channel, int cols, int rows); int channel_request_shell1(ssh_channel channel); int channel_request_exec1(ssh_channel channel, const char *cmd); -int channel_handle1(ssh_session session, int type); int channel_write1(ssh_channel channel, const void *data, int len); +#endif /* match.c */ int match_hostname(const char *host, const char *pattern, unsigned int len); |