diff options
| author | Andreas Schneider <asn@cryptomilk.org> | 2011-03-09 18:32:09 +0100 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2011-03-09 18:33:49 +0100 |
| commit | cd9fc88151fb66225297ec3a278a2d9756544b38 (patch) | |
| tree | e785c95b1810104ac1b4906aa9f6f22c228fb312 /src | |
| parent | fbe0f37e1baed6ea636b86ade105bd5ca1ca79ee (diff) | |
| download | libssh-cd9fc88151fb66225297ec3a278a2d9756544b38.tar.gz libssh-cd9fc88151fb66225297ec3a278a2d9756544b38.tar.xz libssh-cd9fc88151fb66225297ec3a278a2d9756544b38.zip | |
doc: Improve the doc of ssh_bind_set_callbacks.
(cherry picked from commit 7daa81f3aa876acb69a9cb332391dd218ac6838c)
Diffstat (limited to 'src')
| -rw-r--r-- | src/bind.c | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -186,25 +186,6 @@ int ssh_bind_listen(ssh_bind sshbind) { return 0; } -/** - * @brief set the bind callbacks for ssh_bind - * @code - * struct ssh_callbacks_struct cb = { - * .userdata = data, - * .auth_function = my_auth_function - * }; - * ssh_callbacks_init(&cb); - * ssh_set_callbacks(session, &cb); - * @endcode - * @param sshbind the ssh_bind structure to set - * @param callbacks a ssh_bind_callbacks instance already set up. Do - * use ssh_callbacks_init() to initialize it. - * @param userdata userdata to be used with each callback called - * within callbacks. - * @returns SSH_OK on success, - * SSH_ERROR on error. - */ - int ssh_bind_set_callbacks(ssh_bind sshbind, ssh_bind_callbacks callbacks, void *userdata){ if (sshbind == NULL) { |
