summaryrefslogtreecommitdiffstats
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-02 12:39:49 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-02 12:39:49 +0000
commit0dee53353150b1d535d1eec6d1b61a0e9bf22592 (patch)
treed29567bcc606d95fd06a2a7b3485014a8215aa4d /include/libssh
parent396db49a41444f72cd9635c1b602e667ff7a729a (diff)
downloadlibssh-0dee53353150b1d535d1eec6d1b61a0e9bf22592.tar.gz
libssh-0dee53353150b1d535d1eec6d1b61a0e9bf22592.tar.xz
libssh-0dee53353150b1d535d1eec6d1b61a0e9bf22592.zip
Improve ssh_options_allow_ssh2().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@367 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/libssh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 8115871..9049a78 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -322,7 +322,7 @@ int ssh_options_set_status_callback(SSH_OPTIONS *opt, void (*callback)
(void *arg, float status), void *arg);
int ssh_options_set_timeout(SSH_OPTIONS *opt, long seconds, long usec);
int ssh_options_allow_ssh1(SSH_OPTIONS *opt, int allow);
-void ssh_options_allow_ssh2(SSH_OPTIONS *opt, int allow);
+int ssh_options_allow_ssh2(SSH_OPTIONS *opt, int allow);
void ssh_options_set_dsa_server_key(SSH_OPTIONS *opt, const char *dsakey);
void ssh_options_set_rsa_server_key(SSH_OPTIONS *opt, const char *rsakey);
void ssh_options_set_log_function(SSH_OPTIONS *opt,