diff options
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); |