diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-02 12:04:56 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-02 12:04:56 +0000 |
commit | 5ba2acde0aa899db94cdf18bf0a0d32071e58405 (patch) | |
tree | cde6ff890c19ac82ec7157a0b11283ec0021bdc2 /include/libssh/libssh.h | |
parent | 9ea6ea581d655d81d40efc7c678e8e1f036d533d (diff) | |
download | libssh-5ba2acde0aa899db94cdf18bf0a0d32071e58405.tar.gz libssh-5ba2acde0aa899db94cdf18bf0a0d32071e58405.tar.xz libssh-5ba2acde0aa899db94cdf18bf0a0d32071e58405.zip |
Improve ssh_options_set_known_hosts_file().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@355 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index e89307b2..2928ddf5 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -319,7 +319,7 @@ void ssh_options_set_status_callback(SSH_OPTIONS *opt, void (*callback) (void *arg, float status), void *arg); void ssh_options_set_timeout(SSH_OPTIONS *opt, long seconds, long usec); int ssh_options_set_ssh_dir(SSH_OPTIONS *opt, const char *dir); -void ssh_options_set_known_hosts_file(SSH_OPTIONS *opt, const char *dir); +int ssh_options_set_known_hosts_file(SSH_OPTIONS *opt, const char *dir); void ssh_options_allow_ssh1(SSH_OPTIONS *opt, int allow); void ssh_options_allow_ssh2(SSH_OPTIONS *opt, int allow); void ssh_options_set_dsa_server_key(SSH_OPTIONS *opt, const char *dsakey); |