summaryrefslogtreecommitdiffstats
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
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 {