summaryrefslogtreecommitdiffstats
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-02 12:42:45 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-02 12:42:45 +0000
commitda65ee4dbba6539ed92a28b5d6451b8f174ddcb8 (patch)
tree6aeb02d0193224457234d6c320e6769c5a9b8097 /include/libssh/libssh.h
parent0dee53353150b1d535d1eec6d1b61a0e9bf22592 (diff)
downloadlibssh-da65ee4dbba6539ed92a28b5d6451b8f174ddcb8.tar.gz
libssh-da65ee4dbba6539ed92a28b5d6451b8f174ddcb8.tar.xz
libssh-da65ee4dbba6539ed92a28b5d6451b8f174ddcb8.zip
Improve ssh_options_set_log_function().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@368 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 9049a78..94232b9 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -323,10 +323,10 @@ int ssh_options_set_status_callback(SSH_OPTIONS *opt, void (*callback)
int ssh_options_set_timeout(SSH_OPTIONS *opt, long seconds, long usec);
int ssh_options_allow_ssh1(SSH_OPTIONS *opt, int allow);
int ssh_options_allow_ssh2(SSH_OPTIONS *opt, int allow);
+int ssh_options_set_log_function(SSH_OPTIONS *opt,
+ void (*callback)(const char *message, SSH_SESSION *session, 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);
-void ssh_options_set_log_function(SSH_OPTIONS *opt,
- void (*callback)(const char *message, SSH_SESSION *session, int verbosity ));
void ssh_options_set_log_verbosity(SSH_OPTIONS *opt, int verbosity);
/**