aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-14 12:12:29 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-14 12:37:12 +0200
commitdcd94de076eb8d68885eda4210a69e3716cb95b5 (patch)
treed1872870f95e7c9bcc79f16d60beb3e5c6e2c781 /include
parenta73557053e7a75f9cbb0840421ac3c386cc05321 (diff)
downloadlibssh-dcd94de076eb8d68885eda4210a69e3716cb95b5.tar.gz
libssh-dcd94de076eb8d68885eda4210a69e3716cb95b5.tar.xz
libssh-dcd94de076eb8d68885eda4210a69e3716cb95b5.zip
error: Use new logging function.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/priv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 35a6e4f3..15855ff8 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -152,6 +152,10 @@ struct ssh_kex_struct;
int ssh_get_key_params(ssh_session session, ssh_key *privkey);
/* LOGGING */
+void ssh_log_function(int verbosity,
+ const char *function,
+ const char *buffer);
+
void _ssh_log(int verbosity,
const char *function,
const char *format, ...) PRINTF_ATTRIBUTE(3, 4);