From 7daa81f3aa876acb69a9cb332391dd218ac6838c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 9 Mar 2011 18:32:09 +0100 Subject: doc: Improve the doc of ssh_bind_set_callbacks. --- src/bind.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src') diff --git a/src/bind.c b/src/bind.c index 7184afa..54dbb23 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) { -- cgit