diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-09-10 11:49:53 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-09-10 12:38:42 +0200 |
commit | c8f48a247808fe9ad8a59774545f527dbea71cfc (patch) | |
tree | d53ffa85dda96b08bd9c091057046cbefe98d284 /include/libssh/libssh.h | |
parent | 08129002de26ff010d55e4ad4bc93c675a3412be (diff) | |
download | libssh-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.h | 7 |
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); |