aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-09-10 11:49:53 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-09-10 12:38:42 +0200
commitc8f48a247808fe9ad8a59774545f527dbea71cfc (patch)
treed53ffa85dda96b08bd9c091057046cbefe98d284 /include/libssh/libssh.h
parent08129002de26ff010d55e4ad4bc93c675a3412be (diff)
downloadlibssh-c8f48a247808fe9ad8a59774545f527dbea71cfc.tar.gz
libssh-c8f48a247808fe9ad8a59774545f527dbea71cfc.tar.xz
libssh-c8f48a247808fe9ad8a59774545f527dbea71cfc.zip
log: Improve the logging function.
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 0a780847..2a8c70f7 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -407,7 +407,12 @@ LIBSSH_API int ssh_init(void);
LIBSSH_API int ssh_is_blocking(ssh_session session);
LIBSSH_API int ssh_is_connected(ssh_session session);
LIBSSH_API int ssh_is_server_known(ssh_session session);
-LIBSSH_API void ssh_log(ssh_session session, int prioriry, const char *format, ...) PRINTF_ATTRIBUTE(3, 4);
+
+/* legacy */
+LIBSSH_API void ssh_log(ssh_session session,
+ int prioriry,
+ const char *format, ...) PRINTF_ATTRIBUTE(3, 4);
+
LIBSSH_API ssh_channel ssh_message_channel_request_open_reply_accept(ssh_message msg);
LIBSSH_API int ssh_message_channel_request_reply_success(ssh_message msg);
LIBSSH_API void ssh_message_free(ssh_message msg);