aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-03-09 18:32:09 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-03-09 18:33:03 +0100
commit7daa81f3aa876acb69a9cb332391dd218ac6838c (patch)
tree308e28f625194d350996e717a56a8189c1ac38de /src
parent6754c347117d8450c11f7ad3931caa7584820cfc (diff)
downloadlibssh-7daa81f3aa876acb69a9cb332391dd218ac6838c.tar.gz
libssh-7daa81f3aa876acb69a9cb332391dd218ac6838c.tar.xz
libssh-7daa81f3aa876acb69a9cb332391dd218ac6838c.zip
doc: Improve the doc of ssh_bind_set_callbacks.
Diffstat (limited to 'src')
-rw-r--r--src/bind.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/bind.c b/src/bind.c
index 7184afae..54dbb23d 100644
--- a/src/bind.c
+++ b/src/bind.c
@@ -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) {