[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] ssh_options_set value param outdated


Hi all,

Attached you find the patch to remove the outdated annotations in options.c

Regards,
Till

From cea3216eb7040351f04bca536285a36bf732432c Mon Sep 17 00:00:00 2001
From: Till Wimmer <g4-lisz@xxxxxxxxxxxx>
Date: Tue, 29 Jan 2019 10:21:07 +0100
Subject: [PATCH] Removed outdated param annotations of ssh_options_set()

Signed-off-by: Till Wimmer <g4-lisz@xxxxxxxxxxxx>
---
 src/options.c | 31 -------------------------------
 1 file changed, 31 deletions(-)

diff --git a/src/options.c b/src/options.c
index 23ffd46..33657fd 100644
--- a/src/options.c
+++ b/src/options.c
@@ -350,37 +350,6 @@ int ssh_options_set_algo(ssh_session session,
  *                \n
  *                See the corresponding numbers in libssh.h.
  *
- *              - SSH_OPTIONS_AUTH_CALLBACK:
- *                Set a callback to use your own authentication function
- *                (function pointer).
- *
- *              - SSH_OPTIONS_AUTH_USERDATA:
- *                Set the user data passed to the authentication
- *                function (generic pointer).
- *
- *              - SSH_OPTIONS_LOG_CALLBACK:
- *                Set a callback to use your own logging function
- *                (function pointer).
- *
- *              - SSH_OPTIONS_LOG_USERDATA:
- *                Set the user data passed to the logging function
- *                (generic pointer).
- *
- *              - SSH_OPTIONS_STATUS_CALLBACK:
- *                Set a callback to show connection status in realtime
- *                (function pointer).\n
- *                \n
- *                @code
- *                fn(void *arg, float status)
- *                @endcode
- *                \n
- *                During ssh_connect(), libssh will call the callback
- *                with status from 0.0 to 1.0.
- *
- *              - SSH_OPTIONS_STATUS_ARG:
- *                Set the status argument which should be passed to the
- *                status callback (generic pointer).
- *
  *              - SSH_OPTIONS_CIPHERS_C_S:
  *                Set the symmetric cipher client to server (const char *,
  *                comma-separated list).
-- 
2.7.4


Archive administrator: postmaster@lists.cynapses.org