diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-03 07:47:50 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-03 07:47:50 +0000 |
commit | 4db7fc77ff1fd2768bec59892098007821f5802d (patch) | |
tree | 1347b20451c4733de5721a5958d43a4eefa34b31 /include/libssh/libssh.h | |
parent | 3b7940d05e573bcccf3b2d69fcab4d6a11cb4c1b (diff) | |
download | libssh-4db7fc77ff1fd2768bec59892098007821f5802d.tar.gz libssh-4db7fc77ff1fd2768bec59892098007821f5802d.tar.xz libssh-4db7fc77ff1fd2768bec59892098007821f5802d.zip |
Improve and document ssh_options_set_[dsa,rsa]_server_key().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@371 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 69bb27e..26527e9 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -326,8 +326,8 @@ int ssh_options_allow_ssh2(SSH_OPTIONS *opt, int allow); int ssh_options_set_log_function(SSH_OPTIONS *opt, void (*callback)(const char *message, SSH_SESSION *session, int verbosity)); int ssh_options_set_log_verbosity(SSH_OPTIONS *opt, int verbosity); -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); +int ssh_options_set_dsa_server_key(SSH_OPTIONS *opt, const char *dsakey); +int ssh_options_set_rsa_server_key(SSH_OPTIONS *opt, const char *rsakey); int ssh_options_set_auth_callback(SSH_OPTIONS *opt, ssh_auth_callback cb, void *userdata); |