diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-02 21:37:48 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-02 21:37:48 +0000 |
commit | 3b7940d05e573bcccf3b2d69fcab4d6a11cb4c1b (patch) | |
tree | 1f1feeadea0aa3d1d2e15215301caaa8b316376e /include/libssh/libssh.h | |
parent | 2afc8a4f1cf4debd3b7437bc64554a1ab0e45fa9 (diff) | |
download | libssh-3b7940d05e573bcccf3b2d69fcab4d6a11cb4c1b.tar.gz libssh-3b7940d05e573bcccf3b2d69fcab4d6a11cb4c1b.tar.xz libssh-3b7940d05e573bcccf3b2d69fcab4d6a11cb4c1b.zip |
Improve ssh_options_set_auth_callback().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@370 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index e135f32..69bb27e 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -328,16 +328,7 @@ int ssh_options_set_log_function(SSH_OPTIONS *opt, 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); - -/** - * @brief Set the authentication callback. - * - * @param opt The options structure to use. - * @param cb The callback function to use. - * @param userdata A pointer to some user data you can pass to the - * callback. - */ -void ssh_options_set_auth_callback(SSH_OPTIONS *opt, ssh_auth_callback cb, +int ssh_options_set_auth_callback(SSH_OPTIONS *opt, ssh_auth_callback cb, void *userdata); |