summaryrefslogtreecommitdiffstats
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-09-22 12:27:28 +0200
committerAndreas Schneider <mail@cynapses.org>2009-09-22 12:28:07 +0200
commit7de3122b423487c3f2127f0b0a44ed7c6735fbff (patch)
tree8b38f2a833e09789f4795c3aed6aba6a0a88af5a /include/libssh/priv.h
parent88f4e9ea24257bfdce511272a65a8d0f7eab8b35 (diff)
downloadlibssh-7de3122b423487c3f2127f0b0a44ed7c6735fbff.tar.gz
libssh-7de3122b423487c3f2127f0b0a44ed7c6735fbff.tar.xz
libssh-7de3122b423487c3f2127f0b0a44ed7c6735fbff.zip
Added a userdata generic pointer to the log callback function.
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r--include/libssh/priv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index e103ce9..1d5414b 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -296,7 +296,8 @@ struct ssh_options_struct {
char *dsakey;
char *rsakey; /* host key for server implementation */
int log_verbosity;
- void (*log_function)(const char *message, SSH_SESSION *session, int verbosity); //log callback
+ ssh_log_callback log_function; //log callback
+ void *log_userdata;
};
typedef struct ssh_crypto_struct {